Loading...
Skip to main content

CVE-2023-48292 — Vulnerability in...

CRITICAL

Run Shell Command allows Cross-Site Request Forgery

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

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](https://github.com/xwiki-contrib/application-admintools/commit/03815c505c9f37006a0c56495e862dc549a39da8) 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 * https://jira.xwiki.org/browse/ADMINTOOL-91 * https://github.com/xwiki-contrib/application-admintools/commit/03815c505c9f37006a0c56495e862dc549a39da8

Advisory Timeline

  • First published November 20, 2023 (1057 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, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.xwiki.contrib:xwiki-application-admintools
maven
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. 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

Exploitation is straightforward and causes maximum impact. Patch immediately.

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 if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies