CVE-2012-4381: Critical severity MediaWiki MediaWiki vulnerability

Published Aug 31, 2012
·
Updated

A security flaw was found in the way MediaWiki, a wiki engine, performed passwords management: 1) user passwords were always saved to the local MediaWiki database (regardless of external authentication extension being in use or not), 2) also previously it was possible to use old passwords for accounts non-existing in the external authentication system indefinitely.

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

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

Upstream patch: [3] https://bugzilla.wikimedia.org/showbug.cgi?id=39184#c1

Other sources

MediaWiki before 1.18.5, and 1.19.x before 1.19.2 saves passwords in the local database, (1) which could make it easier for context-dependent attackers to obtain cleartext passwords via a brute-force attack or, (2) when an authentication plugin returns a false in the strict function, could allow remote attackers to use old passwords for non-existing accounts in an external authentication system via unspecified vectors.

Affected Software

5 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.5
MediaWiki MediaWiki>=1.19.0<1.19.2
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·02:13 PM
DescriptionSeverityAffected Software
Feb 8, 2020
CVE Published
via MITRE·05:50 PM
Data Sourced
via MITRE·05:50 PM
DescriptionWeakness

Frequently Asked Questions

1

What is the severity of CVE-2012-4381?

CVE-2012-4381 is considered a moderate severity vulnerability due to the potential for attackers to acquire cleartext passwords.

2

How do I fix CVE-2012-4381?

To fix CVE-2012-4381, upgrade to MediaWiki versions 1.18.5 or 1.19.2 and later releases.

3

What software versions are affected by CVE-2012-4381?

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

4

What kind of attacks can exploit CVE-2012-4381?

CVE-2012-4381 can be exploited through brute-force attacks that obtain saved passwords from the local database.

5

What is the impact of CVE-2012-4381 on user security?

The impact of CVE-2012-4381 on user security includes the risk of unauthorized access due to exposure of cleartext user passwords.

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