National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2017-12172 Detail

Current Description

PostgreSQL 10.x before 10.1, 9.6.x before 9.6.6, 9.5.x before 9.5.10, 9.4.x before 9.4.15, 9.3.x before 9.3.20, and 9.2.x before 9.2.24 runs under a non-root operating system account, and database superusers have effective ability to run arbitrary code under that system account. PostgreSQL provides a script for starting the database server during system boot. Packages of PostgreSQL for many operating systems provide their own, packager-authored startup implementations. Several implementations use a log file name that the database superuser can replace with a symbolic link. As root, they open(), chmod() and/or chown() this log file name. This often suffices for the database superuser to escalate to root privileges when root starts the server.

Source:  MITRE
View Analysis Description

Impact

CVSS v3.0 Severity and Metrics:

Base Score: 6.7 MEDIUM
Vector: AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H (V3.0 legend)
Impact Score: 5.9
Exploitability Score: 0.8


Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): High
User Interaction (UI): None
Scope (S): Unchanged
Confidentiality (C): High
Integrity (I): High
Availability (A): High

CVSS v2.0 Severity and Metrics:

Base Score: 7.2 HIGH
Vector: (AV:L/AC:L/Au:N/C:C/I:C/A:C) (V2 legend)
Impact Subscore: 10.0
Exploitability Subscore: 3.9


Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (AU): None
Confidentiality (C): Complete
Integrity (I): Complete
Availability (A): Complete
Additional Information:
Allows unauthorized disclosure of information
Allows unauthorized modification
Allows disruption of service

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://www.securityfocus.com/bid/101949 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1039752 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2017:3402 Issue Tracking Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:3403 Issue Tracking Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:3404 Issue Tracking Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:3405 Issue Tracking Third Party Advisory
https://www.postgresql.org/about/news/1801/ Issue Tracking Vendor Advisory
https://www.postgresql.org/support/security/ Issue Tracking Vendor Advisory

Technical Details

Vulnerability Type (View All)

  • Improper Link Resolution Before File Access ('Link Following') (CWE-59)

Known Affected Software Configurations Switch to CPE 2.3

Configuration 1 ( hide )
 cpe:/a:postgresql:postgresql:9.2
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.2.1
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.2.2
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.2.3
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.2.4
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.2.5
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.2.6
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.2.7
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.2.8
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.2.9
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.2.10
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.2.11
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.2.12
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.2.13
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.2.14
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.2.15
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.2.16
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.2.17
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.2.18
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.2.19
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.2.20
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.2.21
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.2.22
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.2.23
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.3
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.3.1
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.3.2
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.3.3
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.3.4
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.3.5
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.3.6
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.3.7
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.3.8
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.3.9
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.3.10
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.3.11
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.3.12
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.3.13
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.3.14
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.3.15
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.3.16
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.3.17
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.3.18
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.3.19
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.4
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.4.1
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.4.2
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.4.3
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.4.4
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.4.5
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.4.6
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.4.7
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.4.8
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.4.9
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.4.10
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.4.11
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.4.12
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.4.13
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.4.14
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.5
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.5.1
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.5.2
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.5.3
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.5.4
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.5.5
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.5.6
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.5.7
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.5.8
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.5.9
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.6
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.6.1
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.6.2
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.6.3
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.6.4
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.6.5
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:10
     Show Matching CPE(s)


Change History

4 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2017-12172
NVD Published Date:
11/22/2017
NVD Last Modified:
12/11/2017