Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2023-29523 — xwiki

🔴 CVSS 9.9 — Critical ✅ No Known Exploit CWE-74 NVD
9.9
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

XWiki Platform vulnerable to code injection in display method used in user profiles

Impact

Any user who can edit their own user profile can execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. The following syntax, to be put, e.g., in the about section of the user profile, demonstrates a proof of concept:

```

{{html wiki="true"}}~{~{~/~h~t~m~l~}~}~ ~{~{~c~a~c~h~e~}~}~{~{~g~r~o~o~v~y~}~}~p~r~i~n~t~l~n~(~1~)~{~{~/~g~r~o~o~v~y~}~}~{~{~/~c~a~c~h~e~}~}~{{/html}}

```

While it would be expected that the above code is displayed just without the ~, in fact just "1" is displayed, followed by a lot of raw HTML code. The same vulnerability can also be exploited in other contexts where the display method on a document is used to display a field with wiki syntax, for example in applications created using [App Within Minutes](https://extensions.xwiki.org/xwiki/bin/view/Extension/App%20Within%20Minutes%20Application).

Patches

This has been patched in XWiki 13.10.11, 14.4.8, 14.10.2 and 15.0RC1.

Workarounds

There is no workaround apart from upgrading.

References

  • https://jira.xwiki.org/browse/XWIKI-20327
  • https://github.com/xwiki/xwiki-platform/commit/0d547181389f7941e53291af940966413823f61c

For more information

If you have any questions or comments about this advisory:

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is changed, meaning a successful attack can affect components beyond the vulnerable one. Rated impact: confidentiality high, integrity high, availability high.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: Low — an ordinary user account is enough.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Changed — a successful attack reaches components beyond the vulnerable one.
  • Confidentiality impact: High — total loss, or loss the attacker controls.
  • Integrity impact: High — total loss, or loss the attacker controls.
  • Availability impact: High — total loss, or loss the attacker controls.

Weakness class

CVE-2023-29523 is classified as CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'). The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or…

Affected software

CVE-2023-29523 is recorded against 2 packages.

  • org.xwiki.platform:xwiki-platform-oldcore (from 14.5 up to 14.10.2)
  • xwiki (from 14.5 up to 14.10.2)

Timeline and source

Published on 20 April 2023 and last revised on 8 November 2023. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

github.com (Web)
nvd.nist.gov (Advisory)
github.com (Web)
extensions.xwiki.org (Web)
github.com (Package)
jira.xwiki.org (Web)

Other advisories for this package

org.xwiki.platform:xwiki-platform-oldcore has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')) in other software:

Details

Severity CRITICAL
CVSS Score 9.9
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CWE CWE-74
Public Exploit ✅ No
Source NVD
Published 2023-04-20
Updated 2026-08-20
Modified 2023-11-08

Affected Packages

Software From version Fixed in
org.xwiki.platform:xwiki-platform-oldcore 14.5 14.10.2
xwiki 14.5 14.10.2

Similar Threats

Exploit Protection

Are you running xwiki?

CVE-2023-29523 carries CVSS 9.9 Critical rating. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.

Check My Site For CVE-2023-29523 →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2023