Exploit database

GH-30442662d40baf613849ab92fe2c0d47

delvin-45/php2shell-cve-2026-109618-cve-2026-109619-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 files5

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

webroot/oom_check.php

PHP · 702 bytes
<?php
// OOM Bailout Verification Endpoint
header('Content-Type: application/json');
$action = $_GET['action'] ?? '';
$limit = ini_get('memory_limit');

if ($action === 'trigger') {
    // Intentionally allocate beyond memory_limit to observe zend_bailout
    $mb = (int)($_GET['mb'] ?? 20);
    $bytes = $mb * 1024 * 1024;
    $leak = str_repeat('X', $bytes);
    echo json_encode([
        'status' => 'allocated',
        'allocated_bytes' => strlen($leak),
        'memory_limit' => $limit
    ]);
} else {
    echo json_encode([
        'status' => 'ready',
        'memory_limit' => $limit,
        'current_usage' => memory_get_usage(),
        'peak_usage' => memory_get_peak_usage()
    ]);
}