CVE-2021-44857 Missing authorization in n/a

Medium 6.5 Published Updated

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.

PackageAffectedFixed in
mediawiki BitnamiAll versions1.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.

All Mediawiki Mediawiki vulnerabilities

Sources

Also known as BIT-mediawiki-2021-44857, DEBIAN-CVE-2021-44857, GHSA-x4wg-g4fv-f8m6.

Is CVE-2021-44857 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free