CVE-2019-12472: Forbid blocking IP ranges as big as /1 and /2, as done on ruwikiquote using the API

Published May 30, 2019
·
Updated

An Incorrect Access Control vulnerability was found in Wikimedia MediaWiki 1.18.0 through 1.32.1. It is possible to bypass the limits on IP range blocks ($wgBlockCIDRLimit) by using the API. Fixed in 1.32.2, 1.31.2, 1.30.2 and 1.27.6.

Other sources

Forbid blocking IP ranges as big as /1 and /2, as done on ruwikiquote using the API

Affected Software

14 affected componentsFixes available
composer/mediawiki/core>=1.27.0, <1.27.6, >=1.30.0, <1.30.2, >=1.31.0, <1.31.2, >=1.32.0, <1.32.2
composer/mediawiki/core>=1.32.0<1.32.2
1.32.2
composer/mediawiki/core>=1.31.0<1.31.2
1.31.2
composer/mediawiki/core>=1.30.0<1.30.2
1.30.2
composer/mediawiki/core>=1.18.0<1.27.6
1.27.6
MediaWiki MediaWiki>=1.18.0<1.27.6
MediaWiki MediaWiki>=1.30.0<1.30.2
MediaWiki MediaWiki>=1.31.0<1.31.2
MediaWiki MediaWiki>=1.32.0<1.32.2
composer/mediawiki/core>=1.27.0, <1.27.6
1.27.6
composer/mediawiki/core>=1.30.0, <1.30.2
1.30.2
composer/mediawiki/core>=1.31.0, <1.31.2
1.31.2
composer/mediawiki/core>=1.32.0, <1.32.2
1.32.2
debian/mediawiki
1:1.27.7-1~deb9u11:1.31.2-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/mediawiki/core to a version that resolves this vulnerability.

    Fixed in 1.32.2
  2. Upgrade

    Upgrade composer/mediawiki/core to a version that resolves this vulnerability.

    Fixed in 1.31.2
  3. Upgrade

    Upgrade composer/mediawiki/core to a version that resolves this vulnerability.

    Fixed in 1.30.2
  4. Upgrade

    Upgrade composer/mediawiki/core to a version that resolves this vulnerability.

    Fixed in 1.27.6
  5. Upgrade

    Upgrade debian/mediawiki to a version that resolves this vulnerability.

    Fixed in 1:1.27.7-1~deb9u1Fixed in 1:1.31.2-1
  6. Upgrade

    Upgrade Wikimedia MediaWiki to a version that resolves this vulnerability.

    Fixed in 1.32.2

Event History

May 30, 2019
Advisory Published
via Packagist·08:55 PM
Data Sourced
via Packagist·08:55 PM
DescriptionSeverityAffected Software
Jun 6, 2019
Advisory Published
09:20 PM
Data Sourced
09:20 PM
DescriptionAffected Software
Jul 10, 2019
CVE Published
via MITRE·03:55 PM
Data Sourced
via MITRE·03:55 PM
Description
Data Sourced
04:15 PM
RemedySeverity
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityAffected Software
May 24, 2022
Advisory Published
via GitHub·04:49 PM
Data Sourced
via GitHub·04:49 PM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2019-12472?

CVE-2019-12472 has been classified with an incorrect access control vulnerability that allows IP range block limits to be bypassed.

2

How do I fix CVE-2019-12472?

To address CVE-2019-12472, upgrade to MediaWiki versions 1.32.2, 1.31.2, 1.30.2, or 1.27.6.

3

Which versions of MediaWiki are affected by CVE-2019-12472?

MediaWiki versions 1.18.0 through 1.32.1 are affected by CVE-2019-12472.

4

What kind of attack does CVE-2019-12472 allow?

CVE-2019-12472 allows attackers to bypass IP range blocks set by the API, potentially enabling unauthorized access.

5

Is it necessary to update all MediaWiki installations due to CVE-2019-12472?

Yes, it is essential to update all affected MediaWiki installations to mitigate the risks posed by CVE-2019-12472.

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