SQL Injection in Xwiki
CVE-2024-56158
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.005, 45.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Xwiki
- Xwiki Xwiki-Platform — versions >= 1.0, < 15.10.16, >= 16.0.0-rc-1, < 16.4.7, >= 16.5.0-rc-1, < 16.10.2
Weakness classification (CWE)
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-prwh-7838-xf82 (Vendor Advisory)
- https://github.com/xwiki/xwiki-platform/commit/ce855aae38eefd8ee3fc86353d51ac03d6cb7f8d
- https://jira.xwiki.org/browse/XWIKI-22734 (Issue Tracking, Vendor Advisory)