CVE-2020-15164 Authentication Bypass in Scratch Login (mediawiki-scratch-login)

Critical 10.0 Published Updated

Attackers can bypass authentication and take over any account by manipulating underscores in usernames due to improper input handling in the Scratch Login extension.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2020-15164?

CVE-2020-15164 is a critical authentication bypass vulnerability in InternationalScratchWiki mediawiki-scratch-login, published on 28 Aug 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

in Scratch Login (MediaWiki extension) before version 1.1, any account can be logged into by using the same username with leading, trailing, or repeated underscore(s), since those are treated as whitespace and trimmed by MediaWiki. This affects all users on any wiki using this extension. Since version 1.1, comments by users whose usernames would be trimmed on MediaWiki are ignored when searching for the verification code.

Weakness: CWE-74, CWE-287

Which versions are affected by CVE-2020-15164?

It affects 1 product.

Products include Scratch-Wiki Scratch Login.

How do I fix CVE-2020-15164?

No fix has been published for CVE-2020-15164 yet. Limit exposure of the affected software until one is available.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2020-15164 being exploited?

There is no known exploitation of CVE-2020-15164 in the wild and no public exploit code.

Sources

Is CVE-2020-15164 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free