#VU62716 Input validation error in Postgresql JDBC Driver - CVE-2022-26520

 

#VU62716 Input validation error in Postgresql JDBC Driver - CVE-2022-26520

Published: May 2, 2022


Vulnerability identifier: #VU62716
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2022-26520
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Postgresql JDBC Driver
Software vendor:
PostgreSQL Global Development Group

Description

The vulnerability allows a remote attacker to create arbitrary files on the system.

The vulnerability exists due to insufficient validation of user-supplied input when handling jdbc URL or its properties. A remote attacker can call java.util.logging.FileHandler to write to arbitrary files through the loggerFile and loggerLevel connection properties.

Successful exploitation of the vulnerability may allow an attacker to create and executable arbitraru JSP file under a Tomcat web root.


Remediation

Install updates from vendor's website.

External links