CVE-2015-2775: Path Traversal
A path traversal vulnerability has been discovered and fixed in Mailman 2.1.20. This vulnerability is only exploitable by a local user on a Mailman server where the suggested Exim transport, the Postfix postfixtomailman.py transport or some other programmatic MTA delivery not using aliases is employed.
The patch to Mailman/Utils.py at <https://bugs.launchpad.net/mailman/+bug/1437145/+attachment/4358114/+files/p> can be applied with at most a line number offset to any Mailman 2.1.x version, but the referenced mmcfg.ACCEPTABLELISTNAMECHARACTERS setting didn't exist before Mailman 2.1.11 so if you are patching an older version, you need to add:
ACCEPTABLELISTNAMECHARACTERS = '[-+.=a-z0-9]'
to mmcfg.py and/or Defaults.py.
Other sources
Directory traversal vulnerability in GNU Mailman before 2.1.20, when not using a static alias, allows remote attackers to execute arbitrary files via a .. (dot dot) in a list name.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/mailmanto a version that resolves this vulnerability.Fixed in 2.1.20 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.1.20 - Configuration
For versions before 2.1.11 that you are patching, add ACCEPTABLE_LISTNAME_CHARACTERS = '[-+_.=a-z0-9]' to mm_cfg.py and/or Defaults.py.
GNU Mailman ACCEPTABLE_LISTNAME_CHARACTERS = [-+_.=a-z0-9]
Event History
Frequently Asked Questions
What is the severity of CVE-2015-2775?
CVE-2015-2775 is rated as a medium severity vulnerability due to its potential to allow arbitrary file execution.
What systems are affected by CVE-2015-2775?
CVE-2015-2775 affects GNU Mailman versions prior to 2.1.20 on various operating systems including Ubuntu, Debian, and Red Hat.
How do I fix CVE-2015-2775?
To fix CVE-2015-2775, upgrade to GNU Mailman version 2.1.20 or later.
What kind of attack does CVE-2015-2775 enable?
CVE-2015-2775 enables remote attackers to execute arbitrary files through directory traversal via a crafted list name.
When was CVE-2015-2775 disclosed?
CVE-2015-2775 was disclosed in April 2015.