#VU76041 Permissions, Privileges, and Access Controls in PostgreSQL - CVE-2023-2454


Vulnerability identifier: #VU76041

Vulnerability risk: Medium

CVSSv4.0: 6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2023-2454

CWE-ID: CWE-264

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
PostgreSQL
Server applications / Database software

Vendor: PostgreSQL Global Development Group

Description

The vulnerability allows a remote user to execute arbitrary code on the system.

The vulnerability exists due to improperly imposed security restrictions. A remote database user with   CREATE privilege can bypass protective search_path changes via "CREATE SCHEMA ... schema_element" command and execute arbitrary code on the system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

PostgreSQL: 9.0 - 9.0.23, 9.1 - 9.1.24, 9.2 - 9.2.24, 9.3 - 9.3.25, 9.4 - 9.4.26, 9.5 - 9.5.25, 9.6.0 - 9.6.24, 10.0 - 15.2


External links
https://www.postgresql.org/about/news/postgresql-153-148-1311-1215-and-1120-released-2637/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated privileged user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability