Skip to content

CVE-2024-21494 Authentication Bypass by Spoofing in github.com/greenpau/caddy-security

MediumCVSS 5.4 EPSS 0.52%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 0 fixed, 1 partially fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
github.comgreenpaucaddy-security All versions No fix listed No fix yet
greenpau github.com/greenpau/caddy-security All versions No fix listed No fix yet
greenpau github.com/greenpau/caddy-security(Go) <= 1.1.23; All versions after 1.1.23 Partially fixed

Affected products

ProductAffected versionsFixed in
greenpau github.com/greenpau/caddy-security(Go) <= 1.1.23 No fix listed
greenpau github.com/greenpau/caddy-security(Go) All versions No fix listed
github.comgreenpaucaddy-security All versions No fix listed
greenpau github.com/greenpau/caddy-security All versions No fix listed

References