header-logo
Suggest Exploit
vendor:
DSL-2640B
by:
Ivano Binetti
7,5
CVSS
HIGH
Authentication Bypass
287
CWE
Product Name: DSL-2640B
Affected Version From: DSL-2640B
Affected Version To: DSL-2640B
Patch Exists: NO
Related CWE: N/A
CPE: h:d-link:dsl-2640b
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: OSX Snow Leopard
2012

D-Link DSL-2640B (ADSL Router) Authentication Bypass

D-Link DSL-2640B is an ADSL Router using (also) a web management interface. This router allows an attacker to bypass authentication and to login with administrator ('admin') credentials. In fact when the administrator is logged in and an internal attacker will connect to web management interface (default is http://192.168.1.1:80) he will be able to see the MAC Address of logged admin. Symply changing his MAC Address the attacker can bypass authentication and login as administrator. For example in OSX Snow Leopard you can on the fly change your MAC Address with the simple following CLI command: ifconfig en0 ether <admin_mac_address> (where en0 is the name of your network interface)

Mitigation:

Ensure that the router is configured with a strong password and that the web management interface is not accessible from the internet.
Source

Exploit-DB raw data:

+------------------------------------------------------------------------------------------------------------------------------------------+
# Exploit Title : D-Link DSL-2640B (ADSL Router) Authentication Bypass
# Date          : 22-02-2012
# Author        : Ivano Binetti (http://ivanobinetti.com)
# Vendor site   : http://www.d-link.com
# Version       : DSL-2640B 
# Tested on     : Firmware Version: EU_4.00; Hardware Version: B2
+-------------------------------------------------------------------------------------------------------------------------------------------+
+-------------------------[Authentication Bypass by Ivano Binetti]--------------------------------------------------------------------------+
Summary

1)Introduction
2)Vulnerability Description
3)Exploit

+--------------------------------------------------------------------------------------------------------------------------------------------+

1)Introduction
D-Link DSL-2640B is an ADSL Router using (also) a web management interface. 

2)Vulnerability Description
This router allows an attacker to bypass authentication and to login with administrator ("admin") credentials.
In fact when the administrator is logged in and an internal attacker will connect to web management interface (default is http://192.168.1.1:80) 
he will be able to see the MAC Address of logged admin. Symply changing his MAC Address the attacker can bypass authentication and login as 
administrator.

3)Exploit
For example in OSX Snow Leopard you can on the fly change your MAC Address with the simple following CLI command:

ifconfig en0 ether <admin_mac_address>   (where en0 is the name of your network interface)