#VU72298 XML External Entity injection in ClamAV


Published: 2024-04-19

Vulnerability identifier: #VU72298

Vulnerability risk: Medium

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

CVE-ID: CVE-2023-20052

CWE-ID: CWE-611

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
ClamAV
Client/Desktop applications / Antivirus software/Personal firewalls

Vendor: ClamAV

Description

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to enabling XML entity substitution. A remote attacker can pass a specially crafted XML code to the antivirus and view bytes from any file that may be read by the ClamAV scanning process.


Mitigation
Install updates from vendor's website.

Vulnerable software versions

ClamAV: 1.0.0, 0.105.0 - 0.105.1, 0.104.0 - 0.104.4, 0.103 - 0.103.7, 0.9 rc1, 0.93 - 0.93.3, 0.92 - 0.92.1, 0.91 - 0.91.2, 0.90 - 0.90.3, 0.86 - 0.86.2, 0.84 rc2, 0.84 rc1, 0.81 rc1, 0.80 rc4, 0.80 rc3, 0.80 rc2, 0.80 rc1, 0.68 - 0.68.1, 0.11, 0.06, 0.04, 0.67, 0.66, 0.65, 0.60 - 0.60p, 0.54, 0.53, 0.52, 0.51, 0.24, 0.23, 0.22, 0.21, 0.20, 0.15, 0.14, 0.13, 0.12, 0.10, 0.05, 0.3, 0.03, 0.02, 0.01, 0.102.0 - 0.102.4, 0.101.0 - 0.101.5, 0.70, 0.71, 0.72, 0.73, 0.74, 0.75 - 0.75.1, 0.80, 0.81, 0.82, 0.83, 0.84, 0.85 - 0.85.1, 0.87 - 0.87.1, 0.88 - 0.88.7, 0.94 - 0.94.2, 0.95 - 0.95.3, 0.96 - 0.96.5, 0.97 - 0.97.8, 0.98 - 0.98.7, 0.99 - 0.99.4, 0.100.0 - 0.100.3


External links
http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-clamav-xxe-TcSZduhN


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