Back

MEDIUM

spamassassin: crafted configuration files can run system commands without any output or errors

Published Dec 12, 2019

Description

In Apache SpamAssassin before 3.4.3, nefarious CF files can be configured to run system commands without any output or errors. With this, exploits can be injected in a number of scenarios. In addition to upgrading to SA 3.4.3, we recommend that users should only use update channels or 3rd party .cf files from trusted places.

Affected products

Remediation

Red Hat statement

The attack is triggered by malicious specially crafted .cf files which are basically configuration files for spamassasin. These files can be located at: 1. /usr/share/spamassassin 2. /etc/mail/spamassassin 3. user's home directory, in a directory called .spamassassin All of these locations can only be accessed by either the system administrator or by a user having a local shell account on the machine. In order to successfully exploit this flaw, the attacker needs to convince the user to place the malicious configuration files in one of the above locations.

Red Hat mitigation

The attack is triggered by malicious specially crafted .cf files which are configuration files for spamassasin. Do not use untrusted configuration files for spamassisin

References (33)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner apache
Published Dec 12, 2019
Updated Aug 5, 2024
Reserved Jun 5, 2018
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Moderate
Public date Dec 12, 2019
ENISA EUVD
Assigner n/a
Published n/a
Updated n/a
Exploited since n/a
Link n/a