Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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