December 2005
Two iDefense Security Advisories: 1. Dell TrueMobile 2300 Wireless Broadband Router Authentication Bypass Vulnerability 2. Ethereal OSPF Protocol Dissector Buffer Overflow Vulnerability
ID: 01081
Ref: 1016/2005
Date: 12 December 2005:15:15:37
Version: 1
Title: Two iDefense Security Advisories: 1. Dell TrueMobile 2300 Wireless Broadband Router Authentication Bypass Vulnerability 2. Ethereal OSPF Protocol Dissector Buffer Overflow Vulnerability
Abstract:
Vendors affected: PHP
Operating systems affected: PHP
Applications affected: PHP
Title
=====
Two iDefense Security Advisories:
1. Dell TrueMobile 2300 Wireless Broadband Router
Authentication Bypass Vulnerability
2. Ethereal OSPF Protocol Dissector Buffer Overflow Vulnerability
Detail
======
1. Remote exploitation of a design error in Dell Inc.'s TrueMobile 2300
Wireless Router may allow an attacker to reset the authentication
credentials.
2. Remote exploitation of an input validation vulnerability in the OSPF
protocol dissectors within Ethereal, as included in various vendors
operating system distributions, could allow attackers to crash the
vulnerable process or potentially execute arbitrary code.
1.
- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
===========================================================================
ESB-2005.0977 -- iDefense Security Advisory 12.07.05
Dell TrueMobile 2300 Wireless Broadband Router
Authentication Bypass Vulnerability
12 December 2005
===========================================================================
Product: Dell TrueMobile 2300 Wireless Broadband Router
Publisher: iDEFENSE
Impact: Administrator Compromise
Access: Remote/Unauthenticated
CVE Names: CVE-2005-3661
Original Bulletin: http://www.idefense.com/application/poi/display?id=348
- - --------------------------BEGIN INCLUDED TEXT--------------------
Dell TrueMobile 2300 Wireless Broadband Router Authentication Bypass
Vulnerability
iDefense Security Advisory 12.07.05
www.idefense.com/application/poi/display?id=348&type=vulnerabilities
December 7, 2005
I. BACKGROUND
The Dell TrueMobile 2300 Wireless Broadband Router is an 802.11b/g
wireless access point, wired ethernet switch and internet router. More
information can be found at the following URL:
http://support.dell.com/support/edocs/network/p57205/en/intro/index.htm
II. DESCRIPTION
Remote exploitation of a design error in Dell Inc.'s TrueMobile 2300
Wireless Router may allow an attacker to reset the authentication
credentials.
The Dell TrueMobile 2300 is a wireless router and access point. By
requesting the following url from the router, it is possible to obtain
a page containing a form which allows you to reset the authentication
credentials. (The IP is typically 192.168.2.1, and [ROUTER IP] should
be replace by the router's actual address.)
http://[ROUTER IP]/apply.cgi?Page=adv_password.asp&action=ClearLog
Although dialog boxes for entering the username and password appear,
pressing cancel will not prevent this exploit from working.
III. ANALYSIS
Exploitation could allow remote attackers to associate with the
internal side of the router to change any configuration settings,
including uploading of new firmware.
The precise cause of the error is unknown. Although there is GPL
source code available for this product, the firmware's source code
version has not been kept up to date with the binary version. As a
result, it does not directly allow the cause of the vulnerability to
be determined.
Based on analysis of the affected binary, /usr/sbin/httpd, and the
previous version of the source code it appears the cause is a logic
error involving the 'ClearLog' string being checked without first
ascertaining that the page was one where that made sense. Although
the binary appears to be largely the same code as the available source
code, there are many differences. In the binary version, the
authentication is not performed in the same order as in the source
version. It is likely that the determination of which pages to check
is now done on the basis of the 'action' variable, rather than the
previous method of using the page name.
IV. DETECTION
iDefense has confirmed the existence of this vulnerability in the
following Dell TrueMobile 2300 firmware versions:
# 3.0.0.8, dated 07/24/2003
# 5.1.1.6, dated 1/31/2004
Previous versions of this may also be affected, however it is not
clear in which version the vulnerability was introduced.
V. WORKAROUND
In order to mitigate exposure to this vulnerability from remote
attackers, employ encryption on your wireless interface, or disable it
if it is not required. The exact settings to use are dependant on your
wireless security policy. This workaround does not prevent exploitation
from the local network via wired interfaces.
VI. VENDOR RESPONSE
"The vendor is no longer selling this product and has replaced it with
newer models that do not exhibit the defect. Therefore, a patch will not
be released to address this issue."
VII. CVE INFORMATION
The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CVE-2005-3661 to this issue. This is a candidate for inclusion in
the CVE list (http://cve.mitre.org), which standardizes names for
security problems.
VIII. DISCLOSURE TIMELINE
11/17/2005 Initial vendor notification
11/18/2005 Initial vendor response
12/07/2005 Public disclosure
IX. CREDIT
TNull is credited with the discovery of this vulnerability.
Get paid for vulnerability research
http://www.iDefense.com/poi/teams/vcp.jsp
Free tools, research and upcoming events
http://labs.iDefense.com
X. LEGAL NOTICES
Copyright © 2005 iDefense, Inc.
Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDefense. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically, please
email customerservice@iDefense.com for permission.
Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct, indirect,
or consequential loss or damage arising from use of, or reliance on,
this information.
- - --------------------------END INCLUDED TEXT--------------------
iQCVAwUBQ5zV0Ch9+71yA2DNAQLpLQQAiwHL2UeQD+MxEnZNsrTRWgRBJkjXcCKD
000U2OFrmoP7JX0q+WIP8rfLnG1NOwhg5LHzVc+aCmvICs4vN5tE6wml5mWmmm+h
T0xuXYlGri1ZjyoJ/bxKx6KyVRS5NVYEJfQLlBZ8ikm3+zXANP1C/6nPvG7vvgwV
hBzafyKDyOY=
=c5DQ
- -----END PGP SIGNATURE-----
2.
Ethereal OSPF Protocol Dissector Buffer Overflow Vulnerability
iDefense Security Advisory 12.09.05
www.idefense.com/application/poi/display?id=349&type=vulnerabilities
December 9, 2005
I. BACKGROUND
Ethereal is a full featured open source network protocol analyzer.
For more information, see http://www.ethereal.com/
II. DESCRIPTION
Remote exploitation of an input validation vulnerability in the OSPF
protocol dissectors within Ethereal, as included in various vendors
operating system distributions, could allow attackers to crash the
vulnerable process or potentially execute arbitrary code.
The affected Ethereal component is used to analyse Open Shortest Path
First (OSPF) Interior Gateway Protocol (IGP), as specified in RFC-2178.
The vulnerability specifically exists due to no bounds checking being
performed in the dissect_ospf_v3_address_prefix() function. This
function takes user-supplied binary data and attempts to convert it into
a human readable string. This function uses a fixed length buffer on
the stack to store the constructed string but performs no checks on the
length of the input. If the generated output length from the input
exceeds the size of the buffer, a stack-based overflow occurs.
III. ANALYSIS
Successful exploitation allows remote attackers to perform a DoS against
a running instance of Ethereal and may, under certain conditions,
potentially allow the execution of arbitrary code. As the overflow
string is generated from a format string converting binary values into
their hexadecimal (base 16) equivalent characters, it can contain only a
limited subset of all possible characters, and the length of an
overflow is only able to be controlled to within the three characters.
This may prevent exploit ability on some platforms; however, it may be
possible that these constraints will not prevent exploitation on
others.
IV. DETECTION
iDefense has confirmed the existence of this vulnerability in the
ethereal-0.10.12 RPM from Red Hat Fedora Core 3. It is suspected that
previous versions containing the OSPF dissector code are also
vulnerable.
V. WORKAROUND
Disable the OSPF packet dissector in Ethereal by performing the
following actions as the user invoking Ethereal, typically root.
Create the .ethereal directory:
# mkdir ~/.ethereal
You can safely ignore the following error:
mkdir: cannot create directory '/root/.ethereal': File exists
Add the OSPF dissector to the list of protocols to ignore.
# echo ospf >> ~/.ethereal/disabled_protos
This workaround will prevent Ethereal from parsing the contents of OSPF
packets, which prevents exposure to the vulnerability.
VI. VENDOR RESPONSE
A source patch is available from the main ethereal SVN Repository:
http://anonsvn.ethereal.com/viewcvs/viewcvs.py/trunk/epan/dissectors/
packet-ospf.c?rev=16507&view=markup
VII. CVE INFORMATION
The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CVE-2005-3651 to this issue. This is a candidate for inclusion in
the CVE list (http://cve.mitre.org), which standardizes names for
security problems.
VIII. DISCLOSURE TIMELINE
11/14/2005 Initial vendor notification
11/14/2005 Initial vendor response
12/09/2005 Public disclosure
IX. CREDIT
The discoverer of this vulnerability wishes to remain anonymous.
Get paid for vulnerability research
http://www.iDefense.com/poi/teams/vcp.jsp
Free tools, research and upcoming events
http://labs.iDefense.com
X. LEGAL NOTICES
Copyright © 2005 iDefense, Inc.
Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDefense. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically, please
email customerservice@iDefense.com for permission.
Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct, indirect,
or consequential loss or damage arising from use of, or reliance on,
this information.