spamassassin: crafted configuration files can run system commands without any output or errors
Published Dec 12, 2019
6.7
MEDIUMCVSS 3.1
EPSS 0.87%
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
-
- Version Apache SpamAssassin prior to 3.4.3StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Apache | Apache SpamAssassin | n/a |
|
Configuration 1
- < 3.4.3
Configuration 2
- 8.0
- 9.0
- 10.0
No data.
Red Hat Enterprise Linux 8
spamassassin-0:3.4.2-10.el8
Fixed · RHSA-2020:4625
Red Hat Enterprise Linux 5
spamassassin
Out of support scope
Red Hat Enterprise Linux 6
spamassassin
Out of support scope
Red Hat Enterprise Linux 7
spamassassin
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | spamassassin-0:3.4.2-10.el8 | Fixed | RHSA-2020:4625 |
| Red Hat Enterprise Linux 5 | spamassassin | Out of support scope | n/a |
| Red Hat Enterprise Linux 6 | spamassassin | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | spamassassin | Will not fix | n/a |
No package ranges for this CVE.
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)
- http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00003.html vendor-advisoryx_refsource_SUSE
- http://www.openwall.com/lists/oss-security/2019/12/12/1 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2020/01/30/2 mailing-listx_refsource_MLIST
- http://www.openwall.com/lists/oss-security/2020/01/30/3 mailing-listx_refsource_MLIST
- https://access.redhat.com/security/cve/CVE-2018-11805 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1784974 Issue Tracking
- https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7647 x_refsource_CONFIRMPermissions Required
- https://lists.apache.org/thread.html/0b5c73809d0690527341d940029f743807b70550050fd23ee869c5e5%40%3Cusers.spamassassin.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/2946b38caec47f7f6a79e8e03d2aa723794186e59a7dc6b5e76dfc18%40%3Cannounce.spamassassin.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/6f89f82a573ea616dce53ec67e52d963618a9f9ac71da5c1efdbd166%40%3Cusers.spamassassin.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/8534b60bae95ac3a8a4adb840f4ab26135f1c973ce197ff44439cbae%40%3Cusers.spamassassin.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/bc58907171c6585e5875a3ce86066d4956c218911cb74e3156de4433%40%3Cannounce.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/c1f59b7e13b7f2c12f847f7d0dec2636df3cdbcaa6d8309007395ff4%40%3Cusers.spamassassin.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/d015dc5b4f24fd6777a85d068502a9c5d58d69d877ed5b0eb9a22cd5%40%3Cdev.spamassassin.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r217177f7de36deab36dab88db4b6448961122571176dd4b2c133d08e%40%3Cannounce.spamassassin.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r2578c486552637bfedbe624940cc60d6463bd90044c887bdebb75e74%40%3Cusers.spamassassin.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r3d32ebf97b1245b8237763444e911c4595d2ad5e34a1641840d8146f%40%3Cusers.spamassassin.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r6729f3d3be754a06c39bb4f11c925a3631e8ea2b4c865546d755cb0a%40%3Cannounce.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r6729f3d3be754a06c39bb4f11c925a3631e8ea2b4c865546d755cb0a%40%3Cdev.spamassassin.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r6729f3d3be754a06c39bb4f11c925a3631e8ea2b4c865546d755cb0a%40%3Cusers.spamassassin.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r71f789fcd6339144e3d4db8f4128def12c341e638bd0107a0b82a05b%40%3Cannounce.spamassassin.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/rc4df9835fb2d7b5bb1202fca99a1de21a40acef055661d3a9e8ae781%40%3Cannounce.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/rc4df9835fb2d7b5bb1202fca99a1de21a40acef055661d3a9e8ae781%40%3Cdev.spamassassin.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/rc4df9835fb2d7b5bb1202fca99a1de21a40acef055661d3a9e8ae781%40%3Cusers.spamassassin.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.debian.org/debian-lts-announce/2019/12/msg00019.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-11805
- https://seclists.org/bugtraq/2019/Dec/27 mailing-listx_refsource_BUGTRAQMailing ListThird Party Advisory
- https://seclists.org/oss-sec/2019/q4/154 x_refsource_MISCMailing ListThird Party Advisory
- https://svn.apache.org/repos/asf/spamassassin/branches/3.4/build/announcements/3.4.3.txt x_refsource_CONFIRMMailing ListVendor Advisory
- https://usn.ubuntu.com/4237-1/ vendor-advisoryx_refsource_UBUNTU
- https://usn.ubuntu.com/4237-2/ vendor-advisoryx_refsource_UBUNTU
- https://www.cve.org/CVERecord?id=CVE-2018-11805
- https://www.debian.org/security/2019/dsa-4584 vendor-advisoryx_refsource_DEBIANThird Party Advisory
Change history (0)
No recorded changes yet.