CVE-2021-44857 Missing authorization in n/a
Attackers can modify content of arbitrary pages without edit rights using specific API actions, affecting public wikis or those with read whitelists.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-44857?
CVE-2021-44857 is a medium-severity missing authorization vulnerability in Mediawiki Mediawiki, published on 17 Dec 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
An issue was discovered in MediaWiki before 1.35.5, 1.36.x before 1.36.3, and 1.37.x before 1.37.1. It is possible to use action=mcrundo followed by action=mcrrestore to replace the content of any arbitrary page (that the user doesn't have edit rights for). This applies to any public wiki, or a private wiki that has at least one page set in $wgWhitelistRead.
Weakness: CWE-862
Which versions are affected by CVE-2021-44857?
1 open source package ship an affected version, including mediawiki. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mediawiki Bitnami | All versions | 1.35.5, 1.36.3, 1.37.1 |
Products include Mediawiki Mediawiki.
How do I fix CVE-2021-44857?
Upgrade mediawiki to a fixed version for your release line: 1.35.5, 1.36.3 or 1.37.1.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2021-44857 being exploited?
There is no known exploitation of CVE-2021-44857 in the wild and no public exploit code.
Other vulnerabilities in Mediawiki Mediawiki
Sources
Also known as BIT-mediawiki-2021-44857, DEBIAN-CVE-2021-44857, GHSA-x4wg-g4fv-f8m6.