+------------------------------------------------------------------------------------------------------------------------------------------+
# 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)Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation