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).
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/50xxx/CVE-2023-50463.json",
"cna_assigner": "mitre"
}{
"cpe": "cpe:2.3:a:caddyserver:caddy:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "0.6.0"
}
],
"source": "CPE_RANGE"
}