CVE-2023-26478 org.xwiki.platform:xwiki-platform-store-filesystem-oldcore has Exposed Dangerous Method or Function

Medium 6.6 Published Updated

Attackers can bypass programming rights checks to execute dangerous operations via exposed attachment methods in XWiki Platform.

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-26478?

CVE-2023-26478 is a medium-severity missing authorization vulnerability in Xwiki Xwiki, published on 2 Mar 2023. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

XWiki Platform is a generic wiki platform. Starting in version 14.3-rc-1, `org.xwiki.store.script.TemporaryAttachmentsScriptService#uploadTemporaryAttachment` returns an instance of `com.xpn.xwiki.doc.XWikiAttachment`. This class is not supported to be exposed to users without the `programing` right. `com.xpn.xwiki.api.Attachment` should be used instead and takes case of checking the user's rights before performing dangerous operations. This has been patched in versions 14.9-rc-1 and 14.4.6. There are no known workarounds for this issue.

Weakness: CWE-749

Which versions are affected by CVE-2023-26478?

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

PackageAffectedFixed in
org.xwiki.platform:xwiki-platform-store-filesystem-oldcore MavenFrom 14.3-rc-114.4.6
org.xwiki.platform:xwiki-platform-store-filesystem-oldcore MavenFrom 14.3-rc-114.4.6
org.xwiki.platform:xwiki-platform-store-filesystem-oldcore MavenFrom 14.514.9-rc-1
org.xwiki.platform:xwiki-platform-store-filesystem-oldcore MavenFrom 14.514.9-rc-1

Products include Xwiki Xwiki.

How do I fix CVE-2023-26478?

Upgrade org.xwiki.platform:xwiki-platform-store-filesystem-oldcore to a fixed version for your release line: 14.4.6 or 14.9-rc-1.

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

Is CVE-2023-26478 being exploited?

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

All Xwiki Xwiki vulnerabilities

Sources

Also known as GHSA-8692-g6g9-gm5p.

Is CVE-2023-26478 in your software?

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

Check your SBOMs for free