Rapid7 Vulnerability & Exploit Database

Red Hat: CVE-2023-39417: postgresql: extension script @substitutions@ within quoting allow SQL injection (Multiple Advisories)

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

Red Hat: CVE-2023-39417: postgresql: extension script @substitutions@ within quoting allow SQL injection (Multiple Advisories)

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
08/11/2023
Created
11/30/2023
Added
11/29/2023
Modified
09/13/2024

Description

IN THE EXTENSION SCRIPT, a SQL Injection vulnerability was found in PostgreSQL if it uses @extowner@, @extschema@, or @extschema:...@ inside a quoting construct (dollar quoting, '', or ""). If an administrator has installed files of a vulnerable, trusted, non-bundled extension, an attacker with database-level CREATE privilege can execute arbitrary code as the bootstrap superuser.

Solution(s)

  • redhat-upgrade-pg_repack
  • redhat-upgrade-pg_repack-debuginfo
  • redhat-upgrade-pg_repack-debugsource
  • redhat-upgrade-pgaudit
  • redhat-upgrade-pgaudit-debuginfo
  • redhat-upgrade-pgaudit-debugsource
  • redhat-upgrade-postgres-decoderbufs
  • redhat-upgrade-postgres-decoderbufs-debuginfo
  • redhat-upgrade-postgres-decoderbufs-debugsource
  • redhat-upgrade-postgresql
  • redhat-upgrade-postgresql-contrib
  • redhat-upgrade-postgresql-contrib-debuginfo
  • redhat-upgrade-postgresql-debuginfo
  • redhat-upgrade-postgresql-debugsource
  • redhat-upgrade-postgresql-docs
  • redhat-upgrade-postgresql-docs-debuginfo
  • redhat-upgrade-postgresql-plperl
  • redhat-upgrade-postgresql-plperl-debuginfo
  • redhat-upgrade-postgresql-plpython3
  • redhat-upgrade-postgresql-plpython3-debuginfo
  • redhat-upgrade-postgresql-pltcl
  • redhat-upgrade-postgresql-pltcl-debuginfo
  • redhat-upgrade-postgresql-private-devel
  • redhat-upgrade-postgresql-private-libs
  • redhat-upgrade-postgresql-private-libs-debuginfo
  • redhat-upgrade-postgresql-server
  • redhat-upgrade-postgresql-server-debuginfo
  • redhat-upgrade-postgresql-server-devel
  • redhat-upgrade-postgresql-server-devel-debuginfo
  • redhat-upgrade-postgresql-static
  • redhat-upgrade-postgresql-test
  • redhat-upgrade-postgresql-test-debuginfo
  • redhat-upgrade-postgresql-test-rpm-macros
  • redhat-upgrade-postgresql-upgrade
  • redhat-upgrade-postgresql-upgrade-debuginfo
  • redhat-upgrade-postgresql-upgrade-devel
  • redhat-upgrade-postgresql-upgrade-devel-debuginfo

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

;