GNU Mailman 2.1.39, as bundled in cPanel (and WHM), in certain external archiver configurations, allows unauthenticated attackers to execute arbitrary OS commands via shell metacharacters in an email Subject line. NOTE: multiple third parties report that they are unable to reproduce this, regardless of whether cPanel or WHM is used.
GNU Mailman 2.1.39, as bundled in cPanel (and WHM), allows unauthenticated attackers to read arbitrary files via ../ directory traversal at /mailman/private/mailman (aka the private archive authentication endpoint) via the username parameter. NOTE: multiple third parties report that they are unable to reproduce this, regardless of whether cPanel or WHM is used.
A csrftoken value is not correctly checked against the right type of user when performing an admin operation. An attacker can obtain a value within the context of an unprivileged user account, and then use that value in a CSRF attack against an admin (e.g., for account takeover). Operations performed on the admin, admindb and edithtml pages should be validated only through CSRF tokens that are for the right type of user and not for every unprivileged user of mailman.
In GNU Mailman before 2.1.36, the CSRF token for the Cgi/admindb.py admindb page contains an encrypted version of the list admin password. This could potentially be cracked by a moderator via an offline brute-force attack.
In GNU Mailman before 2.1.36, a crafted URL to the Cgi/options.py user options page can execute arbitrary JavaScript for XSS.
A csrftoken value is not specific to a single user account. An attacker can obtain a value within the context of an unprivileged user account, and then use that value in a CSRF attack against an admin (e.g., for account takeover).
External Reference:
http://www.openwall.com/lists/oss-security/2021/10/21/4
A certain csrftoken value is derived from the admin password, and may be useful in conducting a brute-force attack against that password.
External Reference:
http://www.openwall.com/lists/oss-security/2021/10/21/4
GNU Mailman before 2.1.33 allows arbitrary content injection via the Cgi/private.py private archive login page.
/options/mailman in GNU Mailman before 2.1.31 allows Arbitrary Content Injection.
It was discovered that Mailman incorrectly handled certain inputs. An attacker could possibly use this to issue execute arbitrary scripts or HTML. (CVE-2018-0618) It was discovered that Mailman incorrectly handled certain inputs. An attacker could possibly use this issue to display arbitrary text on a web page. (CVE-2018-13796) It was discovered that Mailman incorrectly handled certain files. An attacker could possibly use this issue to execute arbitrary code. (CVE-2020-12137)
GNU Mailman 2.x before 2.1.30 uses the .obj extension for scrubbed application/octet-stream MIME parts. This behavior may contribute to XSS attacks against list-archive visitors, because an HTTP reply from an archive web server may lack a MIME type, and a web browser may perform MIME sniffing, conclude that the MIME type should have been text/html, and execute JavaScript code.
An issue was discovered in GNU Mailman before 2.1.28. A crafted URL can cause arbitrary text to be displayed on a web page from a trusted site.
Cross-site scripting vulnerability in Mailman 2.1.26 and earlier allows remote authenticated attackers to inject arbitrary web script or HTML via unspecified vectors.
It was discovered that Mailman incorrectly handled certain web scripts. An attacker could possibly use this to inject arbitrary code.
Cross-site scripting (XSS) vulnerability in the web UI in Mailman before 2.1.26 allows remote attackers to inject arbitrary web script or HTML via a user-options URL.
A CSRF vulnerability was found in mailman's user options page. This could conceivably allow an attacker to obtain a user's password.
References:
https://mail.python.org/pipermail/mailman-announce/2016-August/000225.html
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.
Common Vulnerabilities and Exposures assigned an identifier CVE-2002-0389 to the following vulnerability:
Pipermail in Mailman stores private mail messages with predictable filenames in a world-executable directory, which allows local users to read private mailing list archives.
References: [1] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-0389 [2] http://marc.theaimsgroup.com/?l=bugtraq&m=101902003314968&w=2 [3] http://sourceforge.net/tracker/?func=detail&atid=100103&aid=474616&groupid=103 [4] http://www.iss.net/securitycenter/static/8874.php [5] http://www.securityfocus.com/bid/4538
Further references: [6] https://bugzilla.novell.com/showbug.cgi?id=418589 [7] https://bugzilla.redhat.com/showbug.cgi?id=459530
Proposed upstream solution: [8] http://www.list.org/mailman-install/node9.html (in the Warning part)
Mailman, the mailing list manager, did not properly sanitize full name of the mailing list member, in the following confirmation dialogs: 1), "Confirm unsubscription request" screen, 2), "Confirm change of email address request" screen, 3), "Re-enable mailing list membership" screen.
A remote, authenticated user could use these flaws to conduct cross-site scripting (XSS) attacks (execute arbitrary HTML or scripting code) via a specially-crafted full name of the mailing list member.
References: [1] http://mail.python.org/pipermail/mailman-announce/2011-February/000157.html
Acknowledgements:
Red Hat would like to thank Mark Sapiro for reporting these flaws.
Mailman, the mailing list manager, did not properly sanitize full name of the mailing list member, in the following confirmation dialogs: 1), "Confirm unsubscription request" screen, 2), "Confirm change of email address request" screen, 3), "Re-enable mailing list membership" screen.
A remote, authenticated user could use these flaws to conduct cross-site scripting (XSS) attacks (execute arbitrary HTML or scripting code) via a specially-crafted full name of the mailing list member.
References: [1] http://mail.python.org/pipermail/mailman-announce/2011-February/000157.html
Acknowledgements:
Red Hat would like to thank Mark Sapiro for reporting these flaws.
Multiple cross-site scripting (XSS) vulnerabilities in GNU Mailman before 2.1.14rc1 allow remote authenticated users to inject arbitrary web script or HTML via vectors involving (1) the list information field or (2) the list description field.
Multiple SQL injection vulnerabilities in Kjtechforce mailman beta1, when magicquotesgpc is disabled, allow remote attackers to execute arbitrary SQL commands via (1) the code parameter to activate.php or (2) the dest parameter to index.php.
DISPUTED Format string vulnerability in Mailman before 2.1.9 allows attackers to execute arbitrary code via unspecified vectors. NOTE: the vendor has disputed this vulnerability, stating that it is "unexploitable."
CRLF injection vulnerability in Utils.py in Mailman before 2.1.9rc1 allows remote attackers to spoof messages in the error log and possibly trick the administrator into visiting malicious URLs via CRLF sequences in the URI.
Mailman before 2.1.9rc1 allows remote attackers to cause a denial of service via unspecified vectors involving "standards-breaking RFC 2231 formatted headers".
Flaw bug created to hold information about an old flaw we knew something about. For more details see the MITRE CVE description.
Cross-site scripting (XSS) vulnerability in the private archive script (private.py) in GNU Mailman 2.1.7 allows remote attackers to inject arbitrary web script or HTML via the action argument.
The attachment scrubber (Scrubber.py) in Mailman 2.1.5 and earlier, when using Python's library email module 2.5, allows remote attackers to cause a denial of service (mailing list delivery failure) via a multipart MIME message with a single part that has two blank lines between the first boundary and the end boundary.
Mailman 2.1.4 through 2.1.6 allows remote attackers to cause a denial of service via a message that causes the server to "fail with an Overflow on bad date data in a processed message," a different vulnerability than CVE-2005-3573.
Scrubber.py in Mailman 2.1.5-8 does not properly handle UTF8 character encodings in filenames of e-mail attachments, which allows remote attackers to cause a denial of service (application crash).