Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-1C27A706-E3AA-11E8-B77A-6CC21735F730 (CVE-2018-16850): PostgreSQL -- SQL injection in pg_upgrade and pg_dump

Back to Search

FreeBSD: VID-1C27A706-E3AA-11E8-B77A-6CC21735F730 (CVE-2018-16850): PostgreSQL -- SQL injection in pg_upgrade and pg_dump

Severity
8
CVSS
(AV:N/AC:L/Au:N/C:P/I:P/A:P)
Published
11/08/2018
Created
03/19/2019
Added
11/09/2018
Modified
05/07/2019

Description

postgresql before versions 11.1, 10.6 is vulnerable to a to SQL injection in pg_upgrade and pg_dump via CREATE TRIGGER ... REFERENCING. Using a purpose-crafted trigger definition, an attacker can cause arbitrary SQL statements to run, with superuser privileges.

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

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

;