CVE-2012-4379: CSRF

Published Aug 31, 2012
·
Updated

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/showbug.cgi?id=39180

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

Other sources

MediaWiki before 1.18.5, and 1.19.x before 1.19.2 does not send a restrictive X-Frame-Options HTTP header, which allows remote attackers to conduct clickjacking attacks via an embedded API response in an IFRAME element.

Affected Software

6 affected componentsFixes available
debian/mediawiki
1:1.31.16-1+deb10u21:1.31.16-1+deb10u61:1.35.11-1~deb11u11:1.35.13-1~deb11u11:1.39.4-1~deb12u11:1.39.5-1~deb12u11:1.39.5-1
MediaWiki MediaWiki<=1.18.4
MediaWiki MediaWiki=1.19.0
MediaWiki MediaWiki=1.19.1
redhat/mediawiki<1.19.2
1.19.2
redhat/mediawiki<1.18.5
1.18.5

Event History

Aug 31, 2012
Data Sourced
via Red Hat·01:30 PM
DescriptionSeverityAffected Software
Oct 19, 2017
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2012-4379?

CVE-2012-4379 is classified as a medium-severity vulnerability due to its potential for clickjacking attacks.

2

How do I fix CVE-2012-4379?

To fix CVE-2012-4379, update to MediaWiki version 1.18.5, 1.19.2, or later.

3

What systems are affected by CVE-2012-4379?

CVE-2012-4379 affects MediaWiki versions prior to 1.18.5 and 1.19.x versions before 1.19.2.

4

What is a clickjacking attack in relation to CVE-2012-4379?

In the context of CVE-2012-4379, a clickjacking attack allows remote attackers to trick users into clicking on hidden elements in an embedded IFRAME.

5

Is it safe to use MediaWiki versions older than 1.18.5 or 1.19.2 due to CVE-2012-4379?

Using MediaWiki versions older than 1.18.5 or 1.19.2 is not safe due to the risk of clickjacking attacks associated with CVE-2012-4379.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203