Multiple vulnerabilities in Codehaus plexus-utils



Published: 2023-06-29
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2022-4245
CVE-2022-4244
CWE-ID CWE-91
CWE-22
Exploitation vector Network
Public exploit Public exploit code for vulnerability #2 is available.
Vulnerable software
Subscribe
Codehaus plexus-utils
Universal components / Libraries / Software for developers

Vendor Codehaus

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) XML injection

EUVDB-ID: #VU77783

Risk: Medium

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

CVE-ID: CVE-2022-4245

CWE-ID: CWE-91 - XML Injection

Exploit availability: No

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 XML data. A remote attacker can pass specially crafted XML data to the application and perform arbitrary actions on the system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Codehaus plexus-utils: 3.0 - 3.0.23

External links

http://github.com/codehaus-plexus/plexus-utils/issues/3
http://bugzilla.redhat.com/show_bug.cgi?id=2149843
http://security.snyk.io/vuln/SNYK-JAVA-ORGCODEHAUSPLEXUS-461102


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Path traversal

EUVDB-ID: #VU77782

Risk: Medium

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

CVE-ID: CVE-2022-4244

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences. A remote attacker can send a specially crafted HTTP request and read arbitrary files on the system.

Request example:

http://[host]/public/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/root/.ssh/id_rsa

Mitigation

Install update from vendor's website.

Vulnerable software versions

Codehaus plexus-utils: 3.0 - 3.0.23

External links

http://bugzilla.redhat.com/show_bug.cgi?id=2149841
http://security.snyk.io/vuln/SNYK-JAVA-ORGCODEHAUSPLEXUS-31521
http://github.com/codehaus-plexus/plexus-utils/commit/33a2853df8185b4519b1b8bfae284f03392618ef


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###