CVE-2024-56158GHSA-PRWH-7838-XF82
XWiki allows SQL injection in query endpoint of REST API with Oracle
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 15.10.16, 16.4.7, 16.10.2
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- 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
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: total
- 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