Skip to main content
← All vulnerabilities
CVE-2024-56158GHSA-PRWH-7838-XF82

XWiki allows SQL injection in query endpoint of REST API with Oracle

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 15.10.16, 16.4.7, 16.10.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

XWiki is a generic wiki platform. It's possible to execute any SQL query in Oracle by using the function like DBMS_XMLGEN or DBMS_XMLQUERY. The XWiki query validator does not sanitize functions that would be used in a simple select and Hibernate allows using any native function in an HQL query. This vulnerability is fixed in 16.10.2, 16.4.7, and 15.10.16.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • xwiki xwiki-platform

    From 1.0 · fixed in 15.10.16; From 16.0.0-rc-1 · fixed in 16.4.7; From 16.5.0-rc-1 · fixed in 16.10.2

  • org.xwiki.platform:xwiki-platform-oldcoreMaven

    From 1.0 · fixed in 15.10.16

  • org.xwiki.platform:xwiki-platform-oldcoreMaven

    From 16.0.0-rc-1 · fixed in 16.4.7

  • org.xwiki.platform:xwiki-platform-oldcoreMaven

    From 16.5.0-rc-1 · fixed in 16.10.2

References 3

GitHub · xwiki/xwiki-platform

jira.xwiki.org