CTCMS
cpe:2.3:a:ctcms_project:ctcms:*:*:*:*:*:*:*
- 2.1.2
A server-side template injection vulnerability has been identified in CTCMS Content Management System versions prior to 2.1.2. This vulnerability exists in the Frontend/Template Management Module, specifically within the library '/ctcms/apps/libraries/CT_Parser.php'. The issue arises from improper sanitization of template syntax, allowing authenticated administrators to inject malicious code that could be executed remotely.
Exploitation of this vulnerability allows for remote code execution on the server where CTCMS is hosted.
To reproduce this vulnerability, an authenticated administrator can access the backend template management section and select a template file to edit. Once in the editor, the administrator can inject malicious template syntax that includes PHP functions such as 'eval()'. After saving the changes, the injected code will be executed when the template is rendered on the frontend.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.