| 标题 | Shenzhen Gongji Technology Co., Ltd. XBROTHER Dynamic Environment Monitoring System / XBROTHER-动环监控系统 V300R004C00B300 and below CWE-89 (SQL Injection) |
|---|
| 描述 | The order parameters at the /xbreport/api/v1/plamange/plansImmediate endpoint are vulnerable to unauthorized SQL injection. An attacker can exploit this vulnerability without any authentication.
In the backend code (PlanController.getImmediatePlans), the sort parameter is directly passed to MyBatis ${orderField} without any validation (no ClassUtil.checkOrder or ClassUtil.findField), and the order parameter is directly passed to ${order}. Both are concatenated into the ORDER BY clause as raw strings, leading to SQL injection.
Successful exploitation allows an attacker to extract database contents including database version, current user, database names, table names, column names, and any stored data via error-based injection techniques (updatexml, extractvalue, floor+group by). |
|---|
| 来源 | ⚠️ https://ucn9h68n9289.feishu.cn/docx/WgJYd7q4CopTQKxqWuWcJEpinde?from=from_copylink |
|---|
| 用户 | Anonymous User |
|---|
| 提交 | 2026-07-10 08時42分 (1 月前) |
|---|
| 管理 | 2026-08-23 18時33分 (1 month later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 394566 [Shenzhen Gongji Technology XBROTHER Dynamic Environment Monitoring System 直到 300R004C00B300 plansImmediate PlanController.getImmediatePlans order/sort SQL注入] |
|---|
| 积分 | 20 |
|---|