Paper/Archive/CVE-2024-56158

CVE-2024-56158

xwiki xwiki-platform — XWiki allows SQL injection in query endpoint of REST API with Oracle

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
xwiki-platform>= 1.0, < 15.10.16–CNA
xwiki-platform>= 16.0.0-rc-1, < 16.4.7–CNA
xwiki-platform>= 16.5.0-rc-1, < 16.10.2–CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub_M (CNA)9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

refgithub.com/xwiki/xwiki-platform/security/advisories/GHSA-prwh-7838-xf82refgithub.com/xwiki/xwiki-platform/commit/ce855aae38eefd8ee3fc86353d51ac03d6cb7f8drefjira.xwiki.org/browse/XWIKI-22734