Description
Coder before 2.34.7 contains an IP spoofing vulnerability in the ExtractRealIPAddress middleware that trusts the leftmost, client-supplied X-Forwarded-For value instead of the client IP appended by a reverse proxy. Attackers can send forged X-Forwarded-For values through appending proxies to bypass per-IP rate limits on login, one-time passcode, and password validation endpoints, enabling brute-force attacks, and to falsify IP addresses recorded in audit logs.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| coder | coder | < 2.34.7 | 2.34.7 |
References
- GitHub Security Advisory (GHSA-vprw-xcrv-287h) vendor-advisory
- VulnCheck Advisory: Coder before 2.34.7 IP Spoofing via X-Forwarded-For Header third-party-advisory