XWiki Platform's Groovy jobs check the wrong author, allowing remote code execution
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 14.10.9, 15.4-rc-1
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: poc
- Automatable: no
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: poc · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- xwiki xwiki-platform
fixed in 14.10.9; From 1.3; From 15.0-rc-1 · fixed in 15.4-rc-1
- org.xwiki.platform:xwiki-platform-scheduler-apiMaven
fixed in 14.10.9
- com.xpn.xwiki.platform.plugins:xwiki-plugin-schedulerMaven
From 1.3
- org.xwiki.platform:xwiki-platform-scheduler-apiMaven
From 15.0-rc-1 · fixed in 15.4-rc-1