#VU59098 Code Injection in Apache Log4j


Published: 2021-12-28 | Updated: 2022-04-25

Vulnerability identifier: #VU59098

Vulnerability risk: Medium

CVSSv3.1: 5.8 [CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-44832

CWE-ID: CWE-94

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Apache Log4j
Universal components / Libraries / Libraries used by multiple products

Vendor: Apache Foundation

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


External links
http://lists.apache.org/thread/s1o5vlo78ypqxnzn6p8zf6t9shtq5143
http://issues.apache.org/jira/browse/LOG4J2-3293
http://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.


Latest bulletins with this vulnerability