Vulnerability Name: | CVE-2021-30159 (CCN-199719) | ||||||||||||
Assigned: | 2021-01-19 | ||||||||||||
Published: | 2021-01-19 | ||||||||||||
Updated: | 2022-05-27 | ||||||||||||
Summary: | 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 v3 Severity: | 4.3 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N) 3.8 Low (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C)
5.7 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L/E:U/RL:O/RC:C)
| ||||||||||||
CVSS v2 Severity: | 4.0 Medium (CVSS v2 Vector: AV:N/AC:L/Au:S/C:N/I:P/A:N)
| ||||||||||||
Vulnerability Type: | CWE-noinfo | ||||||||||||
Vulnerability Consequences: | Bypass Security | ||||||||||||
References: | Source: MITRE Type: CNA CVE-2021-30159 Source: XF Type: UNKNOWN mediawiki-cve202130159-sec-bypass(199719) Source: MLIST Type: Third Party Advisory [debian-lts-announce] 20210505 [SECURITY] [DLA 2648-1] mediawiki security update Source: MLIST Type: Mailing List, Third Party Advisory [debian-lts-announce] 20210506 [SECURITY] [DLA 2648-2] mediawiki regression update Source: FEDORA Type: Mailing List, Third Party Advisory FEDORA-2021-f4223b6684 Source: FEDORA Type: Mailing List, Third Party Advisory FEDORA-2021-d298103d3a Source: CCN Type: Phabricator T272386 CVE-2021-30159: Non-admin deleted enwiki page in fast double move Source: MISC Type: Exploit, Patch, Vendor Advisory https://phabricator.wikimedia.org/T272386 Source: GENTOO Type: Third Party Advisory GLSA-202107-40 Source: DEBIAN Type: Third Party Advisory DSA-4889 Source: CCN Type: MediaWiki Web site MediaWiki | ||||||||||||
Vulnerable Configuration: | Configuration 1: Configuration 2: Configuration 3: Configuration CCN 1: Denotes that component is vulnerable | ||||||||||||
BACK |