Advisory

GHSA-vj36-3ccr-6563

Also known as: CVE-2024-21494, GO-2024-2558

Summary

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

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-02-17 06:30 UTC
Modified
2024-06-28 15:58 UTC

Affected packages and fixes

github.com/greenpau/caddy-security

Go · All systems

Affected

  • introduced 0, last affected 1.1.23 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences