CVE-2024-56158 PUBLISHED

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

Assigner: GitHub_M
Reserved: 17.12.2024 Published: 12.06.2025 Updated: 12.06.2025

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 9.3

Product Status

Vendor xwiki
Product xwiki-platform
Versions
  • Version >= 1.0, < 15.10.16 is affected
  • Version >= 16.0.0-rc-1, < 16.4.7 is affected
  • Version >= 16.5.0-rc-1, < 16.10.2 is affected

References

Problem Types

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') CWE