| Titel | westboy CicadasCMS 2431154dac8d0735e04f1fd2a3c3556668fc8dab Unrestricted File Write |
|---|
| Beschreibung | 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. |
|---|
| Quelle | ⚠️ https://github.com/wawyw/cve_report/blob/main/CicadasCMS_1.md |
|---|
| Benutzer | wenyouwen (UID 99589) |
|---|
| Einreichung | 04.09.2026 14:16 (vor 2 Monaten) |
|---|
| Moderieren | 11.10.2026 11:00 (1 month later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 416569 [westboy CicadasCMS bis 2431154dac8d0735e04f1fd2a3c3556668fc8dab Backend Template Editor save TemplateController.save Directory Traversal] |
|---|
| Punkte | 20 |
|---|