postgresql-common on Debian/Ubuntu pg_ctlcluster /var/log/postgresql link following
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
5.8 | $0-$5k | 0.00 |
A vulnerability has been found in postgresql-common on Debian/Ubuntu (Database Software) (version now known) and classified as problematic. This vulnerability affects some unknown processing of the file /var/log/postgresql of the component pg_ctlcluster. The manipulation with an unknown input leads to a link following vulnerability. The CWE definition for the vulnerability is CWE-59. The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource. As an impact it is known to affect integrity. CVE summarizes:
The pg_ctlcluster script in postgresql-common package in Debian wheezy before 134wheezy5, in Debian jessie before 165+deb8u2, in Debian unstable before 178, in Ubuntu 12.04 LTS before 129ubuntu1.2, in Ubuntu 14.04 LTS before 154ubuntu1.1, in Ubuntu 16.04 LTS before 173ubuntu0.1, in Ubuntu 17.04 before 179ubuntu0.1, and in Ubuntu 17.10 before 184ubuntu1.1 allows local users to gain root privileges via a symlink attack on a logfile in /var/log/postgresql.
The bug was discovered 01/12/2017. The weakness was published 12/05/2017 (Website). The advisory is shared for download at lists.debian.org. This vulnerability was named CVE-2016-1255 since 12/27/2015. The attack needs to be approached locally. Required for exploitation is a single authentication. There are known technical details, but no exploit is available.
The vulnerability was handled as a non-public zero-day exploit for at least 301 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 104496 (Ubuntu 14.04 LTS / 16.04 LTS / 17.04 / 17.10 : postgresql-common vulnerabilities (USN-3476-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Ubuntu Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 196968 (Ubuntu Security Notification for Postgresql-common Vulnerabilities (USN-3476-1)).
Upgrading eliminates this vulnerability. A possible mitigation has been published before and not just after the disclosure of the vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (104496). Similar entry is available at 109304.
Product
Type
Name
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.9VulDB Meta Temp Score: 5.8
VulDB Base Score: 4.0
VulDB Temp Score: 3.8
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.8
NVD Vector: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Link followingCWE: CWE-59
ATT&CK: Unknown
Local: Yes
Remote: No
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Nessus ID: 104496
Nessus Name: Ubuntu 14.04 LTS / 16.04 LTS / 17.04 / 17.10 : postgresql-common vulnerabilities (USN-3476-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 841749
OpenVAS Name: Ubuntu Update for postgresql-common USN-3476-1
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Patch: anonscm.debian.org
Timeline
12/27/2015 🔍01/12/2017 🔍
11/09/2017 🔍
11/10/2017 🔍
12/05/2017 🔍
12/05/2017 🔍
12/05/2017 🔍
01/17/2023 🔍
Sources
Advisory: USN-3476-1Status: Not defined
Confirmation: 🔍
CVE: CVE-2016-1255 (🔍)
See also: 🔍
Entry
Created: 12/05/2017 21:35Updated: 01/17/2023 08:16
Changes: 12/05/2017 21:35 (73), 12/12/2019 09:16 (2), 01/17/2023 08:16 (5)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.