CVE-2023-50463 Header spoofing in caddy-geo-ip
MediumCVSS 6.5
EPSS 0.66%
- Published
- Updated
- Exploit status
- No public exploit known
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).
Upgrade path
2 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| shift72 github.com/shift72/caddy-geo-ip(Go) | <= 0.6.0; All versions | after 0.6.0 | Partially fixed |
| caddyserver github.com/caddyserver/caddy | <= 0.6.0 | after 0.6.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| shift72 github.com/shift72/caddy-geo-ip(Go) | <= 0.6.0 | No fix listed |
| shift72 github.com/shift72/caddy-geo-ip(Go) | All versions | No fix listed |
| caddyserver github.com/caddyserver/caddy | <= 0.6.0 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking third-party-advisory
- caddyserver.com broken-link
- github.com release-notes
- github.com