RCE in HackerOne Pg Node Module
CVE-2017-16082
- CVSS v3
- 9.8 Critical
- Public exploits
- 1 repository
- EPSS
- 0.103 · 95.8th percentile
- Published
- 2018-06-07
A remote code execution vulnerability was found within the pg module when the remote database or query specifies a specially crafted column name. There are 2 likely scenarios in which one would likely be vulnerable. 1) Executing unsafe, user-supplied sql which contains a malicious column name. 2) Connecting to an untrusted database and executing a query which returns results where any of the column names are malicious.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.103, 95.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- HackerOne Pg Node Module — versions < 2.11.2 || >= 3.0.0 < 3.6.4 || >= 4.0.0 < 4.5.7 || >= 5.0.0 < 5.2.1 || >= 6.0.0 < 6.0.5 || >= 6.1.0 < 6.1.6 || >= 6.2.0 < 6.2.5 || >= 6.3.0 < 6.3.3 || >= 6.4.0 < 6.4.2 || >= 7.0.0 < 7.0.2 || >= 7.1.0 < 7.1.2
- Node-Postgres Pg
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- nulldreams/CVE-2017-16082 (5 stars, last pushed 2018-11-27): NodeJS + Postgres (Remote Code Execution) 🛰
Also mentioned in 6 other repositories (ARPSyndicate/cvemon, bakery312/Vulhub-Reproduce, ossf-cve-benchmark/CVE-2017-16082, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- node-postgres.com/announcements (Exploit, Third Party Advisory)
- nodesecurity.io/advisories/521 (Exploit, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.