170 lines
6.7 KiB
JSON
170 lines
6.7 KiB
JSON
{
|
||
"dataType": "CVE_RECORD",
|
||
"dataVersion": "5.1",
|
||
"cveMetadata": {
|
||
"cveId": "CVE-2024-21496",
|
||
"assignerOrgId": "bae035ff-b466-4ff4-94d0-fc9efd9e1730",
|
||
"state": "PUBLISHED",
|
||
"assignerShortName": "snyk",
|
||
"dateReserved": "2023-12-22T12:33:20.118Z",
|
||
"datePublished": "2024-02-17T05:00:02.407Z",
|
||
"dateUpdated": "2024-11-06T18:53:52.043Z"
|
||
},
|
||
"containers": {
|
||
"cna": {
|
||
"metrics": [
|
||
{
|
||
"cvssV3_1": {
|
||
"version": "3.1",
|
||
"attackVector": "NETWORK",
|
||
"attackComplexity": "LOW",
|
||
"privilegesRequired": "NONE",
|
||
"userInteraction": "REQUIRED",
|
||
"scope": "CHANGED",
|
||
"confidentialityImpact": "LOW",
|
||
"integrityImpact": "LOW",
|
||
"availabilityImpact": "NONE",
|
||
"baseScore": 6.1,
|
||
"baseSeverity": "MEDIUM",
|
||
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P"
|
||
}
|
||
}
|
||
],
|
||
"credits": [
|
||
{
|
||
"value": "Maciej Domanski",
|
||
"lang": "en"
|
||
},
|
||
{
|
||
"value": "Travis Peters",
|
||
"lang": "en"
|
||
},
|
||
{
|
||
"value": "David Pokora",
|
||
"lang": "en"
|
||
}
|
||
],
|
||
"problemTypes": [
|
||
{
|
||
"descriptions": [
|
||
{
|
||
"cweId": "CWE-79",
|
||
"description": "Cross-site Scripting (XSS)",
|
||
"lang": "en"
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"providerMetadata": {
|
||
"orgId": "bae035ff-b466-4ff4-94d0-fc9efd9e1730",
|
||
"shortName": "snyk",
|
||
"dateUpdated": "2024-03-06T14:09:46.106Z"
|
||
},
|
||
"descriptions": [
|
||
{
|
||
"value": "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.",
|
||
"lang": "en"
|
||
}
|
||
],
|
||
"references": [
|
||
{
|
||
"url": "https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-6249860"
|
||
},
|
||
{
|
||
"url": "https://github.com/greenpau/caddy-security/issues/267"
|
||
},
|
||
{
|
||
"url": "https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/"
|
||
}
|
||
],
|
||
"affected": [
|
||
{
|
||
"product": "github.com/greenpau/caddy-security",
|
||
"versions": [
|
||
{
|
||
"version": "0",
|
||
"lessThan": "*",
|
||
"status": "affected",
|
||
"versionType": "semver"
|
||
}
|
||
],
|
||
"vendor": "n/a"
|
||
}
|
||
]
|
||
},
|
||
"adp": [
|
||
{
|
||
"problemTypes": [
|
||
{
|
||
"descriptions": [
|
||
{
|
||
"type": "CWE",
|
||
"cweId": "CWE-79",
|
||
"lang": "en",
|
||
"description": "CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"metrics": [
|
||
{
|
||
"other": {
|
||
"type": "ssvc",
|
||
"content": {
|
||
"timestamp": "2024-02-20T15:37:01.746124Z",
|
||
"id": "CVE-2024-21496",
|
||
"options": [
|
||
{
|
||
"Exploitation": "none"
|
||
},
|
||
{
|
||
"Automatable": "no"
|
||
},
|
||
{
|
||
"Technical Impact": "partial"
|
||
}
|
||
],
|
||
"role": "CISA Coordinator",
|
||
"version": "2.0.3"
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"title": "CISA ADP Vulnrichment",
|
||
"providerMetadata": {
|
||
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
|
||
"shortName": "CISA-ADP",
|
||
"dateUpdated": "2024-11-06T18:53:52.043Z"
|
||
}
|
||
},
|
||
{
|
||
"providerMetadata": {
|
||
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
|
||
"shortName": "CVE",
|
||
"dateUpdated": "2024-08-01T22:20:40.901Z"
|
||
},
|
||
"title": "CVE Program Container",
|
||
"references": [
|
||
{
|
||
"url": "https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-6249860",
|
||
"tags": [
|
||
"x_transferred"
|
||
]
|
||
},
|
||
{
|
||
"url": "https://github.com/greenpau/caddy-security/issues/267",
|
||
"tags": [
|
||
"x_transferred"
|
||
]
|
||
},
|
||
{
|
||
"url": "https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/",
|
||
"tags": [
|
||
"x_transferred"
|
||
]
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|
||
} |