The caddy-geo-ip (aka GeoIP) middleware through 0.6.0 for Caddy 2, when trustheader 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 (trustedproxy directive in reverse_proxy or IP address range restrictions).
{ "nvd_published_at": "2023-12-10T23:15:07Z", "cwe_ids": [ "CWE-290" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2023-12-11T21:46:50Z" }