CVE-2023-48292 — Vulnerability in xwiki-application-admintools
Run Shell Command allows Cross-Site Request Forgery
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (2.98%). Schedule for your next planned update.
Does your project use an affected org.xwiki.contrib:xwiki-application-admintools version?
Paste your pom.xml to check it for CVE-2023-48292 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
A cross site request forgery vulnerability in the admin tool for executing shell commands on the server allows an attacker to execute arbitrary shell commands by tricking an admin into loading the URL with the shell command. A very simple possibility for an attack are comments. When the attacker can leave a comment on any page in the wiki it is sufficient to include an image with an URL like /xwiki/bin/view/Admin/RunShellCommand?command=touch%20/tmp/attacked in the comment. When an admin views the comment, the file /tmp/attacked will be created on the server. The output of the command is also vulnerable to XWiki syntax injection which offers a simple way to execute Groovy in the context of the XWiki installation and thus an even easier way to compromise the integrity and confidentiality of the whole XWiki installation.
Patches
This has been patched by adding a form token check in version 4.5.1 of the admin tools.
Workarounds
The patch can be applied manually to the affected wiki pages. Alternatively, the document Admin.RunShellCommand can also be deleted if the possibility to run shell commands isn't needed.
References
Advisory Timeline
- First published November 20, 2023 (1102 days ago).
- Last revised November 20, 2023 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 4.5.1 for org.xwiki.contrib:xwiki-application-admintools -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: Maven (1).
| Package | Fixed In |
|---|---|
| org.xwiki.contrib:xwiki-application-admintools Maven · Affected: All versions | 4.5.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-352Cross-Site Request Forgery (CSRF)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.6 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
References
- https://github.com/xwiki-contrib/application-admintools/security/advisories/GHSA-8jpr-ff92-hpf9WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-48292ADVISORY
- https://github.com/xwiki-contrib/application-admintools/commit/03815c505c9f37006a0c56495e862dc549a39da8WEB
- https://github.com/xwiki-contrib/application-admintoolsPACKAGE
- https://jira.xwiki.org/browse/ADMINTOOL-91WEB
Frequently Asked Questions
- What is CVE-2023-48292?
- Run Shell Command allows Cross-Site Request Forgery. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.6/10).
- How do I check if my project is affected by CVE-2023-48292?
- CVE-2023-48292 affects org.xwiki.contrib:xwiki-application-admintools. It has a 3.0% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-48292 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top quartile of EPSS-scored vulnerabilities — 88% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
Also Known As
Related CVEs
- CVE-2025-65091CRITICAL
XWiki Full Calendar Macro vulnerable to SQL injection through Calendar.JSONService
- CVE-2026-107726CRITICAL
Hazelcast allows arbitrary member memory access by low-privileged client
- CVE-2025-46558CRITICAL
org.xwiki.contrib.markdown:syntax-markdown-commonmark12 vulnerable to XSS via Markdown content
- CVE-2025-49594CRITICAL
XWiki OIDC Authenticator: Users with "view" access can create tokens for any users they can view
- CVE-2023-45138CRITICAL
XWiki Change Request Application UI XSS and remote code execution through change request title
- CVE-2026-107282CRITICAL
AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host
- CVE-2025-58365HIGH
XWiki Blog Application: Privilege Escalation (PR) from account through blog content
- CVE-2025-66024HIGH
XWiki Blog Application home page vulnerable to Stored XSS via Post Title