CVE-2015-2775
NoneCVSS
—
EPSS
7.9%
Published
Apr 13, 2015
CISA due date
—
Cloudanix analysis
A flaw in older versions of the Mailman mailing-list software lets attackers run any program they choose on the server by sending a specially crafted list name.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Moderate
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Path Traversal
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Directory traversal in GNU Mailman allows remote unauthenticated attackers to supply a crafted list name containing .. sequences that resolves to and executes arbitrary files on the server when static aliases are not in use.
Why it matters to the business
Attackers can run any file on affected mail servers, leading to full system compromise, data theft, or service disruption; the vulnerability has been public for years with working exploits available, increasing risk for unpatched installations still present in many environments.
How an attack unfolds
An attacker sends an HTTP or mail request containing a list name with embedded .. path segments; the server resolves the name without proper sanitization and executes the attacker-chosen file, achieving code execution when the application is configured without static aliases.
How to fix it
Upgrade GNU Mailman to version 2.1.20 or later and enable static aliases; if immediate upgrade is not possible, restrict access to the Mailman interface and monitor for suspicious list-name requests.
How to confirm the fix worked
Confirm Mailman version is 2.1.20 or newer via the version banner or package manager; test that list-name inputs containing .. are rejected; review server configuration to verify static aliases are active.
Typical attack path
- Identify a Mailman installation that does not enforce static aliases
- Craft a request containing a list name with .. sequences pointing to a desired executable or script
- Submit the request over the network to the Mailman CGI or mail interface
- Server resolves and executes the target file, granting the attacker code execution in the context of the Mailman process
How to detect it
Review web-server and Mailman access logs for list-name parameters containing .. sequences; look for unexpected file executions or process spawns originating from the Mailman CGI or mail processes; correlate with any post-exploitation artifacts such as new user accounts or outbound connections.
What your security team should do
- Prioritize patching all Mailman instances to 2.1.20 or later within the next maintenance window
- Enable static alias mode wherever Mailman is deployed
- Add network or WAF rules to block requests containing .. in list-name parameters
- Scan internal package inventories for any remaining pre-2.1.20 Mailman deployments
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:6.0 | mailman | 0 | 1:2.1.13-6 |
| Debian:7 | mailman | 0 | 1:2.1.15-1+deb7u1 |
| Mageia:4 | mailman | 0 | 2.1.20-1.1.mga4 |
| Red Hat:enterprise_linux:6::server | mailman | 0 | 3:2.1.12-25.el6 |
| Red Hat:enterprise_linux:6::server | mailman-debuginfo | 0 | 3:2.1.12-25.el6 |
| Red Hat:enterprise_linux:6::workstation | mailman | 0 | 3:2.1.12-25.el6 |
| Red Hat:enterprise_linux:6::workstation | mailman-debuginfo | 0 | 3:2.1.12-25.el6 |
| Red Hat:enterprise_linux:7::server | mailman | 0 | 3:2.1.15-21.ael7b_1 |
| Red Hat:enterprise_linux:7::server | mailman-debuginfo | 0 | 3:2.1.15-21.ael7b_1 |
| Red Hat:enterprise_linux:7::workstation | mailman | 0 | 3:2.1.15-21.el7_1 |
| Red Hat:enterprise_linux:7::workstation | mailman-debuginfo | 0 | 3:2.1.15-21.el7_1 |
| SUSE:Enterprise Storage 4 | mailman | 0 | 2.1.17-3.3.3 |
| SUSE:Linux Enterprise Point of Sale 11 SP3 | mailman | 0 | 2.1.15-9.6.6.1 |
| SUSE:Linux Enterprise Server 11 SP3-LTSS | mailman | 0 | 2.1.15-9.6.6.1 |
| SUSE:Linux Enterprise Server 11 SP3-TERADATA | mailman | 0 | 2.1.15-9.6.6.1 |
| SUSE:Linux Enterprise Server 11 SP4 | mailman | 0 | 2.1.15-9.6.6.1 |
| SUSE:Linux Enterprise Server 12 SP1-LTSS | mailman | 0 | 2.1.17-3.3.3 |
| SUSE:Linux Enterprise Server 12 SP2-BCL | mailman | 0 | 2.1.17-3.3.3 |
| SUSE:Linux Enterprise Server 12 SP2-LTSS | mailman | 0 | 2.1.17-3.3.3 |
| SUSE:Linux Enterprise Server 12 SP3 | mailman | 0 | 2.1.17-3.3.3 |
| SUSE:Linux Enterprise Server 12 SP4 | mailman | 0 | 2.1.17-3.3.3 |
| SUSE:Linux Enterprise Server 12-LTSS | mailman | 0 | 2.1.17-3.3.3 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | mailman | 0 | 2.1.15-9.6.6.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | mailman | 0 | 2.1.17-3.3.3 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | mailman | 0 | 2.1.17-3.3.3 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | mailman | 0 | 2.1.17-3.3.3 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP4 | mailman | 0 | 2.1.17-3.3.3 |
| SUSE:OpenStack Cloud 7 | mailman | 0 | 2.1.17-3.3.3 |
| Ubuntu:14.04:LTS | mailman | 0 | 1:2.1.16-2ubuntu0.1 |
| openSUSE:Tumbleweed | mailman | 0 | 2.1.23-1.2 |
Related vulnerabilities
- CVE-2018-5950 Cross-site scripting (XSS) vulnerability in the web UI in Mailman before 2.1.26 allows… Also affects mailman
- CVE-2016-6893 Cross-site request forgery (CSRF) vulnerability in the user options page in GNU Mailman… Also affects mailman
- CVE-2021-44227 In GNU Mailman before 2.1.38, a list member or moderator can get a CSRF token and craft… Also affects mailman
- CVE-2021-42097 GNU Mailman before 2.1.35 may allow remote Privilege Escalation. Also affects mailman
- CVE-2018-0618 Cross-site scripting vulnerability in Mailman 2.1.26 and earlier allows remote… Also affects mailman
- CVE-2020-15011 GNU Mailman before 2.1.33 allows arbitrary content injection via the Cgi/private.py… Also affects mailman
- CVE-2020-12108 /options/mailman in GNU Mailman before 2.1.31 allows Arbitrary Content Injection. Also affects mailman
- CVE-2021-43331 In GNU Mailman before 2.1.36, a crafted URL to the Cgi/options.py user options page can… Also affects mailman