SecurityContext

CVE-2021-30158: MediaWiki - Broken Access Control

  • Cve: CVE-2021-30158
  • Name: MediaWiki - Broken Access Control
  • Description: An issue was discovered in MediaWiki before 1.31.12 and 1.32.x through 1.35.x before 1.35.2. Blocked users are unable to use Special:ResetTokens. This has security relevance because a blocked user might have accidentally shared a token, or might know that a token has been compromised, and yet is not able to block any potential future use of the token by an unauthorized party.
  • Impact: Blocked users cannot reset tokens, potentially allowing unauthorized parties to use compromised tokens indefinitely.
  • Remediation: Update to MediaWiki 1.31.12, 1.32.x, or 1.35.2 or later versions.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: information_disclosure
  • Requirement type: logged_in
  • Requirements: Attacker needs to be a blocked user
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
  • Epss score: 0.0173
  • Epss percentile: 0.78078
  • Assignee: [email protected]
  • Published at: 2021-04-06T07:15:12Z
  • Age in days: 2058
  • Modified at: 2026-06-17T03:49:45Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 7
  • Products total: 3
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-30158
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-287Improper Authentication

Public exploits

UrlSourceAdded date
https://phabricator.wikimedia.org/T277009nvd2021-04-06

References

Same in every row:

  • Source: nvd
UrlTags
https://phabricator.wikimedia.org/T277009Exploit, Issue Tracking, Patch, Vendor Advisory
https://lists.debian.org/debian-lts-announce/2021/05/msg00003.htmlMailing List, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/05/msg00006.htmlMailing List, Third Party Advisory
https://security.gentoo.org/glsa/202107-40Third Party Advisory
https://www.debian.org/security/2021/dsa-4889Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/26UJGHF7LJDOCQN6A3Z4PM7PYRKENJHE/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2OMSV7B2TCFBOCICN3B4SMQP5HVRJQIT/

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
mediawiki:mediawiki>= 1.32.0, < 1.35.2; < 1.31.12/v1/products/mediawiki/mediawiki
debian:debian_linux= 10.0, = 9.0/v1/products/debian/debian_linux
fedoraproject:fedora= 34, = 33/v1/products/fedoraproject/fedora

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-04-06
  • Remote: yes
  • Exposed hosts: 4739835
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports