[NT] Windows XP gethostbyaddr() NULL h_name Pointer
From: SecuriTeam (support_at_securiteam.com)
Date: 06/22/03
- Previous message: SecuriTeam: "[REVS] Heap Off by One - Explained"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: list@securiteam.com Date: 22 Jun 2003 19:53:12 +0200
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
Beyond Security in Canada
Toronto-based Sunrays Technologies is now Beyond Security's representative in Canada.
We welcome ISPs, system integrators and IT systems resellers
to promote the most advanced vulnerability assessment solutions today.
Contact us at 416-482-0038 or at canadasales@beyondsecurity.com
- - - - - - - - -
Windows XP gethostbyaddr() NULL h_name Pointer
------------------------------------------------------------------------
SUMMARY
It is possible to crash any application on Windows XP whenever
gethostbyaddr() or WSAAsyncGetHostByAddr() function (from ws2_32.dll) are
used for reverse name resolution (Mail and proxy servers, IRC clients,
Peer-to-Peer clients, personal firewalls, etc). The crash occurs because a
NULL pointer is returned as a reference instead of a valid entry.
DETAILS
Reproduction:
A test application can be downloaded from
<http://www.security.nnov.ru/files/gethostbyaddr.zip>
http://www.security.nnov.ru/files/gethostbyaddr.zip
1. Create zone 1.168.192.in-addr.arpa and add record (Windows 2000 DNS
server was used, results for bind may differ):
254 IN CNAME non.existant.name
2. Use test program referenced
3. Tests on Windows NT 4.0, Windows 2000 and Windows XP SP1 resulted in:
Windows NT 4.0:
c:\>test.exe 192.168.1.254
gethostbyaddr failed
Windows 2000:
C:\>test.exe 192.168.1.254
gethostbyaddr failed
Windows XP SP1:
C:\>test.exe 192.168.1.254
h_name: (null)
We would expect that h_name never revert to a NULL value, if
gethostbyaddr() returns a valid result.
ADDITIONAL INFORMATION
The information has been provided by <mailto:3APA3A@security.nnov.ru>
3APA3A. The vulnerability was first reported by at4r ins4n3. Further
research was done by Roland Postle, Peter Pentchev and
<mailto:3APA3A@security.nnov.ru> 3APA3A.
========================================
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com
====================
====================
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
- Previous message: SecuriTeam: "[REVS] Heap Off by One - Explained"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
- [TOOL] P.A.T.H. Perl Advanced TCP Hijacking
... Toronto-based Sunrays Technologies is now Beyond Security's representative in Canada.
... internal network. ... The information in this bulletin is provided "AS
IS" without warranty of any kind. ... In no event shall we be liable for any damages whatsoever
including direct, indirect, incidental, consequential, loss of business profits or special damages. ...
(Securiteam) - [TOOL] NetPipe, a Socket Redirector
... Toronto-based Sunrays Technologies is now Beyond Security's representative in Canada.
... It takes a socket in on one port, ... The information in this bulletin
is provided "AS IS" without warranty of any kind. ... In no event shall we be liable for any damages
whatsoever including direct, indirect, incidental, consequential, loss of business profits or special
damages. ... (Securiteam) - [NT] Mobys Netsuite Directory Traversal Vulnerability
... Toronto-based Sunrays Technologies is now Beyond Security's representative in Canada.
... to promote the most advanced vulnerability assessment solutions today. ... The
information in this bulletin is provided "AS IS" without warranty of any kind. ... In no
event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential,
loss of business profits or special damages. ... (Securiteam) - [TOOL] THC-Shagg, Serial Number Extrapolator, and Algorithm Analyzer
... Toronto-based Sunrays Technologies is now Beyond Security's representative in Canada.
... If such a setup is found, ... The information in this bulletin is provided
"AS IS" without warranty of any kind. ... In no event shall we be liable for any damages whatsoever
including direct, indirect, incidental, consequential, loss of business profits or special damages. ...
(Securiteam) - [NT] Buffer Overflow in EF Commander
... viewer, FTP-client for the Windows 95/98/Me, Windows NT 4.0, Windows 2000 ...
to a buffer overflow in the FTP server's responses handling code. ... The information in
this bulletin is provided "AS IS" without warranty of any kind. ... In no event shall we
be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss
of business profits or special damages. ... (Securiteam)