| Titolo | westboy CicadasCMS 2431154dac8d0735e04f1fd2a3c3556668fc8dab Unrestricted File Write |
|---|
| Descrizione | 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. |
|---|
| Fonte | ⚠️ https://github.com/wawyw/cve_report/blob/main/CicadasCMS_1.md |
|---|
| Utente | wenyouwen (UID 99589) |
|---|
| Sottomissione | 04/09/2026 14:16 (2 mesi fa) |
|---|
| Moderazione | 11/10/2026 11:00 (1 month later) |
|---|
| Stato | Accettato |
|---|
| Voce VulDB | 416569 [westboy CicadasCMS fino a 2431154dac8d0735e04f1fd2a3c3556668fc8dab Backend Template Editor save TemplateController.save directory traversal] |
|---|
| Punti | 20 |
|---|