CVE-2023-29212
published 2023-04-16CVE-2023-29212: XWiki Commons are technical libraries common to several other top level XWiki projects. Any user with edit rights can execute arbitrary Groovy, Python or…
PriorityP353high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
1.19%
64.2th percentile
XWiki Commons are technical libraries common to several other top level XWiki projects. Any user with edit rights 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 included pages in the included documents edit panel. The problem has been patched on XWiki 14.4.7, and 14.10.
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| xwiki | xwiki | — | — |
| xwiki | xwiki | >= 14.0 < 14.4.7 | 14.4.7 |
| xwiki | xwiki-platform | — | — |
| xwiki | xwiki-platform | — | — |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
xwiki.platform:xwiki-platform-panels-ui Eval Injection vulnerability
ghsa·2023-04-12
CVE-2023-29212 [CRITICAL] CWE-94 xwiki.platform:xwiki-platform-panels-ui Eval Injection vulnerability
xwiki.platform:xwiki-platform-panels-ui Eval Injection vulnerability
### Impact
Any user with edit rights 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 included pages in the included documents edit panel.
A proof of concept exploit is to edit a document and add the following code before saving.
```
{{display reference="{{cache~}~}{{groovy~}~}println(~"Hello from Groovy~" + ~" in included document!~"){{/groovy~}~}{{/cache~}~}"/}}
```
**expected**
The right had side panels contain:
```
One included page:
{{cache}}{{groovy}}println("Hello from Groovy" + " in included document!"){{/groovy}}{{/cache}}
```
**actual**
The right had side panels contain:
```
One included page:
XWiki.He
OSV
xwiki.platform:xwiki-platform-panels-ui Eval Injection vulnerability
osv·2023-04-12
CVE-2023-29212 [CRITICAL] xwiki.platform:xwiki-platform-panels-ui Eval Injection vulnerability
xwiki.platform:xwiki-platform-panels-ui Eval Injection vulnerability
### Impact
Any user with edit rights 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 included pages in the included documents edit panel.
A proof of concept exploit is to edit a document and add the following code before saving.
```
{{display reference="{{cache~}~}{{groovy~}~}println(~"Hello from Groovy~" + ~" in included document!~"){{/groovy~}~}{{/cache~}~}"/}}
```
**expected**
The right had side panels contain:
```
One included page:
{{cache}}{{groovy}}println("Hello from Groovy" + " in included document!"){{/groovy}}{{/cache}}
```
**actual**
The right had side panels contain:
```
One included page:
XWiki.He
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/xwiki/xwiki-platform/commit/22f249a0eb9f2a64214628217e812a994419b69f#diff-a51a252f0190274464027342b4e3eafc4ae32de4d9c17ef166e54fc5454c5689R214-R217https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-c5f4-p5wv-2475https://jira.xwiki.org/browse/XWIKI-20293https://github.com/xwiki/xwiki-platform/commit/22f249a0eb9f2a64214628217e812a994419b69f#diff-a51a252f0190274464027342b4e3eafc4ae32de4d9c17ef166e54fc5454c5689R214-R217https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-c5f4-p5wv-2475https://jira.xwiki.org/browse/XWIKI-20293
2023-04-16
Published