CVE-2022-41930 org.xwiki.platform:xwiki-platform-user-profile-ui missing authorization to enable or disable users

High 7.5 Published Updated

Unauthenticated users can enable or disable any user profile, allowing self-re-enablement or denial of service against other users.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-41930?

CVE-2022-41930 is a high-severity missing authorization vulnerability in Xwiki Xwiki, published on 23 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

org.xwiki.platform:xwiki-platform-user-profile-ui is missing authorization to enable or disable users. Any user (logged in or not) with access to the page XWiki.XWikiUserProfileSheet can enable or disable any user profile. This might allow to a disabled user to re-enable themselves, or to an attacker to disable any user of the wiki. The problem has been patched in XWiki 13.10.7, 14.5RC1 and 14.4.2. Workarounds: The problem can be patched immediately by editing the page `XWiki.XWikiUserProfileSheet` in the wiki and by performing the changes contained in https://github.com/xwiki/xwiki-platform/commit/5be1cc0adf917bf10899c47723fa451e950271fa.

Weakness: CWE-862

Which versions are affected by CVE-2022-41930?

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

PackageAffectedFixed in
org.xwiki.platform:xwiki-platform-user-profile-ui MavenFrom 12.413.10.7
org.xwiki.platform:xwiki-platform-user-profile-ui MavenFrom 12.413.10.7
org.xwiki.platform:xwiki-platform-user-profile-ui MavenFrom 14.0.014.4.2
org.xwiki.platform:xwiki-platform-user-profile-ui MavenFrom 14.0.014.4.2

Products include Xwiki Xwiki.

How do I fix CVE-2022-41930?

Upgrade org.xwiki.platform:xwiki-platform-user-profile-ui to a fixed version for your release line: 13.10.7 or 14.4.2.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2022-41930 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-41930 exists.

All Xwiki Xwiki vulnerabilities

Sources

Also known as GHSA-p5v9-g8w8-5q4v.

Is CVE-2022-41930 in your software?

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

Check your SBOMs for free