CVE-2021-32730 No CSRF protection on the password change form

Medium 5.7 Published Updated

An attacker can trick an admin into resetting any user's password via a forged URL, leading to account takeover.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-32730?

CVE-2021-32730 is a medium-severity vulnerability in Xwiki Xwiki, published on 1 Jul 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. A cross-site request forgery vulnerability exists in versions prior to 12.10.5, and in versions 13.0 through 13.1. It's possible for forge an URL that, when accessed by an admin, will reset the password of any user in XWiki. The problem has been patched in XWiki 12.10.5 and 13.2RC1. As a workaround, it is possible to apply the patch manually by modifying the `register_macros.vm` template.

Weakness: CWE-352

Which versions are affected by CVE-2021-32730?

4 open source packages ship an affected version, including org.xwiki.platform:xwiki-platform-administration-ui. It affects 1 product.

PackageAffectedFixed in
org.xwiki.platform:xwiki-platform-administration-ui MavenAll versions12.10.5
org.xwiki.platform:xwiki-platform-administration-ui MavenAll versions12.10.5
org.xwiki.platform:xwiki-platform-administration-ui MavenFrom 13.013.2
org.xwiki.platform:xwiki-platform-administration-ui MavenFrom 13.013.2

Products include Xwiki Xwiki.

How do I fix CVE-2021-32730?

Upgrade org.xwiki.platform:xwiki-platform-administration-ui to a fixed version for your release line: 12.10.5 or 13.2.

Is CVE-2021-32730 being exploited?

There is no known exploitation of CVE-2021-32730 in the wild and no public exploit code.

All Xwiki Xwiki vulnerabilities

Sources

Also known as GHSA-v9j2-q4q5-cxh4.

Is CVE-2021-32730 in your software?

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

Check your SBOMs for free