CVE-2019-12472: MediaWiki Incorrect Access Control vulnerability
7.5
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.42369%
CWE
Published
5/24/2022
Updated
5/24/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
mediawiki/core | composer | >= 1.18.0, < 1.27.6 | 1.27.6 |
mediawiki/core | composer | >= 1.30.0, < 1.30.2 | 1.30.2 |
mediawiki/core | composer | >= 1.31.0, < 1.31.2 | 1.31.2 |
mediawiki/core | composer | >= 1.32.0, < 1.32.2 | 1.32.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing CIDR validation in the API block handler. The Phabricator task T199540 specifically shows the security patch was applied to ApiBlock.php to add $wgBlockCIDRLimit checks. Since the vulnerability description explicitly mentions API-based bypass and the fix targets the API block implementation, ApiBlock::execute is the primary vulnerable entry point that lacked proper access control checks for CIDR range size limits prior to patching.