CVE-2022-41929 Missing Authorization in User#setDisabledStatus in org.xwiki.platform:xwiki-platform-oldcore

Medium 4.9 Published Updated

Users with Script rights can improperly enable or disable other users, bypassing admin-only restrictions in XWiki.

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

What is CVE-2022-41929?

CVE-2022-41929 is a medium-severity missing authorization vulnerability in Xwiki Xwiki, published on 23 Nov 2022. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

org.xwiki.platform:xwiki-platform-oldcore is missing authorization in User#setDisabledStatus, which may allow an incorrectly authorized user with only Script rights to enable or disable a user. This operation is meant to only be available for users with admin rights. This problem has been patched in XWiki 13.10.7, 14.4.2 and 14.5RC1.

Weakness: CWE-862

Which versions are affected by CVE-2022-41929?

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

PackageAffectedFixed in
org.xwiki.platform:xwiki-platform-oldcore MavenFrom 11.7RC113.10.7
org.xwiki.platform:xwiki-platform-oldcore MavenFrom 11.7RC113.10.7
org.xwiki.platform:xwiki-platform-oldcore MavenFrom 14.0.014.4.2
org.xwiki.platform:xwiki-platform-oldcore MavenFrom 14.0.014.4.2

Products include Xwiki Xwiki.

How do I fix CVE-2022-41929?

Upgrade org.xwiki.platform:xwiki-platform-oldcore 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-41929 being exploited?

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

All Xwiki Xwiki vulnerabilities

Sources

Also known as GHSA-2gj2-vj98-j2qq.

Is CVE-2022-41929 in your software?

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

Check your SBOMs for free