Rapid7 Vulnerability & Exploit Database

Alpine Linux: CVE-2018-1053: Incorrect Permission Assignment for Critical Resource

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Alpine Linux: CVE-2018-1053: Incorrect Permission Assignment for Critical Resource

Severity
3
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:N)
Published
02/08/2018
Created
08/23/2024
Added
08/22/2024
Modified
08/22/2024

Description

In postgresql 9.3.x before 9.3.21, 9.4.x before 9.4.16, 9.5.x before 9.5.11, 9.6.x before 9.6.7 and 10.x before 10.2, pg_upgrade creates file in current working directory containing the output of `pg_dumpall -g` under umask which was in effect when the user invoked pg_upgrade, and not under 0077 which is normally used for other temporary files. This can allow an authenticated attacker to read or modify the one file, which may contain encrypted or unencrypted database passwords. The attack is infeasible if a directory mode blocks the attacker searching the current working directory or if the prevailing umask blocks the attacker opening the file.

Solution(s)

  • alpine-linux-upgrade-postgresql14
  • alpine-linux-upgrade-postgresql15

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;