CVE-2017-12172
Last modified
CVE-2017-12172 is a vulnerability of currently unknown severity. 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. EPSS estimates a 0.59% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Postgresql | Postgresql | 9.2 |
| Postgresql | Postgresql | 9.2.1 |
| Postgresql | Postgresql | 9.2.2 |
| Postgresql | Postgresql | 9.2.3 |
| Postgresql | Postgresql | 9.2.4 |
| Postgresql | Postgresql | 9.2.5 |
| Postgresql | Postgresql | 9.2.6 |
| Postgresql | Postgresql | 9.2.7 |
| Postgresql | Postgresql | 9.2.8 |
| Postgresql | Postgresql | 9.2.9 |
| Postgresql | Postgresql | 9.2.10 |
| Postgresql | Postgresql | 9.2.11 |
| Postgresql | Postgresql | 9.2.12 |
| Postgresql | Postgresql | 9.2.13 |
| Postgresql | Postgresql | 9.2.14 |
| Postgresql | Postgresql | 9.2.15 |
| Postgresql | Postgresql | 9.2.16 |
| Postgresql | Postgresql | 9.2.17 |
| Postgresql | Postgresql | 9.2.18 |
| Postgresql | Postgresql | 9.2.19 |
| Postgresql | Postgresql | 9.2.20 |
| Postgresql | Postgresql | 9.2.21 |
| Postgresql | Postgresql | 9.2.22 |
| Postgresql | Postgresql | 9.2.23 |
| Postgresql | Postgresql | 9.3 |
| Postgresql | Postgresql | 9.3.1 |
| Postgresql | Postgresql | 9.3.2 |
| Postgresql | Postgresql | 9.3.3 |
| Postgresql | Postgresql | 9.3.4 |
| Postgresql | Postgresql | 9.3.5 |
| Postgresql | Postgresql | 9.3.6 |
| Postgresql | Postgresql | 9.3.7 |
| Postgresql | Postgresql | 9.3.8 |
| Postgresql | Postgresql | 9.3.9 |
| Postgresql | Postgresql | 9.3.10 |
| Postgresql | Postgresql | 9.3.11 |
| Postgresql | Postgresql | 9.3.12 |
| Postgresql | Postgresql | 9.3.13 |
| Postgresql | Postgresql | 9.3.14 |
| Postgresql | Postgresql | 9.3.15 |
| Postgresql | Postgresql | 9.3.16 |
| Postgresql | Postgresql | 9.3.17 |
| Postgresql | Postgresql | 9.3.18 |
| Postgresql | Postgresql | 9.3.19 |
| Postgresql | Postgresql | 9.4 |
| Postgresql | Postgresql | 9.4.1 |
| Postgresql | Postgresql | 9.4.2 |
| Postgresql | Postgresql | 9.4.3 |
| Postgresql | Postgresql | 9.4.4 |
| Postgresql | Postgresql | 9.4.5 |
Showing 50 of 76 affected configurations. See NVD for the full list.
References
- http://www.securityfocus.com/bid/101949Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1039752Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:3402Issue Tracking, Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3403Issue Tracking, Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3404Issue Tracking, Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3405Issue 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
- http://www.securityfocus.com/bid/101949Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1039752Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:3402Issue Tracking, Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3403Issue Tracking, Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3404Issue Tracking, Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3405Issue 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
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2017-12172?
How severe is CVE-2017-12172?
How do I fix CVE-2017-12172?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2017
- CVE-2017-12167It was found in EAP 7 before 7.0.9 that properties based fil…5.5
- CVE-2017-12168The access_pmu_evcntr function in arch/arm64/kvm/sys_regs.c …6
- CVE-2017-12169It was found that FreeIPA 4.2.0 and later could disclose pas…
- CVE-2017-1217IBM WebSphere Portal 8.5 and 9.0 is vulnerable to cross-site…
- CVE-2017-12170Downstream version 1.0.46-1 of pure-ftpd as shipped in Fedor…
- CVE-2017-12171A regression was found in the Red Hat Enterprise Linux 6.9 v…6.5
- CVE-2017-12173It was found that sssd's sysdb_search_user_by_upn_res() func…4.3
- CVE-2017-12174It was found that when Artemis and HornetQ before 2.4.0 are …7.5
- CVE-2017-12175Red Hat Satellite before 6.5 is vulnerable to a XSS in disco…3.5
- CVE-2017-12176xorg-x11-server before 1.19.5 was missing extra length valid…
- CVE-2017-12177xorg-x11-server before 1.19.5 was vulnerable to integer over…
- CVE-2017-12178xorg-x11-server before 1.19.5 had wrong extra length check i…
Are you affected by CVE-2017-12172?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
