CVE-2017-12172 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 sup...
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/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, 9.2.x before 9.2.24 | No fix listed |
| postgresql | = 9.2 | No fix listed |
| postgresql | = 9.2.1 | No fix listed |
| postgresql | = 9.2.2 | No fix listed |
| postgresql | = 9.2.3 | No fix listed |
| postgresql | = 9.2.4 | No fix listed |
| postgresql | = 9.2.5 | No fix listed |
| postgresql | = 9.2.6 | No fix listed |
| postgresql | = 9.2.7 | No fix listed |
| postgresql | = 9.2.8 | No fix listed |
| postgresql | = 9.2.9 | No fix listed |
| postgresql | = 9.2.10 | No fix listed |
| postgresql | = 9.2.11 | No fix listed |
| postgresql | = 9.2.12 | No fix listed |
| postgresql | = 9.2.13 | No fix listed |
| postgresql | = 9.2.14 | No fix listed |
| postgresql | = 9.2.15 | No fix listed |
| postgresql | = 9.2.16 | No fix listed |
| postgresql | = 9.2.17 | No fix listed |
| postgresql | = 9.2.18 | No fix listed |
| postgresql | = 9.2.19 | No fix listed |
| postgresql | = 9.2.20 | No fix listed |
| postgresql | = 9.2.21 | No fix listed |
| postgresql | = 9.2.22 | No fix listed |
| postgresql | = 9.2.23 | No fix listed |
Show 52 more
| Product | Affected versions | Fixed in |
|---|---|---|
| postgresql | = 9.3 | No fix listed |
| postgresql | = 9.3.1 | No fix listed |
| postgresql | = 9.3.2 | No fix listed |
| postgresql | = 9.3.3 | No fix listed |
| postgresql | = 9.3.4 | No fix listed |
| postgresql | = 9.3.5 | No fix listed |
| postgresql | = 9.3.6 | No fix listed |
| postgresql | = 9.3.7 | No fix listed |
| postgresql | = 9.3.8 | No fix listed |
| postgresql | = 9.3.9 | No fix listed |
| postgresql | = 9.3.10 | No fix listed |
| postgresql | = 9.3.11 | No fix listed |
| postgresql | = 9.3.12 | No fix listed |
| postgresql | = 9.3.13 | No fix listed |
| postgresql | = 9.3.14 | No fix listed |
| postgresql | = 9.3.15 | No fix listed |
| postgresql | = 9.3.16 | No fix listed |
| postgresql | = 9.3.17 | No fix listed |
| postgresql | = 9.3.18 | No fix listed |
| postgresql | = 9.3.19 | No fix listed |
| postgresql | = 9.4 | No fix listed |
| postgresql | = 9.4.1 | No fix listed |
| postgresql | = 9.4.2 | No fix listed |
| postgresql | = 9.4.3 | No fix listed |
| postgresql | = 9.4.4 | No fix listed |
| postgresql | = 9.4.5 | No fix listed |
| postgresql | = 9.4.6 | No fix listed |
| postgresql | = 9.4.7 | No fix listed |
| postgresql | = 9.4.8 | No fix listed |
| postgresql | = 9.4.9 | No fix listed |
| postgresql | = 9.4.10 | No fix listed |
| postgresql | = 9.4.11 | No fix listed |
| postgresql | = 9.4.12 | No fix listed |
| postgresql | = 9.4.13 | No fix listed |
| postgresql | = 9.4.14 | No fix listed |
| postgresql | = 9.5 | No fix listed |
| postgresql | = 9.5.1 | No fix listed |
| postgresql | = 9.5.2 | No fix listed |
| postgresql | = 9.5.3 | No fix listed |
| postgresql | = 9.5.4 | No fix listed |
| postgresql | = 9.5.5 | No fix listed |
| postgresql | = 9.5.6 | No fix listed |
| postgresql | = 9.5.7 | No fix listed |
| postgresql | = 9.5.8 | No fix listed |
| postgresql | = 9.5.9 | No fix listed |
| postgresql | = 9.6 | No fix listed |
| postgresql | = 9.6.1 | No fix listed |
| postgresql | = 9.6.2 | No fix listed |
| postgresql | = 9.6.3 | No fix listed |
| postgresql | = 9.6.4 | No fix listed |
| postgresql | = 9.6.5 | No fix listed |
| postgresql | = 10 | No fix listed |
References
- RHSA-2017:3402 issue-tracking third-party-advisory vendor-advisory
- 101949 third-party-advisory vdb-entry
- RHSA-2017:3403 issue-tracking third-party-advisory vendor-advisory
- RHSA-2017:3405 issue-tracking third-party-advisory vendor-advisory
- www.postgresql.org issue-tracking vendor-advisory
- 1039752 third-party-advisory vdb-entry
- www.postgresql.org issue-tracking vendor-advisory
- RHSA-2017:3404 issue-tracking third-party-advisory vendor-advisory