| 제목 | cmseasy 7.7.7 Command Injection |
|---|
| 설명 | 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.
|
|---|
| 원천 | ⚠️ https://note-hxlab.wetolink.com/share/msJH69Y06ZlS |
|---|
| 사용자 | yu22x (UID 34832) |
|---|
| 제출 | 2025. 12. 16. AM 08:57 (4 개월 ago) |
|---|
| 모더레이션 | 2025. 12. 27. PM 02:30 (11 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 338525 [CmsEasy 까지 7.7.7 Backend Template Management Page template_admin.php savetemp_action content/tempdata 권한 상승] |
|---|
| 포인트들 | 20 |
|---|