CVE-2020-15164CWE-287

Authentication Bypass in Scratch Login (mediawiki-scratch-login)

Critical · published August 28, 2020

CVSS v3.1
10.0
EPSS
1%
Percentile
67.3
In the wild
Unconfirmed
What it is

🔥 An account can be hijacked just by adding or removing underscores from the username! This MediaWiki extension flaw in Scratch Login allows users to access any account, creating a serious security risk.⚠️ Imagine if you could check into a hotel by showing a name tag that just has your name with random extra letters – no one would notice! That’s how this vulnerability allows for unauthorized login, as usernames with leading, trailing, or repeated underscores are treated as the same. 📛 This is a critical issue because an attacker could log into any user's account without their knowledge, potentially accessing private messages, altering settings, or misusing their identity. This kind of breach could have devastating consequences for user trust and data integrity on any wiki using this extension!

Put simply

Imagine if you could check into a hotel by showing a name tag that just has your name with random extra letters – no one would notice! That’s how this vulnerability allows for unauthorized login, as usernames with leading, trailing, or repeated underscores are treated as the same. 📛 This vulnerability in the Scratch Login MediaWiki extension before version 1.1 allows usernames with leading, trailing, or repeated underscores to bypass authentication due to how MediaWiki handles whitespace in usernames. As a result, any account can be accessed easily. ⚡

What to do

This is a critical issue because an attacker could log into any user's account without their knowledge, potentially accessing private messages, altering settings, or misusing their identity. This kind of breach could have devastating consequences for user trust and data integrity on any wiki using this extension! To protect your users, patch it immediately by upgrading to MediaWiki Scratch Login version 1.1 or higher. Additionally, review your username policies to ensure proper verification processes are in place to handle such input issues. 🛡️ You've got this! Follow these steps to secure your wiki and keep your users safe from unauthorized access! 🌟

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.01174 · 67.3th percentile
Weakness
CWE-287 · Improper Authentication
Published
2020-08-28T17:05Z
EPSS history
Timeline
  • 28 AUG 17:05Z
    Authentication Bypass in Scratch Login (mediawiki-scratch-login)
    cvelistv5