| शीर्षक | 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) |
|---|
| सबमिशन | 13/01/2024 06:38 PM (2 साल पहले) |
|---|
| संयम | 16/01/2024 04:41 PM (3 days later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 250839 [ZhiCms तक 4.0 giftcontroller.php mylike अधिकार वृद्धि] |
|---|
| अंक | 20 |
|---|