Vulnerability Details : CVE-2023-32305
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.
Vulnerability category: Input validationGain privilege
Products affected by CVE-2023-32305
- cpe:2.3:a:aiven:aiven:*:*:*:*:*:postgresql:*:*When used together with: Postgresql » PostgresqlWhen used together with: Postgresql » PostgresqlWhen used together with: Postgresql » PostgresqlWhen used together with: Postgresql » PostgresqlWhen used together with: Postgresql » Postgresql
Exploit prediction scoring system (EPSS) score for CVE-2023-32305
0.31%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 69 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-32305
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
NIST | |
8.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
2.0
|
6.0
|
GitHub, Inc. |
CWE ids for CVE-2023-32305
-
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.Assigned by: security-advisories@github.com (Primary)
-
The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.Assigned by: security-advisories@github.com (Primary)
References for CVE-2023-32305
-
https://github.com/aiven/aiven-extras/commit/8682ae01bec0791708bf25791786d776e2fb0250
Qualify function calls with pg_catalog schema · aiven/aiven-extras@8682ae0 · GitHubPatch
-
https://security.netapp.com/advisory/ntap-20230616-0006/
CVE-2023-32305 PostgreSQL Vulnerability in NetApp Products | NetApp Product SecurityThird Party Advisory
-
https://github.com/aiven/aiven-extras/security/advisories/GHSA-7r4w-fw4h-67gp
PostgreSQL Privilege Escalation Through Missing Schema Qualifiers · Advisory · aiven/aiven-extras · GitHubVendor Advisory
Jump to