Exploit database

GH-69570a6888f839bed7bd0c3dd48a2ca7

devploit/php2shell

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 files7
devploit/php2shellRevision 2479e2dd95c6

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

lab/fpm/webroot/ref.php

PHP · 497 bytes
<?php
/* php2shell FPM laboratory — builder-page stand-in for an application that
 * stores a reference in $_SESSION.  Produces a session file whose php
 * serializer output contains `R:2` (dummy key shifts the reference index),
 * used by the consumer as the R:N hook whose target index is forged through
 * the BG(unserialize) reuse.  Lab-only scaffold.
 */
session_start();
$_SESSION = array();
$_SESSION['d'] = 'pad';
$_SESSION['a'] = 'x';
$_SESSION['r'] =& $_SESSION['a'];
echo "REF_OK\n";