CVE-2023-40573
published 2023-08-24CVE-2023-40573: XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. XWiki supports scheduled jobs that contain Groovy…
PriorityP354high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
1.00%
58.3th percentile
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. XWiki supports scheduled jobs that contain Groovy scripts. Currently, the job checks the content author of the job for programming right. However, modifying or adding a job script to a document doesn't modify the content author. Together with a CSRF vulnerability in the job scheduler, this can be exploited for remote code execution by an attacker with edit right on the wiki. If the attack is successful, an error log entry with "Job content executed" will be produced. This vulnerability has been patched in XWiki 14.10.9 and 15.4RC1.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| xwiki | xwiki | < 14.10.9 | 14.10.9 |
| xwiki | xwiki | — | — |
| xwiki | xwiki | — | — |
| xwiki | xwiki | — | — |
| xwiki | xwiki | — | — |
| xwiki | xwiki-platform | < 14.10.9 | 14.10.9 |
| 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.
OSV
XWiki Platform's Groovy jobs check the wrong author, allowing remote code execution
osv·2023-08-23
CVE-2023-40573 [CRITICAL] XWiki Platform's Groovy jobs check the wrong author, allowing remote code execution
XWiki Platform's Groovy jobs check the wrong author, allowing remote code execution
### Impact
XWiki supports scheduled jobs that contain Groovy scripts. Currently, the job checks the content author of the job for programming right. However, modifying or adding a job script to a document doesn't modify the content author. Together with a CSRF vulnerability in the job scheduler, this can be exploited for remote code execution by an attacker with edit right on the wiki.
For successful exploitation, the needs to have edit right on a document whose content has last been changed by a user with programming right. This could be the user profile for users created by admins. In this document, the attacker can create an object of class `XWiki.SchedulerJobClass` using the object editor. By setting
GHSA
XWiki Platform's Groovy jobs check the wrong author, allowing remote code execution
ghsa·2023-08-23
CVE-2023-40573 [CRITICAL] CWE-284 XWiki Platform's Groovy jobs check the wrong author, allowing remote code execution
XWiki Platform's Groovy jobs check the wrong author, allowing remote code execution
### Impact
XWiki supports scheduled jobs that contain Groovy scripts. Currently, the job checks the content author of the job for programming right. However, modifying or adding a job script to a document doesn't modify the content author. Together with a CSRF vulnerability in the job scheduler, this can be exploited for remote code execution by an attacker with edit right on the wiki.
For successful exploitation, the needs to have edit right on a document whose content has last been changed by a user with programming right. This could be the user profile for users created by admins. In this document, the attacker can create an object of class `XWiki.SchedulerJobClass` using the object editor. By setting
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/xwiki/xwiki-platform/commit/fcdcfed3fe2e8a3cad66ae0610795a2d58ab9662https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-8xhr-x3v8-rghjhttps://jira.xwiki.org/browse/XWIKI-20852https://github.com/xwiki/xwiki-platform/commit/fcdcfed3fe2e8a3cad66ae0610795a2d58ab9662https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-8xhr-x3v8-rghjhttps://jira.xwiki.org/browse/XWIKI-20852
2023-08-24
Published