提出 #267409: ZhiCms ZhiCms <=4.0 Pre-authentication deserialization情報

タイトル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日 18:38 (2 年 ago)
モデレーション2024年01月16日 16:41 (3 days later)
ステータス承諾済み
VulDBエントリ250839 [ZhiCms 迄 4.0 giftcontroller.php mylike 特権昇格]
ポイント20

Interested in the pricing of exploits?

See the underground prices here!