PT-2020-4064 · Clamav · Clamscan

Published

2020-04-07

·

Updated

2022-05-24

·

CVE-2020-7613

CVSS v3.1

8.1

High

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: clamscan versions prior to 1.2.1
Description: The issue is related to a Command Injection vulnerability. It is possible to inject arbitrary commands as part of the is clamav binary function located within Index.js. This vulnerability requires a pre-requisite that a folder should be created with the same command that will be chained to execute, which lowers the risk of this issue. The vulnerability exists due to the lack of measures to neutralize special elements, allowing a remote attacker to execute arbitrary commands.
Recommendations: For clamscan versions prior to 1.2.1, as a temporary workaround, consider disabling the is clamav binary function until a patch is available. Restrict access to the Index.js file to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Special Elements Injection

OS Command Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2020-04464
CVE-2020-7613
GHSA-5V25-XR56-PHPH
SNYK-JS-CLAMSCAN-564113

Affected Products

Clamscan