Description
Gophish through 0.12.1 contains a timing discrepancy vulnerability in AdminServer.Login that allows unauthenticated attackers to enumerate valid usernames by measuring login response times. Attackers can submit candidate usernames to POST /login and detect bcrypt comparison delays for existing accounts, narrowing targets for password guessing or credential stuffing.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| gophish | gophish | ≤ 0.12.1 | — |
References
- Researcher Disclosure technical-description exploit
- https://github.com/gophish/gophish/blob/b1648f0759c6d57ac989157c55d8b47c40254fe6/controllers/route.go#L375-L390 technical-description
- https://github.com/gophish/gophish product
- VulnCheck Advisory: Gophish through 0.12.1 Username Enumeration via POST /login Timing Discrepancy third-party-advisory