Bug 2036089 (CVE-2021-45474)

Summary: CVE-2021-45474 mediawiki: XSS in Special:ImportFile URL
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX 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: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in mediawiki through 1.37. The Special:ImportFile URI (aka FileImporter) allows XSS, shown by the clientUrl parameter.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-07 17:11:28 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: 2036090    
Bug Blocks: 2036091    

Description Guilherme de Almeida Suckevicz 2021-12-29 17:12:43 UTC
In MediaWiki through 1.37, the Special:ImportFile URI (aka FileImporter) allows XSS, as demonstrated by the clientUrl parameter.

Reference:
https://phabricator.wikimedia.org/T296605

Upstream patch:
https://gerrit.wikimedia.org/r/q/Id1c8910aeac5b452fbabeddab70360765518223e

Comment 1 Guilherme de Almeida Suckevicz 2021-12-29 17:13:02 UTC
Created mediawiki tracking bugs for this issue:

Affects: fedora-all [bug 2036090]

Comment 2 Product Security DevOps Team 2022-01-07 17:11:26 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-45474