lightwalletd icon indicating copy to clipboard operation
lightwalletd copied to clipboard

Internal-Security Finding #1: Logging Identifiable User Information

Open defuse opened this issue 6 years ago • 1 comments

It looks like the code logs light clients' IP addresses when they make API requests, e.g. here. Logging this information makes it vulnerable to theft when the lightwalletd server gets hacked in the future. Close this by only logging minimal amount of information and/or make logging off-by-default.

defuse avatar Apr 08 '19 18:04 defuse

Deployers may reasonably want some affordance for rate-limiting, though. One solution is a structure-preserving anonymization like cryptoPAN.

There's an implementation by Yawning at https://github.com/Yawning/cryptopan, but I haven't audited it and suspect even they would advise we could redo it faster/better now.

gtank avatar Jul 10 '19 18:07 gtank