CVE-2023-29507 org.xwiki.platform:xwiki-platform-oldcore makes Incorrect Use of Privileged APIs with DocumentAuthors

Critical 9.1 Published Updated

Attackers can manipulate document authors to bypass rights checks and execute scripts with elevated privileges 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-2023-29507?

CVE-2023-29507 is a critical vulnerability in Xwiki Xwiki, published on 16 Apr 2023. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

XWiki Commons are technical libraries common to several other top level XWiki projects. The Document script API returns directly a DocumentAuthors allowing to set any authors to the document, which in consequence can allow subsequent executions of scripts since this author is used for checking rights. The problem has been patched in XWiki 14.10 and 14.4.7 by returning a safe script API.

Weakness: CWE-648

Which versions are affected by CVE-2023-29507?

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 14.4.114.4.7
org.xwiki.platform:xwiki-platform-oldcore MavenFrom 14.4.114.4.7
org.xwiki.platform:xwiki-platform-oldcore MavenFrom 14.514.10
org.xwiki.platform:xwiki-platform-oldcore MavenFrom 14.514.10

Products include Xwiki Xwiki.

How do I fix CVE-2023-29507?

Upgrade org.xwiki.platform:xwiki-platform-oldcore to a fixed version for your release line: 14.4.7 or 14.10.

Is CVE-2023-29507 being exploited?

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

All Xwiki Xwiki vulnerabilities

Sources

Also known as GHSA-pwfv-3cvg-9m4c.

Is CVE-2023-29507 in your software?

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

Check your SBOMs for free