| 标题 | liweiyi ChestnutCMS <=1.5.8 Unrestricted Upload |
|---|
| 描述 | In the /dev-api/common/upload endpoint, there is a flaw in the file extension extraction logic before the FilenameUtils.getExtension method is called. The system performs a special parsing operation on the file path to extract the suffix. If the filename contains specific characters (:// and wx_fmt=), the logic extracts the value between wx_fmt= and & (or the end of the string) as the file extension. Attackers can manipulate this behavior to bypass file extension restrictions. |
|---|
| 来源 | ⚠️ https://github.com/yuccun/CVE/blob/main/ChestnutCMS-Arbitrary_File_Upload.md |
|---|
| 用户 | yuccun (UID 93614) |
|---|
| 提交 | 2025-12-19 04時03分 (10 月前) |
|---|
| 管理 | 2025-12-21 13時51分 (2 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 337715 [liweiyi ChestnutCMS 直到 1.5.8 Filename /dev-api/common/upload FilenameUtils.getExtension file 权限提升] |
|---|
| 积分 | 20 |
|---|