漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
JimuReport password-less shares expose unauthenticated SQL injection in /jmreport/qurestSql
Vulnerability Description
JimuReport is an open source reporting and business intelligence tool. Prior to 2.5.4, the dataset-preview endpoint POST /jmreport/qurestSql performs raw string substitution of request values into ${param} placeholders in SQL read from jimu_report_db.db_dyn_sql. The post-1.9.x authentication gate does not prevent this path because JimuReportTokenInterceptor.isSharingEffective authorizes an apiSelectId whenever its owning report has an active password-less share, even when the request carries no share token. The share-whitelisted POST /jmreport/getQueryInfo endpoint exposes the dataset identifiers needed to target the query. Crafted placeholder values can then produce boolean-based SQL injection against the report datasource and disclose arbitrary data available to that connection. This issue is fixed in 2.5.4.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)