Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-C602C791-0CF4-11E8-A2EC-6CC21735F730 (CVE-2018-1053): PostgreSQL vulnerabilities

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

FreeBSD: VID-C602C791-0CF4-11E8-A2EC-6CC21735F730 (CVE-2018-1053): PostgreSQL vulnerabilities

Severity
3
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:N)
Published
02/05/2018
Created
07/25/2018
Added
02/09/2018
Modified
05/07/2019

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)

  • freebsd-upgrade-package-postgresql10-server
  • freebsd-upgrade-package-postgresql93-server
  • freebsd-upgrade-package-postgresql94-server
  • freebsd-upgrade-package-postgresql95-server
  • freebsd-upgrade-package-postgresql96-server

insightVM

Advanced vulnerability management analytics and reporting.
Key Features
  • Lightweight Endpoint Agent
  • Live Dashboards
  • Real Risk Prioritization
  • IT-Integrated Remediation Projects
  • Cloud, Virtual, and Container Assessment
  • Integrated Threat Feeds
  • Easy-to-Use RESTful API
  • Automation-Assisted Patching
  • Automated Containment
Free InsightVM Trial View All Features

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

;