CVE-2024-21494
MEDIUMgreenpau/caddy-security - Authentication Bypass via X-Forwarded-For Header Spoofing
Title source: llmDescription
All versions of the package github.com/greenpau/caddy-security are vulnerable to Authentication Bypass by Spoofing via the X-Forwarded-For header due to improper input sanitization. An attacker can spoof an IP address used in the user identity module (/whoami API endpoint). This could lead to unauthorized access if the system trusts this spoofed IP address.
References (3)
Core 3
Core References
Third Party Advisory
https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/
Issue Tracking
https://github.com/greenpau/caddy-security/issues/266
Third Party Advisory
https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-6249859
Scores
CVSS v3
5.4
EPSS
0.0052
EPSS Percentile
40.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-290
CWE-79
Status
published
Products (2)
greenpau/caddy-security
greenpau/caddy-security
0Go
Published
Feb 17, 2024
Tracked Since
Feb 18, 2026