Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
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注入)