Cloudanix VulnDB

CVE-2021-43332

Medium · 6.5

CVSS

6.5

EPSS

1.2%

Published

Nov 12, 2021

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Track

A moderator could potentially discover the password used to manage an email list by examining a security token on an administrative page and guessing the password offline.

Exploitation
Remote Authenticated
Attacker needs
Low Privilege
Complexity
Low
Impact
Data Exposure
Component
Application
Class
Credential Exposure
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The CSRF token on the admindb.py page embeds an encrypted copy of the list administrator password, exposing it to offline brute-force recovery by any authenticated moderator who can view the token.

Why it matters to the business

Compromise of mailing-list administrative credentials can allow takeover of email distribution lists, leading to unauthorized message posting, subscriber manipulation, or data exfiltration from long-running community or corporate lists.

How an attack unfolds

An attacker with moderator access requests the admindb page, captures the CSRF token that contains the encrypted password, exports the token value, and performs offline brute-force decryption to recover the plaintext administrator password.

How to fix it

Upgrade GNU Mailman to version 2.1.36 or later; regenerate all list administrator passwords after the upgrade; restrict moderator accounts to the minimum necessary personnel.

How to confirm the fix worked

Confirm Mailman version is 2.1.36 or newer; inspect admindb.py responses to verify the CSRF token no longer embeds password material; test that moderator accounts cannot obtain usable password data from the token.

Typical attack path

  1. Obtain moderator credentials or session for the Mailman instance
  2. Request the /cgi-bin/admindb.py page for a target list
  3. Extract the CSRF token value from the page source or headers
  4. Perform offline brute-force against the encrypted password contained in the token
  5. Use recovered credentials to log in as list administrator and perform privileged actions

How to detect it

Search web-server access logs for repeated or anomalous requests to admindb.py endpoints; look for moderator sessions followed by large token values or subsequent authentication attempts using recovered credentials; monitor for offline password-cracking tooling or unusual outbound traffic after admindb access.

What your security team should do

  • Immediately upgrade all Mailman installations to 2.1.36 or later
  • Audit moderator accounts and rotate list administrator passwords
  • Review access logs for unusual admindb.py requests from moderator accounts
  • Disable or tightly restrict moderator roles until patches are applied

The record

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.

Affected packages

Ecosystem Package Introduced Fixed
Debian:9 mailman 0 1:2.1.23-1+deb9u8
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.5
Ubuntu:20.04:LTS mailman 0 No fix
Ubuntu:Pro:16.04:LTS mailman 0 1:2.1.20-1ubuntu0.6+esm2
Ubuntu:Pro:20.04:LTS mailman 0 1:2.1.29-1ubuntu3.1+esm1

Related vulnerabilities