#VU77782 Path traversal in Codehaus plexus-utils


Published: 2023-06-29

Vulnerability identifier: #VU77782

Vulnerability 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

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Codehaus plexus-utils
Universal components / Libraries / Software for developers

Vendor: Codehaus

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.


Latest bulletins with this vulnerability