{"id":"CVE-2021-30159","published":"2021-04-09T06:12:55Z","modified":"2024-08-03T22:24:59Z","title":"An issue was discovered in MediaWiki before 1.31.12 and 1.32.x through 1.35.x before 1.35.2","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01519,"percentile":0.74394,"provenance":"source"},"cwes":[],"references":[{"url":"https://phabricator.wikimedia.org/T272386","tags":["x_refsource_MISC"]},{"url":"https://www.debian.org/security/2021/dsa-4889","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/26UJGHF7LJDOCQN6A3Z4PM7PYRKENJHE/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2OMSV7B2TCFBOCICN3B4SMQP5HVRJQIT/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://security.gentoo.org/glsa/202107-40","tags":["vendor-advisory","x_refsource_GENTOO"]}],"priority":{"score":14.9,"factors":[{"name":"EPSS percentile","points":14.88}]},"euvd":{"id":"EUVD-2021-17095","exploited":false,"provenance":"source"}}