PostgreSQL up to 9.6.8/10.3 adminpack pg_catalog.pg_logfile_rotate config
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
6.8 | $0-$5k | 0.00 |
A vulnerability, which was classified as critical, has been found in PostgreSQL up to 9.6.8/10.3 (Database Software). This issue affects the function pg_catalog.pg_logfile_rotate
of the component adminpack. The manipulation with an unknown input leads to a config vulnerability. Using CWE to declare the problem leads to CWE-16. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
postgresql before versions 10.4, 9.6.9 is vulnerable in the adminpack extension, the pg_catalog.pg_logfile_rotate() function doesn't follow the same ACLs than pg_rorate_logfile. If the adminpack is added to a database, an attacker able to connect to it could exploit this to force log rotation.
The bug was discovered 04/30/2018. The weakness was presented 05/10/2018 as confirmed bug report (Bugzilla). It is possible to read the advisory at bugzilla.redhat.com. The identification of this vulnerability is CVE-2018-1115 since 12/04/2017. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1592.004 according to MITRE ATT&CK.
The vulnerability was handled as a non-public zero-day exploit for at least 10 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 110955 (openSUSE Security Update : postgresql95 (openSUSE-2018-696)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 351439 (Amazon Linux Security Advisory for postgresql96: ALAS-2018-1119).
Upgrading to version 9.6.9 or 10.4 eliminates this vulnerability. A possible mitigation has been published 2 months after the disclosure of the vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (110955).
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.9VulDB Meta Temp Score: 6.8
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.1
NVD Vector: 🔍
CNA Base Score: 4.2
CNA Vector (Red Hat, Inc.): 🔍
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: ConfigCWE: CWE-16
CAPEC: 🔍
ATT&CK: 🔍
Local: No
Remote: Yes
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: 110955
Nessus Name: openSUSE Security Update : postgresql95 (openSUSE-2018-696)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 850026
OpenVAS Name: Fedora Update for postgresql FEDORA-2018-937c789f2a
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: PostgreSQL 9.6.9/10.4
Patch: git.postgresql.org
Timeline
12/04/2017 🔍04/30/2018 🔍
05/10/2018 🔍
05/10/2018 🔍
05/10/2018 🔍
05/11/2018 🔍
07/05/2018 🔍
07/09/2018 🔍
03/11/2023 🔍
Sources
Product: postgresql.orgAdvisory: RHSA-2018:2565
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2018-1115 (🔍)
SecurityFocus: 104285 - PostgreSQL CVE-2018-1115 Security Bypass Vulnerability
Entry
Created: 05/11/2018 11:09Updated: 03/11/2023 17:50
Changes: 05/11/2018 11:09 (77), 02/04/2020 15:13 (5), 03/11/2023 17:43 (5), 03/11/2023 17:50 (12)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.