Remote code execution via JDBC Appender in Apache Log4j



| Updated: 2022-04-25
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-44832
CWE-ID CWE-94
Exploitation vector Network
Public exploit N/A
Vulnerable software
Apache Log4j
Universal components / Libraries / Libraries used by multiple products

Vendor Apache Foundation

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Code Injection

EUVDB-ID: #VU59098

Risk: Medium

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

CVE-ID: CVE-2021-44832

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: No

Description

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

The vulnerability exists due to improper input validation. A remote user with permission to modify the logging configuration file can construct a malicious configuration using a JDBC Appender with a data source referencing a JNDI URI which can execute remote code.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Apache Log4j: 2.0 - 2.17.0

CPE2.3 External links

https://lists.apache.org/thread/s1o5vlo78ypqxnzn6p8zf6t9shtq5143
https://issues.apache.org/jira/browse/LOG4J2-3293
https://logging.apache.org/log4j/2.x/security.html


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.



###SIDEBAR###