Bug 806343 (CVE-2012-1578) - CVE-2012-1578 mediawiki (v1.18.2): CSRF in the block / unblock API modules
Summary: CVE-2012-1578 mediawiki (v1.18.2): CSRF in the block / unblock API modules
Alias: CVE-2012-1578
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 806398
Blocks: 806396
TreeView+ depends on / blocked
Reported: 2012-03-23 13:43 UTC by Jan Lieskovsky
Modified: 2019-09-29 12:51 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-05-08 20:42:03 UTC

Attachments (Terms of Use)

Description Jan Lieskovsky 2012-03-23 13:43:05 UTC
It was found that the block / unblock API modules of MediaWiki, a wiki engine, did not verify if the security token was being present in the operations performing blocking / unblocking of another user account. A valid MediaWiki user with block privileges could use this flaw to block or unblock user account of another user without providing a security token (CSRF).

[1] http://lists.wikimedia.org/pipermail/wikitech-l/2012-March/059230.html

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

Upstream patch:
[3] https://bugzilla.wikimedia.org/attachment.cgi?id=9957

Included within revision:
[4] https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114429

Comment 1 Jan Lieskovsky 2012-03-23 13:44:26 UTC
This issue affects the versions of the mediawiki package, as shipped with Fedora release of 15 and 16.


This issue did NOT affect the version of the mediawiki package, as shipped with Fedora EPEL 5.

Comment 2 Jan Lieskovsky 2012-03-23 15:57:52 UTC
Created mediawiki tracking bugs for this issue

Affects: fedora-all [bug 806398]

Comment 3 Jan Lieskovsky 2012-03-26 09:11:58 UTC
The CVE identifier of CVE-2012-1578 has been assigned to this issue:

Comment 4 Vincent Danen 2013-05-08 20:42:03 UTC
The current version of mediawiki in Fedora is not vulnerable to this issue (1.19.4), however EPEL5 still provides mediawiki 1.14 as well as 1.16; EPEL6 and Fedora also provide 1.16.  It is unknown whether or not those versions are affected by this issue as they are no longer supported by upstream.

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