Patchfirst
CVE-2024-31465 Critical · 10.0 EPSS 75.6%

XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet

xwiki · xwiki-platform

Summary

The flaw is in the XWiki Platform (xwiki-platform) component XWiki.SearchSuggestSourceSheet, where dynamically evaluated code is not properly neutralised, allowing code injection through the XWiki.SearchSuggestSourceClass object. An attacker who has a user account with edit rights on any page, which is the only requirement and needs no user interaction, can add that object to their profile or another page to execute arbitrary code on the server and fully compromise the installation's confidentiality, integrity and availability.

Official description · CVE.org

XWiki Platform is a generic wiki platform. Starting in version 5.0-rc-1 and prior to versions 14.10.20, 15.5.4, and 15.9-rc-1, any user with edit right on any page can execute any code on the server by adding an object of type `XWiki.SearchSuggestSourceClass` to their user profile or any other page. This compromises the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.20, 15.5.4 and 15.10 RC1. As a workaround, manually apply the patch to the document `XWiki.SearchSuggestSourceSheet`.

Breakdown
26.9 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Disclosed on 10 Apr 2024. No public exploit code or confirmed exploitation is recorded.

4 fixes in xwiki-platform-search-ui over 8 months. The latest fix listed for xwiki-platform-search-ui is 15.10.2.

Fixes in xwiki-platform-search-uiMaven package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 15.7-rc-1CVE-2023-5072115 Dec 2023
  2. 15.10-rc-1CVE-2024-3146510 Apr 2024
  3. 15.10-rc-1CVE-2024-3198210 Apr 2024
  4. 15.10.2CVE-2024-3790131 Jul 2024Latest listed

techniques

No techniques linked

No ATT&CK techniques are linked to this CVE yet. MITRE CTID has not mapped it, and no report passage in the corpus ties it to a technique.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: org.xwiki.platform:xwiki-platform-search-ui.

Mavenorg.xwiki.platform:xwiki-platform-search-uiGHSA-34fj-r5gq-7395

Upgrade to 15.5.4

Fixes this CVE and 2 other known vulnerabilities in this package (CVE-2023-50721, CVE-2024-31982).

Also affected, despite being newer: 15.6-rc-1 up to 15.10-rc-1.

Set the version to 15.5.4 or later in your pom.xml or build.gradle.

The first fix for CVE-2024-31465.

Affected versions, by release line

If you runUpgrade to
15.6-rc-1 up to 15.10-rc-115.10-rc-1
15.0-rc-1 up to 15.5.415.5.4
5.2-milestone-2 up to 14.10.2014.10.20

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

References

5 links, grouped by NVD tag (1 duplicate merged)
↑ ↓ chooseEnter openEsc close