| 标题 | jeecgboot jimureport <= 2.3.0 Code Injection |
|---|
| 描述 | JimuReport (jimureport) v2.3.0 and earlier is vulnerable to Remote Code Execution (RCE) via the /drag/onlDragDataSource/testConnection endpoint. An authenticated attacker can supply a crafted H2 JDBC URL containing an INIT parameter that executes arbitrary SQL statements during the database connection process. By using CREATE ALIAS to define a Java function that calls Runtime.exec(), the attacker can execute arbitrary operating system commands on the server. The endpoint passes the user-supplied JDBC URL directly to DriverManager.getConnection() without adequate validation of H2-specific dangerous parameters such as INIT, RUNSCRIPT, or TRIGGER. |
|---|
| 来源 | ⚠️ https://github.com/jeecgboot/jimureport/issues/4587 |
|---|
| 用户 | anch0r (UID 96691) |
|---|
| 提交 | 2026-03-27 03時16分 (6 月前) |
|---|
| 管理 | 2026-04-08 21時11分 (13 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 356374 [jeecgboot JimuReport 直到 2.3.0 Data Source testConnection DriverManager.getConnection dbUrl 权限提升] |
|---|
| 积分 | 20 |
|---|