CVE-2021-30159
- State
- Published
- Severity
- Not scored
- Published
- Apr 9, 2021
- Updated
- Aug 3, 2024
- Reserved
- Apr 6, 2021
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.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
n/an/a |
|
References
- https://phabricator.wikimedia.org/T272386
- DSA-4889vendor-advisory
- FEDORA-2021-f4223b6684vendor-advisory
- FEDORA-2021-d298103d3avendor-advisory
- [debian-lts-announce] 20210505 [SECURITY] [DLA 2648-1] mediawiki security updatemailing-list
- [debian-lts-announce] 20210506 [SECURITY] [DLA 2648-2] mediawiki regression updatemailing-list
- GLSA-202107-40vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.