Skip to main content

CVE-2023-48292 — Vulnerability in xwiki-application-admintools

CRITICAL

Run Shell Command allows Cross-Site Request Forgery

Published November 20, 2023Updated November 20, 2023Source: OSV

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.

Check my pom.xml

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.

Maven
Update org.xwiki.contrib:xwiki-application-admintools to 4.5.1 or later
<!-- 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).

PackageFixed In
org.xwiki.contrib:xwiki-application-admintools Maven · Affected: All versions4.5.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-352
    Cross-Site Request Forgery (CSRF)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.6 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

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

CVSS Score
9.6

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
2.98%
EPSS percentile: 88

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

GHSA-8jpr-ff92-hpf9

Related CVEs

  • CVE-2025-65091
    CRITICAL

    XWiki Full Calendar Macro vulnerable to SQL injection through Calendar.JSONService

  • CVE-2026-107726
    CRITICAL

    Hazelcast allows arbitrary member memory access by low-privileged client

  • CVE-2025-46558
    CRITICAL

    org.xwiki.contrib.markdown:syntax-markdown-commonmark12 vulnerable to XSS via Markdown content

  • CVE-2025-49594
    CRITICAL

    XWiki OIDC Authenticator: Users with "view" access can create tokens for any users they can view

  • CVE-2023-45138
    CRITICAL

    XWiki Change Request Application UI XSS and remote code execution through change request title

  • CVE-2026-107282
    CRITICAL

    AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host

  • CVE-2025-58365
    HIGH

    XWiki Blog Application: Privilege Escalation (PR) from account through blog content

  • CVE-2025-66024
    HIGH

    XWiki Blog Application home page vulnerable to Stored XSS via Post Title

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml