| 제목 | ZhiCms ZhiCms <=4.0 Pre-authentication deserialization |
|---|
| 설명 | The ZhiCms software, version 4.0 and earlier, contains a pre-authentication deserialization vulnerability in the file 'app/plug/controller/giftcontroller.php' that can lead to remote code execution (RCE). This vulnerability, discovered by glzjin, is due to the handling of a cookie named 'mylike' which is treated as a string. By crafting a chain of objects with a magic function __toString, an attacker can exploit this vulnerability to write arbitrary PHP code to a file, leading to RCE. The issue lies in the 'ApplicationVar' class that has a '__writeToFile' function, which writes 'app_data' to 'save_file'. By manipulating serialized data and sending it to the target in a cookie, an attacker can create a PHP file in any location, leading to the execution of arbitrary code. |
|---|
| 원천 | ⚠️ https://note.zhaoj.in/share/n3QsNbORUR0e |
|---|
| 사용자 | glzjin (UID 59815) |
|---|
| 제출 | 2024. 01. 13. PM 06:38 (2 연령 ago) |
|---|
| 모더레이션 | 2024. 01. 16. PM 04:41 (3 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 250839 [ZhiCms 까지 4.0 giftcontroller.php mylike 권한 상승] |
|---|
| 포인트들 | 20 |
|---|