SecurityContext

CVE-2017-18924: node-oauth2-server - Authorization Code Injection

  • Cve: CVE-2017-18924
  • Name: node-oauth2-server - Authorization Code Injection
  • Description: 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.
  • Impact: Attackers can perform authorization code injection, potentially leading to session hijacking or unauthorized access.
  • Remediation: Implement PKCE support and validate authorization requests properly, or upgrade to the latest version with enhanced security measures.
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.0219
  • Epss percentile: 0.829
  • Assignee: [email protected]
  • Published at: 2020-10-04T05:15:12Z
  • Age in days: 2241
  • Modified at: 2026-06-17T01:13:50Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-18924
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: vulnerability type, requirements, hackerone

Cwe

IdName
CWE-94Improper Control of Generation of Code

Public exploits

UrlSourceAdded date
https://github.com/oauthjs/node-oauth2-server/issues/637nvd2020-10-04
https://tools.ietf.org/html/draft-ietf-oauth-security-topics-15nvd2020-10-04

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/oauthjs/node-oauth2-server/pull/452Patch, Third Party Advisory
https://github.com/oauthjs/node-oauth2-server/issues/637Exploit, Third Party Advisory
https://tools.ietf.org/html/draft-ietf-oauth-security-topics-15Exploit, Third Party Advisory
https://codeburst.io/missing-the-point-in-securing-oauth-2-0-83968708b467Third Party Advisory
https://tools.ietf.org/html/rfc7636Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
oauth2-server_project:oauth2-server<= 3.1.1nonvd/v1/products/oauth2-server_project/oauth2-server

Projects

RepositoryLink kindsIndexedUrl
oauthjs/node-oauth2-serverissues, pullyes/v1/repositories/oauthjs/node-oauth2-server

Index

  • Repositories: 3
  • Repositories high signal: 3
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2020-10-04
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts