CVE-2024-21496Authcrunch Caddy-security
Media 6.1 Sin autenticación
Seguir: esta CVE · Authcrunch · Authcrunch Caddy-security Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.8% probabilidad de explotación en 30 días · percentil 52
- Requiere autenticación
- No
- Publicada
- 17 feb 2024
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-79
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Qué pasa
All versions of the package github.com/greenpau/caddy-security are vulnerable to Cross-site Scripting (XSS) via the Referer header, due to improper input sanitization. Although the Referer header is sanitized by escaping some characters that can allow XSS (e.g., [&], [<], [>], ["], [']), it does not account for the attack based on the JavaScript URL scheme (e.g., javascript:alert(document.domain)// payload). Exploiting this vulnerability may not be trivial, but it could lead to the execution of malicious scripts in the context of the target user’s browser, compromising user sessions.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Caddy-security.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Go | github.com/greenpau/caddy-security |
≤ 1.1.23 |
sin versión corregida | — |
| Go | github.com/greenpau/caddy-security |
todas |
sin versión corregida | — |
Según OSV / GitHub Advisories (GHSA-ff72-ff42-c3gw, GO-2024-2559). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| authcrunch | caddy-security | todas |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- blog.trailofbits.com Exploit Third Party Advisory
- github.com Exploit Issue Tracking
- security.snyk.io Third Party Advisory