9.8
CRITICAL
CVE-2017-16082
PostgreSQL pg Module Arbitrary Code Execution Vulnerability
Description

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.

INFO

Published Date :

June 7, 2018, 2:29 a.m.

Last Modified :

Oct. 9, 2019, 11:24 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2017-16082 has a 5 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2017-16082 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Node-postgres pg
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2017-16082.

URL Resource
https://node-postgres.com/announcements#2017-08-12-code-execution-vulnerability Exploit Third Party Advisory
https://nodesecurity.io/advisories/521 Exploit Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 8 months ago
0 stars 0 fork 0 watcher
Born at : Jan. 26, 2024, 10:07 a.m. This repo has been linked 161 different CVEs too.

一个Vulhub漏洞复现知识库

vulnerability exploit

Updated: 3 weeks, 2 days ago
448 stars 87 fork 87 watcher
Born at : March 3, 2022, 8:38 a.m. This repo has been linked 171 different CVEs too.

一个漏洞POC知识库 目前数量 1000+

poc

Updated: 3 weeks, 2 days ago
3417 stars 682 fork 682 watcher
Born at : Feb. 20, 2022, 6:43 a.m. This repo has been linked 405 different CVEs too.

None

Makefile JavaScript Python Shell C++

Updated: 3 years, 9 months ago
0 stars 0 fork 0 watcher
Born at : Nov. 30, 2020, 2:52 p.m. This repo has been linked 1 different CVEs too.

NodeJS + Postgres (Remote Code Execution) 🛰

HTML JavaScript

Updated: 3 years, 10 months ago
5 stars 0 fork 0 watcher
Born at : Nov. 27, 2018, 6:09 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2017-16082 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2017-16082 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Oct. 09, 2019

    Action Type Old Value New Value
    Added CWE HackerOne CWE-94
  • Initial Analysis by [email protected]

    Jul. 23, 2018

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://nodesecurity.io/advisories/521 No Types Assigned https://nodesecurity.io/advisories/521 Exploit, Third Party Advisory
    Changed Reference Type https://node-postgres.com/announcements#2017-08-12-code-execution-vulnerability No Types Assigned https://node-postgres.com/announcements#2017-08-12-code-execution-vulnerability Exploit, Third Party Advisory
    Added CWE CWE-94
    Added CPE Configuration OR *cpe:2.3:a:node-postgres:pg:*:*:*:*:*:node.js:*:* versions from (including) 2.0.0 up to (excluding) 2.11.2 *cpe:2.3:a:node-postgres:pg:*:*:*:*:*:node.js:*:* versions from (including) 3.0.0 up to (excluding) 3.6.4 *cpe:2.3:a:node-postgres:pg:*:*:*:*:*:node.js:*:* versions from (including) 4.0.0 up to (excluding) 4.5.7 *cpe:2.3:a:node-postgres:pg:*:*:*:*:*:node.js:*:* versions from (excluding) 5.0.0 up to (excluding) 5.2.1 *cpe:2.3:a:node-postgres:pg:*:*:*:*:*:node.js:*:* versions from (including) 6.0.0 up to (excluding) 6.4.2 *cpe:2.3:a:node-postgres:pg:*:*:*:*:*:node.js:*:* versions from (including) 7.0.0 up to (excluding) 7.1.2
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2017-16082 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2017-16082 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

14.25 }} 9.25%

score

0.95791

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability