| Titre | https://github.com/erzhongxmu/JEEWMS JEEWMS 3.7 SQL Injection |
|---|
| Description | 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 |
|---|
| La source | ⚠️ https://github.com/Lib0gus/JeeWMS/security/advisories/GHSA-mc7c-w398-v7xp |
|---|
| Utilisateur | Lib0gus (UID 101005) |
|---|
| Soumission | 04/09/2026 03:37 (il y a 2 mois) |
|---|
| Modérer | 10/10/2026 23:29 (1 month later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 416392 [erzhongxmu Jeewms jusqu’à 3.7 Autocomplete Data JeecgFormDemoController.java getTreeData searchVal injection SQL] |
|---|
| Points | 20 |
|---|