CVE Database
/

CVE-2021-30159

Back to search

CVE-2021-30159

Published: Apr 9, 2021

Modified: Aug 3, 2024

PUBLISHED

Description

An issue was discovered in MediaWiki before 1.31.12 and 1.32.x through 1.35.x before 1.35.2. Users can bypass intended restrictions on deleting pages in certain "fast double move" situations. MovePage::isValidMoveTarget() uses FOR UPDATE, but it's only called if Title::getArticleID() returns non-zero with no special flags. Next, MovePage::moveToInternal() will delete the page if getArticleID(READ_LATEST) is non-zero. Therefore, if the page is missing in the replica DB, isValidMove() will return true, and then moveToInternal() will unconditionally delete the page if it can be found in the master.

VendorProductVersions

n/a

n/a

affected
n/a

References

DSA-4889
vendor-advisory
x_refsource_DEBIAN
FEDORA-2021-f4223b6684
vendor-advisory
x_refsource_FEDORA
FEDORA-2021-d298103d3a
vendor-advisory
x_refsource_FEDORA
GLSA-202107-40
vendor-advisory
x_refsource_GENTOO

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now