#VU70477 Code Injection in Karaf - CVE-2022-40145 

 

#VU70477 Code Injection in Karaf - CVE-2022-40145

Published: December 22, 2022


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

Description

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

The vulnerability exists due to improper input validation when processing the LDAP server URL. A remote attacker with control over the LDAP server address can inject and execute arbitrary Java code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system but requires that application configuration uses a JNDI LDAP data source URI and the attacker has control over the target LDAP server.


Remediation

Install updates from vendor's website.

External links