Bug 1980308 (CVE-2021-35197) - CVE-2021-35197 mediawiki: blocked users are able to purge pages impacting Integrity
Summary: CVE-2021-35197 mediawiki: blocked users are able to purge pages impacting Int...
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2021-35197
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1980309
Blocks: 1980310
TreeView+ depends on / blocked
 
Reported: 2021-07-08 10:38 UTC by Marian Rehak
Modified: 2021-07-12 04:40 UTC (History)
11 users (show)

Fixed In Version: mediawiki 1.31.15, mediawiki 1.35.3, mediawiki 1.36.1
Doc Type: If docs needed, set a value
Doc Text:
An improper authorization vulnerability was found in mediawiki. Mediawiki bots may have unintended API access even when a sitewide block has been applied. An attacker can use this vulnerability to potentially utilize a bot to access the mediawiki API and conduct actions like purge pages.
Clone Of:
Environment:
Last Closed: 2021-07-12 04:40:22 UTC
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2021-07-08 10:38:14 UTC
In MediaWiki before 1.31.15, 1.32.x through 1.35.x before 1.35.3, and 1.36.x before 1.36.1, bots have certain unintended API access. When a bot account has a "sitewide block" applied, it is able to still "purge" pages through the MediaWiki Action API (which a "sitewide block" should have prevented).

References:

https://lists.wikimedia.org/hyperkitty/list/mediawiki-announce@lists.wikimedia.org/thread/YR3X4L2CPSEJVSY543AWEO65TD6APXHP/

Comment 1 Marian Rehak 2021-07-08 10:38:53 UTC
Created mediawiki tracking bugs for this issue:

Affects: fedora-all [bug 1980309]

Comment 2 Product Security DevOps Team 2021-07-12 04:40:22 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-35197


Note You need to log in before you can comment on or make changes to this bug.