| Título | cmseasy 7.7.7 Command Injection |
|---|
| Descripción | CmsEasy version 7.7.7 contains a critical vulnerability that allows authenticated administrators to achieve Remote Code Execution (RCE) through a combination of arbitrary file write and local file inclusion vulnerabilities in the template management functionality.
The vulnerability exists in the template editing feature where:
1. The `savetemp_action()` function in `/lib/admin/template_admin.php` allows writing arbitrary content (including PHP code) to template files without proper sanitization
2. The `saveCache()` function writes user-controlled content to the `/data/template/` directory
3. When the `pageset` parameter is present in the URL, the `fetch()` function in `/lib/inc/view.php` loads templates from the `/data/template/` directory
4. The `_eval()` function uses PHP's `include` statement to execute the template file, resulting in arbitrary PHP code execution
An authenticated attacker with administrator privileges can exploit this vulnerability chain to execute arbitrary PHP code on the server, leading to complete system compromise.
|
|---|
| Fuente | ⚠️ https://note-hxlab.wetolink.com/share/msJH69Y06ZlS |
|---|
| Usuario | yu22x (UID 34832) |
|---|
| Sumisión | 2025-12-16 08:57 (hace 4 meses) |
|---|
| Moderación | 2025-12-27 14:30 (11 days later) |
|---|
| Estado | Aceptado |
|---|
| Entrada de VulDB | 338525 [CmsEasy hasta 7.7.7 Backend Template Management Page template_admin.php savetemp_action content/tempdata escalada de privilegios] |
|---|
| Puntos | 20 |
|---|