CVE-2023-29513 Users can be created even when registration is disabled without validation via the template macro in xwiki-platform

Medium 5.0 Published Updated

Attackers can create unauthorized users via a template macro even when registration is disabled, leading to potential privilege escalation.

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-2023-29513?

CVE-2023-29513 is a medium-severity missing authorization vulnerability in Xwiki Xwiki, published on 18 Apr 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. If guest has view right on any document. It's possible to create a new user using the `distribution/firstadminuser.wiki` in the wrong context. This vulnerability has been patched in XWiki 15.0-rc-1 and 14.10.1. There is no known workaround other than upgrading.

Weakness: CWE-284

Which versions are affected by CVE-2023-29513?

2 open source packages ship an affected version, including org.xwiki.platform:xwiki-platform-web-templates. It affects 1 product.

PackageAffectedFixed in
org.xwiki.platform:xwiki-platform-web-templates MavenFrom 8.0-rc-114.10.1
org.xwiki.platform:xwiki-platform-web-templates MavenFrom 8.0-rc-114.10.1

Products include Xwiki Xwiki.

How do I fix CVE-2023-29513?

Upgrade org.xwiki.platform:xwiki-platform-web-templates to 14.10.1 or later.

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

Is CVE-2023-29513 being exploited?

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

All Xwiki Xwiki vulnerabilities

Sources

Also known as GHSA-fp36-mjw5-fmgx.

Is CVE-2023-29513 in your software?

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

Check your SBOMs for free