Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.xwiki.platform/xwiki-platform-administration-ui
  4. ›
  5. CVE-2023-46731

CVE-2023-46731: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

November 8, 2023

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. XWiki does not properly escape the section URL parameter that is used in the code for displaying administration sections. This allows any user with read access to the document XWiki.AdminSheet (by default, everyone including unauthenticated users) to execute code including Groovy code. This impacts the confidentiality, integrity and availability of the whole XWiki instance. This vulnerability has been patched in XWiki 14.10.14, 15.6 RC1 and 15.5.1. Users are advised to upgrade. Users unablr to upgrade may apply the fix in commit fec8e0e53f9 manually. Alternatively, to protect against attacks from unauthenticated users, view right for guests can be removed from this document (it is only needed for space and wiki admins).

References

  • github.com/advisories/GHSA-62pr-qqf7-hh89
  • github.com/xwiki/xwiki-platform/commit/fec8e0e53f9fa2c3f1e568cc15b0e972727c803a
  • github.com/xwiki/xwiki-platform/commit/fec8e0e53f9fa2c3f1e568cc15b0e972727c803a
  • github.com/xwiki/xwiki-platform/security/advisories/GHSA-62pr-qqf7-hh89
  • jira.xwiki.org/browse/XWIKI-21110
  • nvd.nist.gov/vuln/detail/CVE-2023-46731

Code Behaviors & Features

Detect and mitigate CVE-2023-46731 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 14.10.14, all versions starting from 15.0-rc-1 before 15.5.1

Fixed versions

  • 14.10.14
  • 15.5.1

Solution

Upgrade to versions 14.10.14, 15.5.1 or above.

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')
  • CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

Source file

maven/org.xwiki.platform/xwiki-platform-administration-ui/CVE-2023-46731.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:30 +0000.