| 제목 | westboy CicadasCMS 2431154dac8d0735e04f1fd2a3c3556668fc8dab Unrestricted File Write |
|---|
| 설명 | 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. |
|---|
| 원천 | ⚠️ https://github.com/wawyw/cve_report/blob/main/CicadasCMS_1.md |
|---|
| 사용자 | wenyouwen (UID 99589) |
|---|
| 제출 | 2026. 09. 04. PM 02:16 (2 개월 ago) |
|---|
| 모더레이션 | 2026. 10. 11. AM 11:00 (1 month later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 416569 [westboy CicadasCMS 까지 2431154dac8d0735e04f1fd2a3c3556668fc8dab Backend Template Editor save TemplateController.save 디렉토리 순회] |
|---|
| 포인트들 | 20 |
|---|