#VU64632 Path traversal in DCMTK - CVE-2022-2120


Vulnerability identifier: #VU64632

Vulnerability risk: Medium

CVSSv4.0: 5.2 [CVSS:4.0/AV:A/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-2120

CWE-ID: CWE-22

Exploitation vector: Local network

Exploit availability: No

Vulnerable software:
DCMTK
Universal components / Libraries / Libraries used by multiple products

Vendor: OFFIS

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 in the service class user (SCU). A remote attacker can send a specially crafted HTTP request and write arbitrary files on the system, leading to remote code execution.

Mitigation
Install update from vendor's website.

Vulnerable software versions

DCMTK: before 3.6.7


External links
https://ics-cert.us-cert.gov/advisories/icsma-22-174-01
https://support.dcmtk.org/redmine/issues/1021


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the local network (LAN).

Is there known malware, which exploits this vulnerability?

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


Latest bulletins with this vulnerability