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).
This attack-focused weakness is caused by incorrectly implemented authentication schemes that are subject to spoofing attacks.
Link | Tags |
---|---|
https://github.com/shift72/caddy-geo-ip/issues/4 | third party advisory |
https://github.com/shift72/caddy-geo-ip/tags | release notes |
https://caddyserver.com/v2 | broken link |