Cloudanix VulnDB

CVE-2021-44227

High · 8.8

CVSS

8.8

EPSS

0.8%

Published

Dec 2, 2021

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in mailing list software lets certain users trick the system into handing over full administrative control without proper approval.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Privilege Gain
Component
Application
Class
CSRF
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The vulnerability permits an authenticated list member or moderator to obtain a valid CSRF token and submit crafted administrative requests that change the admin password or perform other privileged configuration changes.

Why it matters to the business

Unauthorized actors could seize control of mailing list administration, alter subscriber data, disrupt communications, or pivot to broader system access, increasing operational risk and potential data exposure across affected deployments.

How an attack unfolds

An attacker who is already a list member or moderator first obtains a CSRF token through normal list interaction, then constructs and submits a forged administrative request using that token to reset the admin password or apply other changes without additional authentication.

How to fix it

Upgrade GNU Mailman to version 2.1.38 or later on all affected systems; apply the same update to any Debian packages that bundle Mailman.

How to confirm the fix worked

Confirm GNU Mailman version is 2.1.38 or higher; audit recent administrative changes for unexpected password resets or configuration modifications.

Typical attack path

  1. Gain list member or moderator privileges
  2. Retrieve a valid CSRF token via legitimate list operations
  3. Craft and submit an administrative request using the token to change the admin password or other settings
  4. Use newly obtained admin access for further actions

How to detect it

Inspect Mailman logs for administrative actions performed by non-admin accounts, unexpected password change events, or requests carrying CSRF tokens from list-member contexts; correlate with web server access logs for suspicious POSTs to admin paths.

What your security team should do

  • Prioritize immediate upgrade of all Mailman instances to 2.1.38 or newer
  • Review and rotate any admin credentials that may have been exposed
  • Enable additional request validation or token binding where supported
  • Monitor administrative endpoints for anomalous activity from non-admin accounts

The record

In GNU Mailman before 2.1.38, a list member or moderator can get a CSRF token and craft an admin request (using that token) to set a new admin password or make other changes.

Affected packages

Ecosystem Package Introduced Fixed
PyPI mailman 0 2.1.38
AlmaLinux:8 mailman 0 3:2.1.29-12.module_el8.5.0+26+48d4c9ee.2
AlmaLinux:8 mailman 0 3:2.1.29-12.module_el8.5.0+2602+327eb9f3.2
Debian:9 mailman 0 1:2.1.23-1+deb9u8
Red Hat:enterprise_linux:7::server mailman 0 3:2.1.15-30.el7_9.2
Red Hat:enterprise_linux:7::server mailman-debuginfo 0 3:2.1.15-30.el7_9.2
Red Hat:enterprise_linux:7::workstation mailman 0 3:2.1.15-30.el7_9.2
Red Hat:enterprise_linux:7::workstation mailman-debuginfo 0 3:2.1.15-30.el7_9.2
Red Hat:enterprise_linux:8::appstream mailman 0 3:2.1.29-12.module+el8.5.0+13466+327eb9f3.2
Red Hat:enterprise_linux:8::appstream mailman-debuginfo 0 3:2.1.29-12.module+el8.5.0+13466+327eb9f3.2
Red Hat:enterprise_linux:8::appstream mailman-debugsource 0 3:2.1.29-12.module+el8.5.0+13466+327eb9f3.2
Red Hat:rhel_e4s:8.1::appstream mailman 0 3:2.1.29-5.module+el8.1.0+13542+e9b93c88
Red Hat:rhel_e4s:8.1::appstream mailman-debuginfo 0 3:2.1.29-5.module+el8.1.0+13542+e9b93c88
Red Hat:rhel_e4s:8.1::appstream mailman-debugsource 0 3:2.1.29-5.module+el8.1.0+13542+e9b93c88
Red Hat:rhel_eus:8.2::appstream mailman 0 3:2.1.29-6.module+el8.2.0+13543+86b2c701
Red Hat:rhel_eus:8.2::appstream mailman-debuginfo 0 3:2.1.29-6.module+el8.2.0+13543+86b2c701
Red Hat:rhel_eus:8.2::appstream mailman-debugsource 0 3:2.1.29-6.module+el8.2.0+13543+86b2c701
Red Hat:rhel_eus:8.4::appstream mailman 0 3:2.1.29-11.module+el8.4.0+13467+746daedf.2
Red Hat:rhel_eus:8.4::appstream mailman-debuginfo 0 3:2.1.29-11.module+el8.4.0+13467+746daedf.2
Red Hat:rhel_eus:8.4::appstream mailman-debugsource 0 3:2.1.29-11.module+el8.4.0+13467+746daedf.2
Rocky Linux:8 mailman 0 3:2.1.29-12.module+el8.5.0+717+27fd1ba7.2
SUSE:HPE Helion OpenStack 8 mailman 0 2.1.17-3.26.1
SUSE:Linux Enterprise Server 12 SP2-BCL mailman 0 2.1.17-3.26.1
SUSE:Linux Enterprise Server 12 SP3-BCL mailman 0 2.1.17-3.26.1
SUSE:Linux Enterprise Server 12 SP3-LTSS mailman 0 2.1.17-3.26.1
SUSE:Linux Enterprise Server 12 SP4-LTSS mailman 0 2.1.17-3.26.1
SUSE:Linux Enterprise Server 12 SP5 mailman 0 2.1.17-3.26.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 mailman 0 2.1.17-3.26.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 mailman 0 2.1.17-3.26.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 mailman 0 2.1.17-3.26.1
SUSE:OpenStack Cloud 8 mailman 0 2.1.17-3.26.1
SUSE:OpenStack Cloud 9 mailman 0 2.1.17-3.26.1
SUSE:OpenStack Cloud Crowbar 8 mailman 0 2.1.17-3.26.1
SUSE:OpenStack Cloud Crowbar 9 mailman 0 2.1.17-3.26.1
Ubuntu:18.04:LTS mailman 0 1:2.1.26-1ubuntu0.6
Ubuntu:20.04:LTS mailman 0 No fix
Ubuntu:Pro:16.04:LTS mailman 0 No fix
Ubuntu:Pro:16.04:LTS mailman 0 1:2.1.20-1ubuntu0.6+esm3
Ubuntu:Pro:20.04:LTS mailman 0 No fix
Ubuntu:Pro:20.04:LTS mailman 0 1:2.1.29-1ubuntu3.1+esm2

Related vulnerabilities