[MEDIUM] Paste password accepted via GET ?password= query string leaks it into logs and history #141
Notifications
Total Time Spent: 35 minutes
fen
35 minutes
No due date set.
Dependencies
No dependencies set.
Reference: poslop/palette#141
Reference in New Issue
Block a user
handleGetPaste accepts the password via ?password= (and X-Paste-Password header). Query strings are captured by Traefik access logs and browser history. The unlock limiter (#81) prevents brute force, but the secret itself is exposed to anyone with log access. Consider dropping the query-param path or documenting it as unsafe.
Repro
Found during exploratory security/bug pass on palette-dev (2026-09-09). Reporting only, no fix attached.
Fixed in PR #150: ?password= is no longer accepted on paste/can reads (repro now returns 401); the X-Paste-Password header and POST unlock form still work, re-verified 200. Log: 30m.