| Title | westboy CicadasCMS 2431154dac8d0735e04f1fd2a3c3556668fc8dab Unrestricted File Write |
|---|
| Description | The CicadasCMS backend template editor at /system/cms/template/save writes the request-supplied TemplateFile object (filePath and content) directly to disk: TemplateController.save() performs no validation before calling TemplateFileServiceImpl.writeTemplateFileContent(), which opens new FileOutputStream(new File(filePath)) and writes content verbatim, with no directory whitelist, no canonical-path prefix check, and no rejection of ../ or absolute paths. An authenticated backend user with template:save permission can overwrite classpath templates/configuration files, and in the Servlet-container (WAR) deployments supported by this project can write a .jsp web shell into the web application directory to achieve remote code execution. |
|---|
| Source | ⚠️ https://github.com/wawyw/cve_report/blob/main/CicadasCMS_1.md |
|---|
| User | wenyouwen (UID 99589) |
|---|
| Submission | 09/04/2026 14:16 (2 months ago) |
|---|
| Moderation | 10/11/2026 11:00 (1 month later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 416569 [westboy CicadasCMS up to 2431154dac8d0735e04f1fd2a3c3556668fc8dab Backend Template Editor save TemplateController.save path traversal] |
|---|
| Points | 20 |
|---|