| タイトル | erzhongxmu JEEWMS 3.7 SQL Injection |
|---|
| 説明 | JEEWMS v3.7 WmToMoveGoodsController (移库/move goods 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 (WmToMoveGoodsController.list, line 455):
hql = hql + " and binFrom like '%" + searchstr + "%'";
A request with searchstr=' or 1=1 or '1'='1 returns ALL wm_to_move_goods rows instead of the filtered set (verified live: normal request with searchstr=BIN_A returns 2 records, injected request returns all 3 records in the response JSON "obj" array, bypassing the intended source-position filter).
PoC:
GET /wmToMoveGoodsController.do?username=test&searchstr=' or 1=1 or '1'='1 -> all records returned in "obj"
GET /wmToMoveGoodsController.do?username=test&searchstr=BIN_A -> only matching records
Vulnerable code: src/main/java/com/zzjee/wm/controller/WmToMoveGoodsController.java:455 |
|---|
| ソース | ⚠️ https://github.com/erzhongxmu/JEEWMS |
|---|
| ユーザー | HYap (UID 101011) |
|---|
| 送信 | 2026年09月04日 11:42 (1 月 ago) |
|---|
| モデレーション | 2026年10月11日 10:05 (1 month later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 416560 [erzhongxmu JEEWMS 迄 2026.09.27-W39 PDA Interface WmToMoveGoodsController.java WmToMoveGoodsController.list searchstr SQLインジェクション] |
|---|
| ポイント | 20 |
|---|