Vulnerability Details : CVE-2017-18924
Potential exploit
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.
Products affected by CVE-2017-18924
- cpe:2.3:a:oauth2-server_project:oauth2-server:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2017-18924
0.19%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 38 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2017-18924
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:P/I:N/A:N |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2017-18924
-
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.Assigned by: nvd@nist.gov (Primary)
References for CVE-2017-18924
-
https://github.com/oauthjs/node-oauth2-server/pull/452
PKCE by visvk · Pull Request #452 · oauthjs/node-oauth2-server · GitHubPatch;Third Party Advisory
-
https://tools.ietf.org/html/rfc7636
RFC 7636 - Proof Key for Code Exchange by OAuth Public ClientsThird Party Advisory
-
https://github.com/oauthjs/node-oauth2-server/issues/637
Multiple Security Vulnerabilities in Auth and Token Endpoint · Issue #637 · oauthjs/node-oauth2-server · GitHubExploit;Third Party Advisory
-
https://codeburst.io/missing-the-point-in-securing-oauth-2-0-83968708b467
Missing the Point in Securing OAuth 2.0 | by John Tucker | Aug, 2020 | codeburstThird Party Advisory
-
https://tools.ietf.org/html/draft-ietf-oauth-security-topics-15
draft-ietf-oauth-security-topics-15 - OAuth 2.0 Security Best Current PracticeExploit;Third Party Advisory
Jump to