9.8
CVSSv3

CVE-2024-1597

Published: 19/02/2024 Updated: 10/06/2024
CVSS v3 Base Score: 9.8 | Impact Score: 5.9 | Exploitability Score: 3.9
VMScore: 0

Vulnerability Summary

pgjdbc, the PostgreSQL JDBC Driver, allows malicious user to inject SQL if using PreferQueryMode=SIMPLE. Note this is not the default. In the default mode there is no vulnerability. A placeholder for a numeric value must be immediately preceded by a minus. There must be a second placeholder for a string value after the first placeholder; both must be on the same line. By constructing a matching string payload, the attacker can inject SQL to alter the query,bypassing the protections that parameterized queries bring against SQL Injection attacks. Versions prior to 42.7.2, 42.6.1, 42.5.5, 42.4.4, 42.3.9, and 42.2.28 are affected.

Vulnerability Trend

Vulnerable Product Search on Vulmon Subscribe to Product

postgresql postgresql jdbc driver

fedoraproject fedora 40

Mailing Lists

### ## Summary ### Corresponding fixes were published at the 19th of February 2024 ### ## Severity ### Quote from [1]: To exploit this behavior the following additional conditions must be met: Both parameters must be user controlled ### ## Example from [1] ### PreparedStatement stmt = connprepareStatement("SELECT -?, ?" ...

Recent Articles

T-Mobile denies it was hacked, links leaked data to vendor breach
BleepingComputer • Ionut Ilascu • 19 Jun 2024

T-Mobile denies it was hacked, links leaked data to vendor breach By Ionut Ilascu June 19, 2024 08:43 PM 0 T-Mobile has denied it was breached or that source code was stolen after a threat actor claimed to be selling stolen data from the telecommunications company. "T-Mobile systems have not been compromised. We are actively investigating a claim of an issue at a third-party service provider," T-Mobile shared in a statement to BleepingComputer. "We have no indication that T-Mobile customer data ...