| 标题 | diyhi bbs 6.8 Path Traversal |
|---|
| 描述 | In the bbs project, the file upload API /control/forum/manage?method=add contains the following issue:
When uploading an image by the API, the parameter dirName is used as the storage directory for the uploaded image and the lockFile. However, the legality of dirName is not validated, which allows to upload image to arbitrary path and the lockFile to be created to arbitrary directories.
Project Link: https://github.com/diyhi/bbs
Affected Version: 6.8
Affected API: /control/forum/manage?method=add
Code Location: /src/main/java/cms/web/action/template/ForumManageAction.java:171 |
|---|
| 来源 | ⚠️ https://github.com/ShenxiuSec/cve-proofs/blob/main/POC-20250618-01.md |
|---|
| 用户 | ShenxiuSecurity (UID 84374) |
|---|
| 提交 | 2025-06-18 08時02分 (1 年前) |
|---|
| 管理 | 2025-06-20 21時29分 (3 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 313560 [diyhi bbs 6.8 API ForumManageAction.java add dirName 目录遍历] |
|---|
| 积分 | 20 |
|---|