111 lines
3.6 KiB
JSON
Raw Normal View History

2023-04-24 12:24:31 +02:00
{
"id": "CVE-2020-26938",
"sourceIdentifier": "cve@mitre.org",
"published": "2022-08-29T21:15:08.863",
"lastModified": "2022-09-07T20:15:34.600",
"vulnStatus": "Analyzed",
"descriptions": [
{
"lang": "en",
"value": "In oauth2-server (aka node-oauth2-server) through 3.1.1, the value of the redirect_uri parameter received during the authorization and token request is checked against an incorrect URI pattern (\"[a-zA-Z][a-zA-Z0-9+.-]+:\") before making a redirection. This allows a malicious client to pass an XSS payload through the redirect_uri parameter while making an authorization request. NOTE: this vulnerability is similar to CVE-2020-7741."
},
{
"lang": "es",
"value": "En oauth2-server (tambi\u00e9n se conoce como node-oauth2-server) versiones hasta 3.1.1, el valor del par\u00e1metro redirect_uri recibido durante la petici\u00f3n de autorizaci\u00f3n y token es comprobado con un patr\u00f3n URI incorrecto (\"[a-zA-Z][a-zA-Z0-9+.-]+:\") antes de realizar un redireccionamiento. Esto permite a un cliente malicioso pasar una carga \u00fatil de tipo XSS mediante el par\u00e1metro redirect_uri mientras realiza una petici\u00f3n de autorizaci\u00f3n. NOTA: esta vulnerabilidad es similar a la CVE-2020-7741"
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "nvd@nist.gov",
"type": "Primary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "CHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"availabilityImpact": "NONE",
"baseScore": 7.2,
"baseSeverity": "HIGH"
},
"exploitabilityScore": 3.9,
"impactScore": 2.7
}
]
},
"weaknesses": [
{
"source": "nvd@nist.gov",
"type": "Primary",
"description": [
{
"lang": "en",
"value": "CWE-601"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:oauth2-server_project:oauth2-server:*:*:*:*:*:node.js:*:*",
"versionEndIncluding": "3.1.1",
"matchCriteriaId": "7FFE5BBB-4620-482D-A32F-D416AA7E4ADA"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/grant-types/authorization-code-grant-type.js#L143",
"source": "cve@mitre.org",
"tags": [
"Exploit",
"Third Party Advisory"
]
},
{
"url": "https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/validator/is.js#L12",
"source": "cve@mitre.org",
"tags": [
"Exploit",
"Third Party Advisory"
]
},
{
"url": "https://github.com/oauthjs/node-oauth2-server/issues/637",
"source": "cve@mitre.org",
"tags": [
"Issue Tracking",
"Third Party Advisory"
]
},
{
"url": "https://tools.ietf.org/html/rfc3986#section-3",
"source": "cve@mitre.org",
"tags": [
"Third Party Advisory"
]
},
{
"url": "https://tools.ietf.org/html/rfc6749#section-3.1.2",
"source": "cve@mitre.org",
"tags": [
"Third Party Advisory"
]
}
]
}