GitHub Advisoryadvisory · Go
GHSA-rxg9-hgq7-8pwx Header spoofing in caddy-geo-ip
MEDIUM
Official page ↗
- Aliases
- CVE-2023-50463
- Ecosystem
- Go
- Packages
- github.com/shift72/caddy-geo-ip
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-290
- Reviewed
- 2023-12-11
Affected packages
• Go github.com/shift72/caddy-geo-ip: <= 0.6.0 (no fix yet)
Description
The caddy-geo-ip (aka GeoIP) middleware through 0.6.0 for Caddy 2, when trust_header X-Forwarded-For is used, allows attackers to spoof their source IP address via an X-Forwarded-For header, which may bypass a protection mechanism (trusted_proxy directive in reverse_proxy or IP address range restrictions).
Related
Alias · CVE (1)
- CVE-2023-50463 The caddy-geo-ip (aka GeoIP) middleware through 0.6.0 for Caddy 2, when trust_header X-Forwarded-For is used, allows attackers to spoof… vulnerability
Weakness · CWE (1)
- CWE-290 Authentication Bypass by Spoofing weakness