Bug 853426 (CVE-2012-4379)

Summary: CVE-2012-4379 mediawiki: CSRF tokens, available via API, not protected when X-Frame-Options headers used
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: axel.thimm, extras-orphan
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mediawiki 1.19.2, mediawiki 1.18.5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-19 21:56:30 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: 853446, 853447    
Bug Blocks:    

Description Jan Lieskovsky 2012-08-31 13:30:50 UTC
A cross-site request forgery flaw was found in the way MediaWiki, a wiki engine, protected CSRF tokens available via the API when X-Frame-Options headers were used. Previously it was possible for a remote attacker to obtain them and possibly perform CSRF attacks.

References:
[1] http://www.gossamer-threads.com/lists/wiki/mediawiki/295767

Upstream bug:
[2] https://bugzilla.wikimedia.org/show_bug.cgi?id=39180

Relevant upstream patch:
[3] https://gerrit.wikimedia.org/r/#/c/20472/

Comment 1 Jan Lieskovsky 2012-08-31 13:32:33 UTC
This issue affects the versions of the mediawiki package, as shipped with Fedora release of 16 and 17. Please schedule an update.

--

This issue affects the version of the mediawiki package, as shipped with Fedora EPEL 5. Please schedule an update.

Comment 2 Jan Lieskovsky 2012-08-31 14:37:22 UTC
CVE request:
http://www.openwall.com/lists/oss-security/2012/08/31/6

Comment 3 Jan Lieskovsky 2012-08-31 14:40:19 UTC
Created mediawiki tracking bugs for this issue

Affects: fedora-all [bug 853446]

Comment 4 Jan Lieskovsky 2012-08-31 14:42:15 UTC
Created mediawiki tracking bugs for this issue

Affects: epel-5 [bug 853447]

Comment 5 Jan Lieskovsky 2012-09-03 08:23:31 UTC
The CVE identifier of CVE-2012-4379 has been assigned to this issue:
http://www.openwall.com/lists/oss-security/2012/08/31/10