| 标题 | jeecgboot jeewx-boot up to 641ab52 Arbitrary file reading |
|---|
| 描述 | An arbitrary file read (path traversal) vulnerability in jeecgboot/jeewx-boot stems from flawed filename sanitization in getFileName: the code strips .., /../, ./ and similar tokens but then removes all whitespace, which enables an attacker to encode traversal sequences as %20.%20.%20 (space–dot–space). After URL decoding and the subsequent whitespace removal this pattern collapses into ../, bypassing the checks and allowing directory traversal; a crafted request to the vulnerable endpoint (for example, /goldeneggs/back/wxActGoldeneggsPrizes/getImgUrl?imgurl=/%20.%20.%20/.../etc/passwd) can therefore read arbitrary files such as /etc/passwd. |
|---|
| 来源 | ⚠️ https://github.com/jeecgboot/jeewx-boot/issues/47 |
|---|
| 用户 | fushuling (UID 45488) |
|---|
| 提交 | 2025-10-21 05時52分 (12 月前) |
|---|
| 管理 | 2025-11-03 07時49分 (13 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 330916 [jeecgboot jeewx-boot 直到 641ab52c3e1845fec39996d7794c33fb40dad1dd WxActGoldeneggsPrizesController.java getImgUrl imgurl 目录遍历] |
|---|
| 积分 | 20 |
|---|