CVE-2026-144417
JimuReport password- less shares expose unauthenticated SQL injection in / jmreport/ qurestSql
- Severity
- 6.9MediumNetwork attack, no privileges, no user interactionCVSS 4.0, CVE List
- Exploitation
- UnknownNo source reports exploitation yet.
- Exploit chance
- UnknownNo source reports an EPSS score yet.
- Listed fix
2.5.4for org.jeecgframework. jimureport: jimureport- spring- boot4- starter From GitHub Advisories
Overview
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 4.0 vector
Exploitability
- Attack vector
- Network
- Complexity
- Low
- Attack requirements
- Present
- Privileges needed
- None
- User interaction
- None
Impact on the vulnerable system
- Confidentiality
- None
- Integrity
- None
- Availability
- None
Impact on subsequent systems
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:NAffected
Packages 1
| Package | Affected | Fixed |
|---|---|---|
org.jeecgframework.jimureport:jimureport-spring-boot4-starterMaven | before 2.5.4 | 2.5.4 |
Products 1
Sources
CVE List Score usedCVSS 4.06.9
JimuReport password-less shares expose unauthenticated SQL injection in /jmreport/qurestSql
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.
- Record
CVE-2026-144417- CVSS 4.0
- 6.9 Medium
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 - Weakness
- CWE-89
- Updated
- 2026-12-04
EUVDEUVD-2026-144557CVSS 4.06.9
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.
- Record
EUVD-2026-144557- CVSS 4.0
- 6.9 Medium
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 - Updated
- 2026-12-04
GitHub AdvisoriesGHSA-cxjx-4v5m-2vfxCVSS 4.06.9
JimuReport password-less shares expose unauthenticated SQL injection in /jmreport/qurestSql
Summary
The dataset-preview endpoint POST /jmreport/qurestSql substitutes request parameters into the dataset SQL (jimu_report_db.db_dyn_sql, e.g. select * from rep_demo_order_product where order_fk_id = '${orderId}') using raw string replacement — no binding, no escaping — in current jimureport 2.5.2 (latest release, 2026-09-08). This is the same defective substitution class as CVE-2023-1454.
Since the 1.9.x hardening the endpoint is no longer reachable by anonymous callers directly: JimuReportTokenInterceptor rejects requests without a valid token. However the interceptor's share logic (isSharingEffective) resolves the report behind the requested apiSelectId (jimu_report_db → jimu_report_id) and grants access when that report has any active share without a share token — i.e. an ordinary public dashboard link. Public share links are distributed to end users by design, so on any deployment that has shared a report without password protection (the common case), an unauthenticated attacker can:
- obtain the report's dataset configuration anonymously through the share-whitelisted
POST /jmreport/getQueryInfo(dataset ids /apiSelectIds are embedded in the report JSON), - reach
qurestSqlin the share context, - inject through the
${param}placeholders.
Proof of Concept
Reproduced on a default local install (jimureport-spring-boot4-starter 2.5.2 + jeecg-boot 3.9.5 HEAD). Preparation: one active password-less share row for a report that owns a parameterized SQL dataset (... where order_fk_id = '${orderId}'). Then, with no token at all:
POST /jeecg-boot/jmreport/qurestSql
{"apiSelectId":"<datasetId>","orderId":"1001"}
→ 200, 19 rows (baseline, value matches nothing real)
POST /jeecg-boot/jmreport/qurestSql
{"apiSelectId":"<datasetId>","orderId":"X' or '1'='1"}
→ 200, 37 rows (entire table — injection)
Boolean-blind extraction of sys_user credentials (row-count oracle; select/union are not on the jimureport keyword blacklist, and no error-based technique is needed):
{"apiSelectId":"...","orderId":"X' or (select substring(password,1,1) from sys_user where username='admin')='c"}
→ 37 rows (TRUE: admin's password hash starts with 'c'; any other guess → 0 rows)
Iterating substring(password,n,1) extracts the full hash offline through a clean row-count oracle.
Notes on the security filter
The jimureport-side SqlInjectionUtil keyword list does not contain select, union, and, or, substring etc., and the checks that do exist are only invoked on specific code paths; the boolean technique above passes untouched. Error-based functions (extractvalue, updatexml) are filtered, which is why the row-count oracle is used instead.
Impact
- On any deployment with at least one active password-less share: unauthenticated boolean-blind SQL injection into the report datasource, enabling extraction of arbitrary data from that connection (on default installs the shared datasource is the main application database, so
sys_userandsys_data_sourceare reachable, as demonstrated). - Share links are routinely created without tokens for public dashboards, so the precondition is realistic and permanent, not a corner case.
Suggested remediation
- Bind dataset parameters via PreparedStatement placeholders instead of string substitution in
qurestechSql(and the same substitution used by/jmreport/showrendering); - Require share tokens to be validated against the specific dataset/
apiSelectIdbeing queried (the current check only binds the share to the report, then grants all share-whitelisted endpoints for that report); - Add
and/or/substring/select/unionto the jimureport blacklist as defense-in-depth, or adopt the grammar-whitelist approach used in the main application.
Related
- CVE-2023-1454 — same endpoint, historically exploited pre-hardening; the…
- Record
GHSA-cxjx-4v5m-2vfx- CVSS 4.0
- 6.9 Medium
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 - Weakness
- CWE-89
- Updated
- 2026-12-04
NVDCVSS 4.06.9
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.
- Record
CVE-2026-144417- CVSS 4.0
- 6.9 Medium
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Weakness
- CWE-89
- Updated
- 2026-12-04
OSVCVSS 4.06.9
JimuReport password-less shares expose unauthenticated SQL injection in /jmreport/qurestSql
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.
- Record
CVE-2026-144417- CVSS 4.0
- 6.9 Medium
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 - Weakness
- CWE-89
- Updated
- 2026-12-04
The JSON record also has the rest of 1 source description.
History
Recorded by Every CVE
| Day | Changed | Sources |
|---|---|---|
| Affected packages, key facts, references | GitHub Advisories | |
| Other IDs, published date | EUVD | |
| Other IDs, references | OSV | |
| Severity | NVD | |
| First indexed | CVE List |
Upstream dates may differ.