CVE-2024-34502

An issue was discovered in WikibaseLexeme in MediaWiki before 1.39.6, 1.40.x before 1.40.2, and 1.41.x before 1.41.1

Critical · published May 5, 2024

CVSS v3.1
9.8
EPSS
0%
Percentile
34.1
In the wild
Unconfirmed
What it is

🚨 A single GET request can trigger an unauthorized merge of lexemes! This exploitable flaw in WikibaseLexeme means attackers can merge IDs without the proper permissions or tokens. 🔥 Think of it like a restaurant where anyone can sneak into the kitchen and swap out ingredients without permission. The chef trusts that every order is legitimate, but without checks, the wrong dish could end up on your table! An attacker could merge lexemes indiscriminately, leading to data integrity issues and confusion. Imagine the chaos of mixing up names and definitions — it could compromise the entire structure of your knowledge base, leaving you with a jumbled mess!

Put simply

Think of it like a restaurant where anyone can sneak into the kitchen and swap out ingredients without permission. The chef trusts that every order is legitimate, but without checks, the wrong dish could end up on your table! This vulnerability allows unauthorized merges by failing to validate request methods and edit tokens in the Special:MergeLexemes functionality. It makes it possible for a simple GET request to carry out critical operations intended only for POST requests.

What to do

An attacker could merge lexemes indiscriminately, leading to data integrity issues and confusion. Imagine the chaos of mixing up names and definitions — it could compromise the entire structure of your knowledge base, leaving you with a jumbled mess! Upgrade to MediaWiki version 1.39.6, 1.40.2, or 1.41.1 immediately to close this vulnerability. Additionally, ensure that your application properly validates request methods and tokens to prevent such issues in the future. You’ve got this! Follow the remediation steps, and you’ll keep your data safe and sound! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00409 · 34.1th percentile
Published
2024-05-05T00:00Z
EPSS history
Timeline
  • 05 MAY 00:00Z
    An issue was discovered in WikibaseLexeme in MediaWiki before 1.39.6, 1.40.x before 1.40.2, and 1.41.x before 1.41.1
    cvelistv5