Rapid7 Vulnerability & Exploit Database

Debian: CVE-2021-30159: mediawiki -- security update

Back to Search

Debian: CVE-2021-30159: mediawiki -- security update

Severity
4
CVSS
(AV:N/AC:L/Au:S/C:N/I:P/A:N)
Published
04/09/2021
Created
04/13/2021
Added
04/12/2021
Modified
04/21/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.

Solution(s)

  • debian-upgrade-mediawiki

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;