Bug 1922230 (CVE-2020-29004)

Summary: CVE-2020-29004 mediawiki: Missing edit token in ApiPushBase.php facilitates CSRF attacks
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aos-bugs, Axel.Thimm, bmontgom, eparis, jburrell, jokerman, mike, nstielau, puiterwijk, shurley, sponnaga
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mediawiki 1.31.11, mediawiki 1.35.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-01 20:41:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1922232    
Bug Blocks: 1922236    

Description Pedro Sampaio 2021-01-29 13:51:43 UTC
The API in the Push extension for MediaWiki through 1.35 did not require an edit token in ApiPushBase.php and therefore facilitated a CSRF attack.

https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Push/+/625988
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Push/+/625988/10/src/api/ApiPushBase.php
https://phabricator.wikimedia.org/T262724

Comment 1 Pedro Sampaio 2021-01-29 13:52:12 UTC
Created mediawiki tracking bugs for this issue:

Affects: fedora-all [bug 1922232]

Comment 2 Przemyslaw Roguski 2021-02-01 19:20:48 UTC
External References:

https://lists.wikimedia.org/pipermail/mediawiki-announce/2020-December/000270.html

Comment 3 Product Security DevOps Team 2021-02-01 20:41:53 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-2020-29004