2024-02-20 21:00:35 +00:00

67 lines
2.4 KiB
JSON

{
"id": "CVE-2024-21494",
"sourceIdentifier": "report@snyk.io",
"published": "2024-02-17T05:15:09.077",
"lastModified": "2024-02-20T19:50:53.960",
"vulnStatus": "Awaiting Analysis",
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "Todas las versiones del paquete github.com/greenpau/caddy-security son vulnerables a la omisi\u00f3n de autenticaci\u00f3n mediante suplantaci\u00f3n de identidad a trav\u00e9s del encabezado X-Forwarded-For debido a una sanitizaci\u00f3n de entrada inadecuada. Un atacante puede falsificar una direcci\u00f3n IP utilizada en el m\u00f3dulo de identidad del usuario (endpoint API/whoami). Esto podr\u00eda dar lugar a un acceso no autorizado si el sistema conf\u00eda en esta direcci\u00f3n IP falsificada."
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "report@snyk.io",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "REQUIRED",
"scope": "UNCHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"availabilityImpact": "NONE",
"baseScore": 5.4,
"baseSeverity": "MEDIUM"
},
"exploitabilityScore": 2.8,
"impactScore": 2.5
}
]
},
"weaknesses": [
{
"source": "report@snyk.io",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-290"
}
]
}
],
"references": [
{
"url": "https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/",
"source": "report@snyk.io"
},
{
"url": "https://github.com/greenpau/caddy-security/issues/266",
"source": "report@snyk.io"
},
{
"url": "https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-6249859",
"source": "report@snyk.io"
}
]
}