the last unbiased stronghold

3Com Router Authentication Bypass

3Com Router Authentication Bypass
Posted Feb 9, 2009
Authored by Luca Carettoni | Site ikkisoft.com

The 3Com OfficeConnect wireless cable/dsl router suffers from an authentication bypass vulnerability.

tags | exploit, bypass
MD5 | 03fd7a49b51ca75201ec610d146c477b

3Com Router Authentication Bypass

Change Mirror Download
==================================================== 
Security Research Advisory

Vulnerability name:
"3Com OfficeConnect Wireless Cable/DSL Router Authentication Bypass"
Advisory number: LC-2008-05
Advisory URL: http://www.ikkisoft.com

====================================================
1) Affected Hardware/Software

* 3CRWE554G72
(Hardware version: 3COM_AP51_v01, Software version: 1.2.0 - Nov 14,2006)

Product URL:
http://www.3com.com/products/en_US/detail.jsp?tab=features&sku=3CRWE554G72&pathtype=support

Other recent versions, as well as similar 3Com devices, may be affected
due to the shared firmware code base.

====================================================
2) Severity

Severity: Medium
Local/Remote: Remote

====================================================
3) Summary

"The 3Com OfficeConnect Wireless Cable/DSL Router is a high-speed, affordable,
and easy-to-use small office solution that lets wireless and wired PCs and
laptops securely share a single broadband Internet connection."

This device is very common due to the affordable price and versatility.
For these reasons it is widely installed by large telecom providers in all Europe
(e.g. In Poland, Orange is currently deploying this device for its residential DSL).

This device is prone to an authentication bypass vulnerability which permits
to retrieve the complete system configuration as well as the services
credentials (e.g. web console, wifi network).

====================================================
4) Vulnerability Details

The 3Com OfficeConnect Wireless Cable/DSL Router suffers an authentication
bypass vulnerability due to an improper authentication/authorization mechanism.

In order to manage the device, an easy to use web console is enabled by default
from the internal network and (optionally) from the Internet.
Even if the http daemon does not permit to access HTML pages and the web console
without authentication, it is still possible to invoke and execute
existent CGI programs. Unfortunately, the "System Tools-->Configuration-->Backup
Configuration" functionality saves the actual system configuration in a
persistent plain-text file named "config.bin" using a custom CGI program.
An unauthenticated user may directly invoke the "SaveCfgFile" CGI program and
easily download the system configuration containing configuration information,
users, passwords, wifi keys and other sensitive information.

Note: if the "Remote Administration" option is enabled, this vulnerability may
be exploited from the Internet as well.

Example of sensitive content within the "config.bin" file:
[...]
pppoe_username=xxxxxxxxxxxxxxx
pppoe_password=xxxxxxxxx
pppoe_service_name=xxxxxxxxx
[...]
mradius_username=xxxxxx
mradius_password=xxxxxx
mradius_secret=xxxxxxx
[...]
http_username=xxxxx
login_password=xxxxx
http_passwd=xxxxx
[...]
AuthName=xxxxxxx
AuthPassword=xxxx
snmpStatus=xxxxxxx
snmpRoCommunity=xxxxxxxx
snmpRwCommunity=xxxxxxxx
[...]
multi_dmz_wan_ip1=xxxxxxxxxx
[...]
lan_macaddr=xxxxxxxxxxxxx
[...]

Later on, looking for similar vulnerabilities in the Bugtraq database,
I've found a similar finding discovered by Patrik, cqure.net
(iDEFENSE Security Advisory 01.20.05). As far as I know and I can understand
from the firmware versions reported, this issue seems to be a further
authentication bypass technique due to an insufficient patch supplied
by the vendor.

====================================================
5) Exploit

Attackers may exploit this flaw through a common web browser.

http://<IP>/SaveCfgFile.cgi

====================================================
6) Fix Information

To reduce the overall exploitability, disable the "Remote Administration"
option. However, a firmware update is required in order to resolve this issue.

====================================================
7) Time Table

08/12/2008 - Vendor notified via "3Com Vulnerability Disclosure Form"
??/??/???? - Vendor response.
??/??/???? - Vendor patch release.
09/02/2009 - Public disclosure.

====================================================
8) Credits

Discovered by Luca Carettoni - luca.carettoni[at]ikkisoft[dot]com

====================================================
9) Legal Notices

The information in the advisory is believed to be accurate at the time of
publishing based on currently available information.
This information is provided as-is, as a free service to the community.
There are no warranties with regard to this information.
The author does not accept any liability for any direct, indirect,
or consequential loss or damage arising from use of, or reliance on,
this information.
Permission is hereby granted for the redistribution of this alert, provided
that the content is not altered in any way, except reformatting, and that due
credit is given.

This vulnerability has been disclosed in accordance with the RFP
Full-Disclosure Policy v2.0, available at:
http://www.wiretrip.net/rfp/policy.html

====================================================

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2012

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    37 Files
  • 2
    May 2nd
    53 Files
  • 3
    May 3rd
    33 Files
  • 4
    May 4th
    4 Files
  • 5
    May 5th
    10 Files
  • 6
    May 6th
    17 Files
  • 7
    May 7th
    19 Files
  • 8
    May 8th
    36 Files
  • 9
    May 9th
    34 Files
  • 10
    May 10th
    35 Files
  • 11
    May 11th
    20 Files
  • 12
    May 12th
    18 Files
  • 13
    May 13th
    11 Files
  • 14
    May 14th
    27 Files
  • 15
    May 15th
    58 Files
  • 16
    May 16th
    54 Files
  • 17
    May 17th
    25 Files
  • 18
    May 18th
    53 Files
  • 19
    May 19th
    9 Files
  • 20
    May 20th
    15 Files
  • 21
    May 21st
    25 Files
  • 22
    May 22nd
    32 Files
  • 23
    May 23rd
    35 Files
  • 24
    May 24th
    26 Files
  • 25
    May 25th
    25 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2012 Packet Storm. All rights reserved.

close