Twenty Year Anniversary

D-Link DIR-645 Authentication Bypass

D-Link DIR-645 Authentication Bypass
Posted Feb 28, 2013
Authored by Roberto Paleari

D-Link DIR-645 devices suffer from a direct access authentication bypass vulnerability.

tags | exploit, bypass
MD5 | d7b5095d749258932d4e7f5c6ea41d4d

D-Link DIR-645 Authentication Bypass

Change Mirror Download
Unauthenticated remote access to D-Link DIR-645 devices
=======================================================

[ADVISORY INFORMATION]
Title: Unauthenticated remote access to D-Link DIR-645 devices
Discovery date: 20/02/2013
Release date: 27/02/2013
Credits: Roberto Paleari (roberto@greyhats.it, twitter: @rpaleari)

[VULNERABILITY INFORMATION]
Class: Authentication bypass

[AFFECTED PRODUCTS]
This security vulnerability affects the following products and firmware
versions:
* D-Link DIR-645, firmware version < 1.03
Other products and firmware versions could also be vulnerable, but they were
not checked.

[VULNERABILITY DETAILS]
The web interface of D-Link DIR-645 routers expose several pages accessible
with no authentication. These pages can be abused to access sensitive
information concerning the device configuration, including the clear-text
password for the administrative user. In other words, by exploiting this
vulnerability unauthenticated remote attackers can retrieve the administrator
password and then access the device with full privileges.

More in detail, the following HTTP request fetches the administrator password:
curl -d SERVICES=DEVICE.ACCOUNT http://<device ip>/getcfg.php

For those that are not familiar with "curl" syntax, the above command-line
requests the "getcfg.php" page, supplying the HTTP POST data
"SERVICES=DEVICE.ACCOUNT".

The lack of proper authentication checks is not limited to the "getcfg.php" web
page. As an example, the following requests can also be performed with no
authentication:
1. Read system log
curl http://<device ip>/log_get.php

2. Get DDNS statistics
curl -d act=getreport http://<device ip>/ddns_act.php

3. Dump device details
curl http://<device ip>/DevInfo.php

[REMEDIATION]
D-Link has released an updated firmware version (1.03) that addresses this
issue. The firmware is already available on D-Link web site, and introduces
additional restrictions to forbid unauthenticated access to page "getcfg.php".

[DISCLAIMER]
The author is not responsible for the misuse of the information provided in
this security advisory. The advisory is a service to the professional security
community. There are NO WARRANTIES with regard to this information. Any
application or distribution of this information constitutes acceptance AS IS,
at the user's own risk. This information is subject to change without notice.

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

Want To Donate?


Bitcoin: 18PFeCVLwpmaBuQqd5xAYZ8bZdvbyEWMmU

File Archive:

July 2018

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2018 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close