Patchfirst
CVE-2023-26477 Critical · 10.0 EPSS 74.8%

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

xwiki · xwiki-platform

Summary

The flaw is an eval injection vulnerability in the xwiki-platform product's Flamingo theme UI component (org.xwiki.platform:xwiki-platform-flamingo-theme-ui), where arbitrary wiki syntax, including Groovy, Python and Velocity script macros, can be injected through the newThemeName request parameter. An unauthenticated remote attacker can exploit it over the network with a crafted URL that supplies this parameter together with additional parameters, with no user interaction required.

Official description · CVE.org

XWiki Platform is a generic wiki platform. Starting in versions 6.3-rc-1 and 6.2.4, it's possible to inject arbitrary wiki syntax including Groovy, Python and Velocity script macros via the `newThemeName` request parameter (URL parameter), in combination with additional parameters. This has been patched in the supported versions 13.10.10, 14.9-rc-1, and 14.4.6. As a workaround, it is possible to edit `FlamingoThemesCode.WebHomeSheet` and manually perform the changes from the patch fixing the issue.

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

Disclosed on 2 Mar 2023. No public exploit code or confirmed exploitation is recorded.

See the family tree

3 related vulnerabilities in the same code over 11 months. The latest fix listed for xwiki-platform-flamingo-theme-ui is 14.10.

Same bug familyLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. CVE-2022-29251Cross-site Scripting in the Flamingo theme manager25 May 2022
  2. relatedHigh

    Why these are linked:

    • Fixed one release later13.10.3 → 13.10.10 (org.xwiki.platform:xwiki-platform-flamingo-theme-ui)
    • Same code patched: WebHomeSheet.xml (machine-matched)commit bd93532commit ea2e615
    This CVECVE-2023-26477org.xwiki.platform:xwiki-platform-flamingo-theme-ui Eval…2 Mar 2023
  3. relatedHigh

    Why these are linked:

    • Fixed one release later13.10.10 → 13.10.11 (org.xwiki.platform:xwiki-platform-flamingo-theme-ui)
    • Fixed one release later14.4.6 → 14.4.7 (org.xwiki.platform:xwiki-platform-flamingo-theme-ui)
    • Same code patched: WebHomeSheet.xml (machine-matched)commit ea2e615commit df596f1
    CVE-2023-30537org.xwiki.platform:xwiki-platform-flamingo-theme-ui vulnerable…16 Apr 2023

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-x2qm-r4wx-8gpg

Upgrade to 14.4.7

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

Also affected, despite being newer: 14.5 up to 14.9-rc-1.

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

First fixed in 14.4.6 for CVE-2023-26477.

Affected versions, by release line

If you runUpgrade to
14.5 up to 14.9-rc-114.10first fix for this CVE: 14.9-rc-1
14.0 up to 14.4.614.4.7first fix for this CVE: 14.4.6
6.2.4 up to 13.10.1013.10.11first fix for this CVE: 13.10.10

“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