Vulnerability identifier: #VU58113
Vulnerability risk: Medium
CVSSv3.1: 5.9 [CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-311
Exploitation vector: Local network
Exploit availability: No
Vulnerable software:
PostgreSQL
Server applications /
Database software
Vendor: PostgreSQL Global Development Group
Description
The vulnerability allows a remote attacker to perform MitM attack.
The vulnerability exists due to the way PostgreSQL handles encrypted connections. When the server is configured to use trust
authentication with a clientcert
requirement or to use cert
authentication, a man-in-the-middle attacker can inject arbitrary SQL
queries when a connection is first established, despite the use of SSL
certificate verification and encryption.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
PostgreSQL: 14.0, 13.0 - 13.4, 12 - 12.8, 11.0 - 11.13, 10.1 - 10.18, 9.6.0 - 9.6.23
External links
http://www.postgresql.org/about/news/postgresql-141-135-129-1114-1019-and-9624-released-2349/
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the local network (LAN).
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.