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.
2017-11-22T19:29:00.223
2025-04-20T01:37:25.860
Deferred
CVSSv3.0: 6.7 (MEDIUM)
AV:L/AC:L/Au:N/C:C/I:C/A:C
3.9
10.0
Type | Vendor | Product | Version/Range | Vulnerable? |
---|---|---|---|---|
Application | postgresql | postgresql | 9.2 | Yes |
Application | postgresql | postgresql | 9.2.1 | Yes |
Application | postgresql | postgresql | 9.2.2 | Yes |
Application | postgresql | postgresql | 9.2.3 | Yes |
Application | postgresql | postgresql | 9.2.4 | Yes |
Application | postgresql | postgresql | 9.2.5 | Yes |
Application | postgresql | postgresql | 9.2.6 | Yes |
Application | postgresql | postgresql | 9.2.7 | Yes |
Application | postgresql | postgresql | 9.2.8 | Yes |
Application | postgresql | postgresql | 9.2.9 | Yes |
Application | postgresql | postgresql | 9.2.10 | Yes |
Application | postgresql | postgresql | 9.2.11 | Yes |
Application | postgresql | postgresql | 9.2.12 | Yes |
Application | postgresql | postgresql | 9.2.13 | Yes |
Application | postgresql | postgresql | 9.2.14 | Yes |
Application | postgresql | postgresql | 9.2.15 | Yes |
Application | postgresql | postgresql | 9.2.16 | Yes |
Application | postgresql | postgresql | 9.2.17 | Yes |
Application | postgresql | postgresql | 9.2.18 | Yes |
Application | postgresql | postgresql | 9.2.19 | Yes |
Application | postgresql | postgresql | 9.2.20 | Yes |
Application | postgresql | postgresql | 9.2.21 | Yes |
Application | postgresql | postgresql | 9.2.22 | Yes |
Application | postgresql | postgresql | 9.2.23 | Yes |
Application | postgresql | postgresql | 9.3 | Yes |
Application | postgresql | postgresql | 9.3.1 | Yes |
Application | postgresql | postgresql | 9.3.2 | Yes |
Application | postgresql | postgresql | 9.3.3 | Yes |
Application | postgresql | postgresql | 9.3.4 | Yes |
Application | postgresql | postgresql | 9.3.5 | Yes |
Application | postgresql | postgresql | 9.3.6 | Yes |
Application | postgresql | postgresql | 9.3.7 | Yes |
Application | postgresql | postgresql | 9.3.8 | Yes |
Application | postgresql | postgresql | 9.3.9 | Yes |
Application | postgresql | postgresql | 9.3.10 | Yes |
Application | postgresql | postgresql | 9.3.11 | Yes |
Application | postgresql | postgresql | 9.3.12 | Yes |
Application | postgresql | postgresql | 9.3.13 | Yes |
Application | postgresql | postgresql | 9.3.14 | Yes |
Application | postgresql | postgresql | 9.3.15 | Yes |
Application | postgresql | postgresql | 9.3.16 | Yes |
Application | postgresql | postgresql | 9.3.17 | Yes |
Application | postgresql | postgresql | 9.3.18 | Yes |
Application | postgresql | postgresql | 9.3.19 | Yes |
Application | postgresql | postgresql | 9.4 | Yes |
Application | postgresql | postgresql | 9.4.1 | Yes |
Application | postgresql | postgresql | 9.4.2 | Yes |
Application | postgresql | postgresql | 9.4.3 | Yes |
Application | postgresql | postgresql | 9.4.4 | Yes |
Application | postgresql | postgresql | 9.4.5 | Yes |
Application | postgresql | postgresql | 9.4.6 | Yes |
Application | postgresql | postgresql | 9.4.7 | Yes |
Application | postgresql | postgresql | 9.4.8 | Yes |
Application | postgresql | postgresql | 9.4.9 | Yes |
Application | postgresql | postgresql | 9.4.10 | Yes |
Application | postgresql | postgresql | 9.4.11 | Yes |
Application | postgresql | postgresql | 9.4.12 | Yes |
Application | postgresql | postgresql | 9.4.13 | Yes |
Application | postgresql | postgresql | 9.4.14 | Yes |
Application | postgresql | postgresql | 9.5 | Yes |
Application | postgresql | postgresql | 9.5.1 | Yes |
Application | postgresql | postgresql | 9.5.2 | Yes |
Application | postgresql | postgresql | 9.5.3 | Yes |
Application | postgresql | postgresql | 9.5.4 | Yes |
Application | postgresql | postgresql | 9.5.5 | Yes |
Application | postgresql | postgresql | 9.5.6 | Yes |
Application | postgresql | postgresql | 9.5.7 | Yes |
Application | postgresql | postgresql | 9.5.8 | Yes |
Application | postgresql | postgresql | 9.5.9 | Yes |
Application | postgresql | postgresql | 9.6 | Yes |
Application | postgresql | postgresql | 9.6.1 | Yes |
Application | postgresql | postgresql | 9.6.2 | Yes |
Application | postgresql | postgresql | 9.6.3 | Yes |
Application | postgresql | postgresql | 9.6.4 | Yes |
Application | postgresql | postgresql | 9.6.5 | Yes |
Application | postgresql | postgresql | 10 | Yes |