XWiki Platform's Groovy jobs check the wrong author, allowing remote code execution (xwiki xwiki-platform)
At a glance
- Source
- NVD
- EPSS
- EPSS 1.08 % · percentile 65 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Modified
Description
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.
Weaknesses (CWE)
- CWE-284 — Improper Access Control
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H | GitHub_M |
| CVSS 3.1 | CRITICAL 9.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-8xhr-x3v8-rghj — XWiki Platform's Groovy jobs check the wrong author, allowing remote code execution
European references
- ENISA EUVD · EUVD-2023-2250
- GCVE · GCVE-0-2023-40573
Affected configurations (NVD CPE)
cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*< 14.10.9cpe:2.3:a:xwiki:xwiki:15.0:-:*:*:*:*:*:*cpe:2.3:a:xwiki:xwiki:15.0:rc1:*:*:*:*:*:*cpe:2.3:a:xwiki:xwiki:15.1:-:*:*:*:*:*:*cpe:2.3:a:xwiki:xwiki:15.1:rc1:*:*:*:*:*:*cpe:2.3:a:xwiki:xwiki:15.2:-:*:*:*:*:*:*cpe:2.3:a:xwiki:xwiki:15.2:rc1:*:*:*:*:*:*cpe:2.3:a:xwiki:xwiki:15.3:-:*:*:*:*:*:*cpe:2.3:a:xwiki:xwiki:15.3:rc1:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| xwiki · xwiki-platform | affected < 14.10.9 ; affected >= 1.3 ; affected >= 15.0-rc-1, < 15.4-rc-1 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |