Exploit database

GH-51691b62ba6b070d18237debe97465f1

leviticus-triage/php2shell-unchained

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 files2

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

target/webroot/index.php

PHP · 643 bytes
<?php
declare(strict_types=1);

if (getenv('LAB_MODE') !== 'true') {
    http_response_code(403);
    exit('Forbidden');
}

session_start();

if (isset($_GET['page'])) {
    // Intentionally vulnerable LFI for chained PoC testing in lab only.
    include $_GET['page'];
    return;
}

header('Content-Type: text/plain; charset=utf-8');
printf("PHP %s (%s)\n", PHP_VERSION, PHP_SAPI);
printf("session.upload_progress.enabled = %s\n", ini_get('session.upload_progress.enabled'));
printf("session.upload_progress.min_freq = %s\n", ini_get('session.upload_progress.min_freq'));
printf("memory_limit = %s\n", ini_get('memory_limit'));
echo "OK\n";