VYPR
High severityNVD Advisory· Published Sep 27, 2020· Updated Aug 4, 2024

CVE-2020-25827

CVE-2020-25827

Description

An issue was discovered in the OATHAuth extension in MediaWiki before 1.31.10 and 1.32.x through 1.34.x before 1.34.4. For Wikis using OATHAuth on a farm/cluster (such as via CentralAuth), rate limiting of OATH tokens is only done on a single site level. Thus, multiple requests can be made across many wikis/sites concurrently.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

MediaWiki OATHAuth extension fails to enforce TOTP rate limits across wikis in a farm, allowing concurrent brute-force attempts.

An issue in the OATHAuth extension for MediaWiki allows attackers to bypass rate limiting on TOTP token validation. In wiki farms or clusters using CentralAuth, the rate limit for OATH tokens is enforced only on a per-site basis, not globally [1][2]. This means the limit is not shared across multiple wikis.

To exploit this, an attacker can simultaneously submit many TOTP validation requests across different wikis. Since each site has its own counter, the attacker can effectively multiply the allowed attempts by the number of wikis. The pingLimiter function, which enforces limits, counts 'user' and 'anon' limits per wiki, while 'ip' and 'subnet' limits are cross-wiki, but the default configuration only uses per-user limits for the badoath action [3].

Successful exploitation enables brute-force attacks on two-factor authentication tokens, potentially compromising accounts protected by TOTP. This undermines the security of OATHAuth, as an attacker can guess tokens faster than intended [2][3].

The vulnerability is fixed in MediaWiki 1.31.10, 1.34.4, and later versions. Administrators should upgrade to these releases or apply a workaround by configuring per-IP or per-subnet limits for the 'badoath' action in InitialSettings.php, as suggested in the Phabricator task [4].

AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
mediawiki/corePackagist
>= 1.31.0, < 1.31.91.31.9
mediawiki/corePackagist
>= 1.32.0, < 1.34.31.34.3

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

9

News mentions

0

No linked articles in our index yet.