CVE-2021-30159

Advisory lineage Upstream: 0 Downstream: 5
Modified
Published: 09 Apr 2021, 06:12
Last modified:03 Aug 2024, 22:24

Vulnerability Summary

Overall Risk (default)
medium
27/100
CVSS Score
4.3 MEDIUM
v3.1 (nvd)
EPSS Score
0.87% LOW
1% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected

Timeline

09 Apr 2021, 06:12
Published
Vulnerability first disclosed
03 Aug 2024, 22:24
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.1MEDIUMScore: 4.3CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
  • v2.0MEDIUMScore: 4AV:N/AC:L/Au:S/C:N/I:P/A:N

EPSS Trends

Current EPSS score: 0.87% Percentile: 76%

Affected Systems

  • debiandebian_linux

    9.0 | 10.0

  • fedoraprojectfedora

    33 | 34

  • mediawikimediawiki

    < 1.31.12 | ≥ 1.32.0, < 1.35.2

References (7)