PT-2023-31567 · Caddy · Caddy-Geo-Ip
Adryd325
·
Published
2023-12-10
·
Updated
2024-01-02
·
CVE-2023-50463
CVSS v3.1
6.5
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
caddy-geo-ip versions 0.6.0 and earlier for Caddy 2
Description
The issue allows attackers to spoof their source IP address via an X-Forwarded-For header, which may bypass a protection mechanism, such as the trusted proxy directive in reverse proxy or IP address range restrictions, when trust header X-Forwarded-For is used.
Recommendations
For caddy-geo-ip versions 0.6.0 and earlier, consider disabling the trust header X-Forwarded-For until a patch is available to prevent attackers from spoofing their source IP address.
Restrict access to the reverse proxy directive to minimize the risk of exploitation.
Avoid using the X-Forwarded-For header in the affected middleware until the issue is resolved.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Authentication Bypass by Spoofing
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Caddy-Geo-Ip