Bug 1903761 (CVE-2020-25827) - CVE-2020-25827 mediawiki: using OATHAuth on a farm/cluster (such as via CentralAuth), rate limiting of OATH tokens is only done on a single site level
Summary: CVE-2020-25827 mediawiki: using OATHAuth on a farm/cluster (such as via Centr...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2020-25827
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: 1903762
Blocks: 1903781
TreeView+ depends on / blocked
 
Reported: 2020-12-02 18:24 UTC by Dhananjay Arunesh
Modified: 2021-02-16 18:48 UTC (History)
11 users (show)

Fixed In Version: mediawiki-1.34.4, mediawiki-1.31.10
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-07 17:02:48 UTC
Embargoed:


Attachments (Terms of Use)

Description Dhananjay Arunesh 2020-12-02 18:24:14 UTC
An issue was discovered in the OATHAuth extension in MediaWiki before 1.31.10 and 1.32.x through 1.34.x before 1.34.4. For Wikis using OATHAuth on a farm/cluster (such as via CentralAuth), rate limiting of OATH tokens is only done on a single site level. Thus, multiple requests can be made across many wikis/sites concurrently.

References:
https://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048480.html
https://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048488.html
https://phabricator.wikimedia.org/T251661

Comment 1 Dhananjay Arunesh 2020-12-02 18:24:58 UTC
Created mediawiki tracking bugs for this issue:

Affects: fedora-all [bug 1903762]

Comment 2 Przemyslaw Roguski 2020-12-07 15:24:57 UTC
This vulnerability is related to the factoryNonLocal function, which was introduced in version 1.31.9.
OpenShift Container Platform delivers mediawiki-1.27.7-1, where the vulnerable code doesn't exist.

Comment 4 Przemyslaw Roguski 2020-12-07 15:25:04 UTC
External References:

https://phabricator.wikimedia.org/T251661

Comment 5 Przemyslaw Roguski 2020-12-07 16:51:28 UTC
Statement:

OpenShift Container Platform (OCP) delivers the mediawiki package, but the vulnerable code is not bundled, therefore OCP is not affected by this flaw.

Comment 6 Product Security DevOps Team 2020-12-07 17:02:48 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-25827


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