#VU59691 SQL injection in Apache Log4j - CVE-2022-23305

 

#VU59691 SQL injection in Apache Log4j - CVE-2022-23305

Published: January 18, 2022


Vulnerability identifier: #VU59691
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2022-23305
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Apache Log4j
Software vendor:
Apache Foundation

Description

The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.

The vulnerability exists due to insufficient sanitization of user-supplied data in the JDBCAppender. A remote attacker can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.

Note, a non-default configuration with enabled JDBCAppender is required to exploit the vulnerability.


Remediation

The vulnerability is resolved in Apache Log4j 2.x branch.

External links