Lucene search

K
osvGoogleOSV:GHSA-RXG9-HGQ7-8PWX
HistoryDec 11, 2023 - 12:30 a.m.

Header spoofing in caddy-geo-ip

2023-12-1100:30:32
Google
osv.dev
4
caddy-geo-ip
header spoofing
source ip address
x-forwarded-for
trust_header
attackers
protection mechanism

CVSS3

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

AI Score

7

Confidence

Low

EPSS

0.001

Percentile

32.2%

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).

CVSS3

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

AI Score

7

Confidence

Low

EPSS

0.001

Percentile

32.2%

Related for OSV:GHSA-RXG9-HGQ7-8PWX