OS Command Injection in SpamAssassin - CVE-2020-1946

 

OS Command Injection in SpamAssassin - CVE-2020-1946

Published: March 24, 2021


Vulnerability identifier: #VU51703
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2020-1946
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Apache Foundation
Affected software:
SpamAssassin

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper input validation when processing rule configuration (.cf) files. A remote authenticated attacker trick the victim use a specially crafted rule configuration file and execute arbitrary OS commands on the target system.

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


How to mitigate CVE-2020-1946

Install updates from vendor's website.

Sources