Exploit database

GH-0b0eb0b74b89c072a7a97ab03719ab23

sanwroot/php2shell-lab-poc-

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-109618

412 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files6

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

RCE-POCKET-POC-for-PHP2SHELL/LAB/remote_app.php

PHP · 637 bytes
<?php
// Vulnerable endpoint for the remote PoC. CachedData::unserialize() is one
// statement: deserialize an inner payload, set one property on the result.
// With an attacker-crafted inner payload of O:8:"stdClass":8:{...}, that
// single write triggers the nTableSize 8→16 resize and frees the property
// arData buffer that the outer var_hash still indexes into.

error_reporting(0);

class CachedData implements Serializable {
    public function serialize(): string { return ''; }
    public function unserialize(string $data): void {
        unserialize($data)->x = 0;
    }
}

echo serialize(@unserialize($_REQUEST['cook']));