In short
- CVE-2024-21494 is a MEDIUM (CVSS 5.4) vulnerability affecting github.com/greenpau/caddy-security.
- Chance of exploitation in the next 30 days (EPSS): 0.52%, higher than 44.3% of all vulnerabilities.
- No patched version is listed yet: follow the vendor's advisory in References.
Description
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.
NVD description
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.
More vulnerabilities in github.com/greenpau/caddy-security
See all →Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free