| tiêu đề | https://github.com/erzhongxmu/JEEWMS JEEWMS 3.7 SQL Injection |
|---|
| Mô tả | JEEWMS v3.7 contains a SQL injection vulnerability in the getAutocompleteData method of JeecgFormDemoController.java.
The vulnerable code at line 195-197 directly concatenates user input into HQL:
String searchVal = request.getParameter("searchVal");
String hql = "from TSUser where userName like '%" + searchVal + "%'";
List autoList = systemService.findHql(hql);
An authenticated attacker can inject HQL via the searchVal parameter:
GET /jeecgFormDemoController.do?getAutocompleteData&searchVal=admin (normal)
GET /jeecgFormDemoController.do?getAutocompleteData&searchVal=' or 1=1 or userName like ' (injection - returns all users)
The issue has been reported to the vendor and a fix PR has been submitted: https://github.com/erzhongxmu/JEEWMS/pull/4 |
|---|
| Nguồn | ⚠️ https://github.com/Lib0gus/JeeWMS/security/advisories/GHSA-mc7c-w398-v7xp |
|---|
| Người dùng | Lib0gus (UID 101005) |
|---|
| Đệ trình | 04/09/2026 03:37 (cách đây 2 các tháng) |
|---|
| Kiểm duyệt | 10/10/2026 23:29 (1 month later) |
|---|
| Trạng thái | được chấp nhận |
|---|
| Mục VulDB | 416392 [erzhongxmu Jeewms đến 3.7 Autocomplete Data JeecgFormDemoController.java getTreeData searchVal Tiêm SQL] |
|---|
| điểm | 20 |
|---|