Back

HIGH

spamassassin: command injection via crafted configuration file

Published Jan 30, 2020

Description

A command execution issue was found in Apache SpamAssassin prior to 3.4.3. Carefully crafted nefarious rule configuration (.cf) files can be configured to run system commands similar to CVE-2018-11805. With this bug unpatched, exploits can be injected in a number of scenarios including the same privileges as spamd is run which may be elevated though doing so remotely is difficult. In addition to upgrading to SA 3.4.4, we again recommend that users should only use update channels or 3rd party .cf files from trusted places. If you cannot upgrade, do not use 3rd party rulesets, do not use sa-compile and do not run spamd as an account with elevated privileges.

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.

References (15)

Change history (0)

No recorded changes yet.

Sources

CVE.org / MITRE

Status PUBLISHED
Assigner apache
Published Jan 30, 2020
Updated Aug 4, 2024
Reserved Dec 2, 2019

CISA Vulnrichment

No data

NVD

Status Modified
Modified Jun 17, 2026

Red Hat

Severity Moderate
Public date Jan 30, 2020
Bugzilla 1802977

ENISA EUVD

Assigner apache
Published Jan 30, 2020
Updated Aug 4, 2024

GitHub

No data