Submit #598862: diyhi bbs 6.8 Path Traversalinfo

Titlediyhi bbs 6.8 Path Traversal
DescriptionIn 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
Source⚠️ https://github.com/ShenxiuSec/cve-proofs/blob/main/POC-20250618-01.md
User
 ShenxiuSecurity (UID 84374)
Submission06/18/2025 08:02 (1 Year ago)
Moderation06/20/2025 21:29 (3 days later)
StatusAccepted
VulDB entry313560 [diyhi bbs 6.8 API ForumManageAction.java add dirName path traversal]
Points20

Do you need the next level of professionalism?

Upgrade your account now!