Gửi #1094308: https://gitee.com/jprocms/jprocms/ jprocms 1.0 Path Traversalthông tin

tiêu đềhttps://gitee.com/jprocms/jprocms/ jprocms 1.0 Path Traversal
Mô tảThe user-side file upload endpoint of jprocms (JPROCMS, v1.7.7), `POST /app-api/infra/file/upload`, is annotated with `@PermitAll` and is therefore reachable anonymously. Its request parameter `directory` (the target file directory) is passed into `FileServiceImpl.createFile` **without any path normalization or validation** and is then used as part of the on-disk path. It is finally concatenated in `LocalFileClient.getFilePath` (`base path + File.separator + path`) and written directly to the file system. An unauthenticated attacker can supply `directory=../../any/path` in an upload request, which causes the file content to be written into **any writable directory** on the server (for example the Tomcat or application deployment directory). Combined with an executable file extension this leads to remote code execution; at a minimum it allows overwriting arbitrary writable files and causing damage.
Nguồn⚠️ https://github.com/sikii7/CVE-md/blob/main/jprocms-master/01-App-Upload-API-Directory-Traversal-Arbitrary-File-Write.md
Người dùng
 sikii (UID 47840)
Đệ trình13/11/2026 09:09 (cách đây 24 ngày)
Kiểm duyệt06/12/2026 22:29 (24 days later)
Trạng tháiđược chấp nhận
Mục VulDB450901 [jprocms đến 1.7.7 File Upload upload FileServiceImpl.createFile directory duyệt thư mục]
điểm20

Might our Artificial Intelligence support you?

Check our Alexa App!