Description (CNA)
Coder before 2.29.17, 2.30.0 before 2.32.7, 2.33.0 before 2.33.8, and 2.34.0 before 2.34.2 contains a user enumeration vulnerability because userpassword.Compare() substitutes a placeholder hash derived from the string "hunter2" when a stored password hash is empty. Unauthenticated attackers can submit logins with the password "hunter2" and distinguish HTTP 403 from 401 responses to enumerate valid accounts and reveal the authentication provider of SSO-only users.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| coder / coder | affected 2.34.0 before 2.34.2; unaffected 2.34.2 |
| coder / coder | affected 2.33.0 before 2.33.8; unaffected 2.33.8 |
| coder / coder | affected 2.30.0 before 2.32.7; unaffected 2.32.7 |
| coder / coder | affected 0 before 2.29.17; unaffected 2.29.17 |
CWE
CWE-203
References
- https://github.com/coder/coder/security/advisories/GHSA-8fxq-53rx-ph5f
- https://www.vulncheck.com/advisories/coder-before-2.34.2-user-enumeration-via-login-placeholder-hash
ADP enrichment
No English description supplied.
No references supplied.