提交 #678926: jeecgboot jeewx-boot up to 641ab52 Arbitrary file reading信息

标题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

Do you want to use VulDB in your project?

Use the official API to access entries easily!