Patchfirst
CVE-2023-29509 Critical · 10.0 EPSS 76.2%

org.xwiki.platform:xwiki-platform-flamingo-theme-ui Eval Injection vulnerability

xwiki · xwiki-platform

Summary

The xwiki-platform product's flamingo theme UI component (org.xwiki.platform:xwiki-platform-flamingo-theme-ui) contains an eval injection flaw: the parameters of the documentTree macro are not properly escaped, and that macro is installed by default on the FlamingoThemesCode.WebHome page. An attacker who holds view rights on commonly accessible documents, with no further authentication or user interaction required, can execute arbitrary Groovy, Python or Velocity code, gaining full access to the XWiki installation.

Official description · CVE.org

XWiki Commons are technical libraries common to several other top level XWiki projects. Any user with view rights on commonly accessible documents can execute arbitrary Groovy, Python or Velocity code in XWiki leading to full access to the XWiki installation. The root cause is improper escaping of the `documentTree` macro parameters in This macro is installed by default in `FlamingoThemesCode.WebHome`. This page is installed by default. The vulnerability has been patched in XWiki 13.10.11, 14.4.7 and 14.10.

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

Disclosed on 16 Apr 2023. No public exploit code or confirmed exploitation is recorded.

4 fixes in xwiki-platform-flamingo-theme-ui over 11 months. The latest fix listed for xwiki-platform-flamingo-theme-ui is 14.10.

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

  1. 13.10.3CVE-2022-2925125 May 2022
  2. 14.9-rc-1CVE-2023-264772 Mar 2023
  3. 14.10CVE-2023-2950916 Apr 2023
  4. 14.10CVE-2023-3053716 Apr 2023Latest 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-flamingo-theme-ui.

Mavenorg.xwiki.platform:xwiki-platform-flamingo-theme-uiGHSA-f4v8-58f6-mwj4

Upgrade to 14.10 or later

Fixes this CVE and 1 other known vulnerability in this package (CVE-2023-26477).

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

The first fix for CVE-2023-29509.

Affected versions, by release line

If you runUpgrade to
14.5 up to 14.1014.10
14.0-rc-1 up to 14.4.714.4.7
7.2-rc-1 up to 13.10.1113.10.11

“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

3 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close