Hard-coded credentials in MediaWiki
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-798.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | MediaWiki | before 1.18.5; 1.19 to before 1.19.2 | 1.18.5, 1.19.2 | Patch available | CNA |
- MediaWiki Vendor— Affected before 1.18.5; 1.19 to before 1.19.2 Fixed in 1.18.5, 1.19.2 Patch available CNA
Remediation
- Fix · CNA MediaWiki Fixed in 1.18.5, 1.19.2
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2012-4381
- 2026-10-03 Alias added: GHSA-794f-724h-wf37
References
Patch 5
More Mediawiki vulnerabilities
- TI-2023-18933 An issue was discovered in the CheckUser extension for MediaWiki through 1.39.3. CVSS 3.1CRITICAL 9.8
- TI-2023-13576 An issue was discovered in MediaWiki before 1.35.10, 1.36.x through 1.38.x before 1.38.6… CVSS 3.1CRITICAL 9.8
- TI-2023-03312 Stored XSS leads to privilege escalation in MediaWiki v1.40.0 CVSS 3.1CRITICAL 9.0
- TI-2026-42109 Cross-site request forgery in Wikimedia Foundation Mediawiki - RedirectManager Extension CVSS 4.0MEDIUM 6.9
- TI-2024-22822 An issue was discovered in includes/CommentFormatter/CommentParser.php in MediaWiki… CVSS 3.1HIGH 7.4
- TI-2023-18935 An issue was discovered in the ProofreadPage (aka Proofread Page) extension for MediaWiki… CVSS 3.1MEDIUM 5.3
Sources
- CVE-2012-4381 · CVE Program
- CVE-2012-4381 · NVD
- FIRST EPSS
- GHSA-794f-724h-wf37 · GitHub Advisory Database · CC BY 4.0
- CVE-2012-4381 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences