RCE in Oauth2-Server Project
CVE-2017-18924
oauth2-server (aka node-oauth2-server) through 3.1.1 implements OAuth 2.0 without PKCE. It does not prevent authorization code injection. This is similar to CVE-2020-7692. NOTE: the vendor states 'As RFC7636 is an extension, I think the claim in the Readme of "RFC 6749 compliant" is valid and not misleading and I also therefore wouldn't describe this as a "vulnerability" with the library per se.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.022, 82.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cve-scores). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- tools.ietf.org/html/rfc7636 (Third Party Advisory)
- tools.ietf.org/html/draft-ietf-oauth-security-topics-15 (Exploit, Third Party Advisory)
- codeburst.io/missing-the-point-in-securing-oauth-2-0-83968708b467 (Third Party Advisory)
- github.com/oauthjs/node-oauth2-server/issues/637 (Exploit, Third Party Advisory)
- github.com/oauthjs/node-oauth2-server/pull/452 (Patch, Third Party Advisory)