CVE-2023-48293: Cross-Site Request Forgery with QueryOnXWiki allows arbitrary database queries
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.72275%
CWE
Published
11/20/2023
Updated
11/20/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| org.xwiki.contrib:xwiki-application-admintools | maven | < 4.5.1 | 4.5.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from missing CSRF protections in the query execution flow. The commit diff shows the patched version added a 'form_token' parameter to SQLTools.getForm and added CSRF validation checks in Query.xml/QueryOnXWiki.xml. The original getForm method (without the token) allowed form submissions to execute arbitrary database queries without CSRF validation. This function is directly responsible for rendering the vulnerable form interface, making it the root enabler of the CSRF vulnerability.