// For flags

CVE-2023-32305

aiven-extras PostgreSQL Privilege Escalation Through Overloaded Search Path

Severity Score

8.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

aiven-extras is a PostgreSQL extension. Versions prior to 1.1.9 contain a privilege escalation vulnerability, allowing elevation to superuser inside PostgreSQL databases that use the aiven-extras package. The vulnerability leverages missing schema qualifiers on privileged functions called by the aiven-extras extension. A low privileged user can create objects that collide with existing function names, which will then be executed instead. Exploiting this vulnerability could allow a low privileged user to acquire `superuser` privileges, which would allow full, unrestricted access to all data and database functions. And could lead to arbitrary code execution or data access on the underlying host as the `postgres` user. The issue has been patched as of version 1.1.9.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2023-05-08 CVE Reserved
  • 2023-05-12 CVE Published
  • 2024-05-18 EPSS Updated
  • 2024-08-02 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-20: Improper Input Validation
  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Aiven
Search vendor "Aiven"
Aiven
Search vendor "Aiven" for product "Aiven"
< 1.1.9
Search vendor "Aiven" for product "Aiven" and version " < 1.1.9"
postgresql
Affected
in Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
>= 10.0 <= 10.22
Search vendor "Postgresql" for product "Postgresql" and version " >= 10.0 <= 10.22"
-
Safe
Aiven
Search vendor "Aiven"
Aiven
Search vendor "Aiven" for product "Aiven"
< 1.1.9
Search vendor "Aiven" for product "Aiven" and version " < 1.1.9"
postgresql
Affected
in Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
>= 11.0 <= 11.7
Search vendor "Postgresql" for product "Postgresql" and version " >= 11.0 <= 11.7"
-
Safe
Aiven
Search vendor "Aiven"
Aiven
Search vendor "Aiven" for product "Aiven"
< 1.1.9
Search vendor "Aiven" for product "Aiven" and version " < 1.1.9"
postgresql
Affected
in Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
>= 12.0 <= 12.12
Search vendor "Postgresql" for product "Postgresql" and version " >= 12.0 <= 12.12"
-
Safe
Aiven
Search vendor "Aiven"
Aiven
Search vendor "Aiven" for product "Aiven"
< 1.1.9
Search vendor "Aiven" for product "Aiven" and version " < 1.1.9"
postgresql
Affected
in Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
>= 13.0 <= 13.8
Search vendor "Postgresql" for product "Postgresql" and version " >= 13.0 <= 13.8"
-
Safe
Aiven
Search vendor "Aiven"
Aiven
Search vendor "Aiven" for product "Aiven"
< 1.1.9
Search vendor "Aiven" for product "Aiven" and version " < 1.1.9"
postgresql
Affected
in Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
>= 14.0 <= 14.5
Search vendor "Postgresql" for product "Postgresql" and version " >= 14.0 <= 14.5"
-
Safe