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.1•MEDIUM•Score: 4.3CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- v2.0•MEDIUM•Score: 4AV:N/AC:L/Au:S/C:N/I:P/A:N
EPSS Trends
Current EPSS score: 0.87%• Percentile: 76%
Affected Systems
- debian•debian_linux
9.0 | 10.0
- fedoraproject•fedora
33 | 34
- mediawiki•mediawiki
< 1.31.12 | ≥ 1.32.0, < 1.35.2
References (7)
- https://phabricator.wikimedia.org/T272386
- https://www.debian.org/security/2021/dsa-4889
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/26UJGHF7LJDOCQN6A3Z4PM7PYRKENJHE/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2OMSV7B2TCFBOCICN3B4SMQP5HVRJQIT/
- https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html
- https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html
- https://security.gentoo.org/glsa/202107-40