Bug 1903759 (CVE-2020-25815) - CVE-2020-25815 mediawiki: LogEventList::getFiltersDesc is insecurely using message text to build options names for HTML multi-select field
Summary: CVE-2020-25815 mediawiki: LogEventList::getFiltersDesc is insecurely using me...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2020-25815
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1903760
Blocks: 1903781
TreeView+ depends on / blocked
 
Reported: 2020-12-02 18:22 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.9
Clone Of:
Environment:
Last Closed: 2020-12-07 17:02:45 UTC
Embargoed:


Attachments (Terms of Use)

Description Dhananjay Arunesh 2020-12-02 18:22:10 UTC
An issue was discovered in MediaWiki 1.32.x through 1.34.x before 1.34.4. LogEventList::getFiltersDesc is insecurely using message text to build options names for an HTML multi-select field. The relevant code should use escaped() instead of text().

References:
https://gerrit.wikimedia.org/g/mediawiki/core/+/ec76e14be658187544f07c1a249a047e1a75eaf8/includes/logging/LogEventsList.php#214
https://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048480.html
https://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048488.html

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

Affects: fedora-all [bug 1903760]

Comment 2 Przemyslaw Roguski 2020-12-07 15:09:49 UTC
Upstream commit:
https://gerrit.wikimedia.org/r/c/mediawiki/core/+/629728

Comment 4 Przemyslaw Roguski 2020-12-07 15:09:56 UTC
External References:

https://phabricator.wikimedia.org/T256171

Comment 5 Przemyslaw Roguski 2020-12-07 16:50:22 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:45 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-25815


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