CVE-2024-21650
published 2024-01-08CVE-2024-21650: XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. XWiki is vulnerable to a remote code execution (RCE)…
PriorityP191critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
93.48%
99.8th percentile
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. XWiki is vulnerable to a remote code execution (RCE) attack through its user registration feature. This issue allows an attacker to execute arbitrary code by crafting malicious payloads in the "first name" or "last name" fields during user registration. This impacts all installations that have user registration enabled for guests. This vulnerability has been patched in XWiki 14.10.17, 15.5.3 and 15.8 RC1.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| xwiki | xwiki | < 14.10.17 | 14.10.17 |
| xwiki | xwiki | >= 15.0 < 15.5.3 | 15.5.3 |
| xwiki | xwiki | 15.6 – 15.7 | — |
| xwiki | xwiki-platform | — | — |
| xwiki | xwiki-platform | — | — |
| xwiki | xwiki-platform | — | — |
Detection & IOCsextracted from sources · hover to see the quote
- →The attack vector targets the 'first name' or 'last name' fields during user registration — monitor/block template injection payloads in these registration form fields ↗
- →Only installations with guest user registration enabled are exploitable — audit XWiki instances for open registration and prioritize patching or disabling guest registration as a mitigation ↗
- →Patch thresholds for detection/response triage: flag unpatched XWiki instances running versions below 14.10.17, 15.5.3, or 15.8 RC1 as vulnerable ↗
- ·Vulnerability is only exploitable when guest user registration is enabled; instances with registration disabled are not affected ↗
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vulncheck10.0CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.
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 Remote Code Execution Vulnerability via User Registration
ghsa·2024-01-08
CVE-2024-21650 [CRITICAL] CWE-94 XWiki Remote Code Execution Vulnerability via User Registration
XWiki Remote Code Execution Vulnerability via User Registration
### Impact
XWiki is vulnerable to a remote code execution (RCE) attack through its user registration feature. This issue allows an attacker to execute arbitrary code by crafting malicious payloads in the "first name" or "last name" fields during user registration. This impacts all installations that have user registration enabled for guests.
To reproduce, register with any username and password and the following payload as "first name": `]]{{/html}}{{async}}{{groovy}}services.logging.getLogger("attacker").error("Attack succeeded){{/groovy}}{{/async}}`. In the following page that confirms the success of the registration, the full first name should be displayed, linking to the created user. If the formatting is broken and a lo
OSV
XWiki Remote Code Execution Vulnerability via User Registration
osv·2024-01-08
CVE-2024-21650 [CRITICAL] XWiki Remote Code Execution Vulnerability via User Registration
XWiki Remote Code Execution Vulnerability via User Registration
### Impact
XWiki is vulnerable to a remote code execution (RCE) attack through its user registration feature. This issue allows an attacker to execute arbitrary code by crafting malicious payloads in the "first name" or "last name" fields during user registration. This impacts all installations that have user registration enabled for guests.
To reproduce, register with any username and password and the following payload as "first name": `]]{{/html}}{{async}}{{groovy}}services.logging.getLogger("attacker").error("Attack succeeded){{/groovy}}{{/async}}`. In the following page that confirms the success of the registration, the full first name should be displayed, linking to the created user. If the formatting is broken and a lo
VulnCheck
xwiki xwiki Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
vulncheck·2024·CVSS 10.0
CVE-2024-21650 [CRITICAL] xwiki xwiki Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
xwiki xwiki Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. XWiki is vulnerable to a remote code execution (RCE) attack through its user registration feature. This issue allows an attacker to execute arbitrary code by crafting malicious payloads in the "first name" or "last name" fields during user registration. This impacts all installations that have user registration enabled for guests. This vulnerability has been patched in XWiki 14.10.17, 15.5.3 and 15.8 RC1.
Affected: xwiki xwiki
Required Action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Explo
No detection rules found.
Nuclei
XWiki < 4.10.20 - Remote code execution
nuclei·CVSS 9.8
CVE-2024-21650 [CRITICAL] XWiki < 4.10.20 - Remote code execution
XWiki
internal: true
# digest: 4a0a00473045022074b8b1dbfe714b411ae41aaba36e000385684fcf053abecfe4844adfa36ffa8d022100b3223f35d04e0931363d30ef513bfb74435479df636599acbd58bb86290b1014:922c64590222798bb761d5b6d8e72950
https://github.com/xwiki/xwiki-platform/commit/b290bfd573c6f7db6cc15a88dd4111d9fcad0d31https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-rj7p-xjv7-7229https://jira.xwiki.org/browse/XWIKI-21173https://github.com/xwiki/xwiki-platform/commit/b290bfd573c6f7db6cc15a88dd4111d9fcad0d31https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-rj7p-xjv7-7229https://jira.xwiki.org/browse/XWIKI-21173
2024-01-08
Published
Exploited in the wild