Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-157CE083-D145-11EC-AB9B-6CC21735F730 (CVE-2022-1552): PostgreSQL Server -- execute arbitrary SQL code as DBA user

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

FreeBSD: VID-157CE083-D145-11EC-AB9B-6CC21735F730 (CVE-2022-1552): PostgreSQL Server -- execute arbitrary SQL code as DBA user

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
05/11/2022
Created
11/08/2022
Added
11/04/2022
Modified
11/04/2022

Description

A flaw was found in PostgreSQL. There is an issue with incomplete efforts to operate safely when a privileged user is maintaining another user's objects. The Autovacuum, REINDEX, CREATE INDEX, REFRESH MATERIALIZED VIEW, CLUSTER, and pg_amcheck commands activated relevant protections too late or not at all during the process. This flaw allows an attacker with permission to create non-temporary objects in at least one schema to execute arbitrary SQL functions under a superuser identity.

Solution(s)

  • freebsd-upgrade-package-postgresql10-server
  • freebsd-upgrade-package-postgresql11-server
  • freebsd-upgrade-package-postgresql12-server
  • freebsd-upgrade-package-postgresql13-server
  • freebsd-upgrade-package-postgresql14-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

;