Vulnerabilities / Threats
10/14/2013
12:13 PM
Connect Directly
RSS
E-Mail
50%
50%

D-Link Router Vulnerable To Authentication Bypass

Multiple D-Link, Planex and Virgin Mobile routers have a firmware vulnerability that attackers could exploit to directly access and alter the devices.

Multiple D-Link routers are vulnerable to a simple exploit that would allow an attacker to gain direct access to the device without first having to authenticate.

That warning came in a Saturday post to embedded device hacking blog /dev/ttyS0 written by Craig Heffner, a vulnerability researcher with Tactical Network Solutions.

"On a whim I downloaded firmware v1.13 for the DIR-100 revA," Heffner said, referring to a widely used version of D-Link's router firmware. After using a firmware analysis tool known as Binwalk, "soon I had the firmware's Web server (/bin/webs) loaded into IDA," he added, referring to an interactive disassembler -- IDA -- which is used to reverse-engineer code.

Perusing the code, Heffner found a variable called "alpha_auth_check" -- the "alpha" apparently refers to D-Link spinoff Alpha Networks, while "auth" means "authentication" -- that returns a value of "1" if the user has been authenticated. After a bit of exploratory work, Heffner found that if he changed a browser's HTTP user-agent string to "xmlset_roodkcableoj28840ybtide" then "you can access the Web interface without any authentication and view/change the device settings."

[ Don't be a victim. See 15 Signs Pointing To A Data Breach. ]

Heffner doesn't appear to be the first person to have recovered this string from inside the D-Link firmware. "A quick Google for the 'xmlset_roodkcableoj28840ybtide' string turns up only a single Russian forum post from a few years ago, which notes that this is an 'interesting line' inside the /bin/webs binary," he said. "I'd have to agree."

A spokesman for D-Link didn't immediately respond to an emailed query about whether it had verified the vulnerability detailed by Heffner, and if so, how the company planned to notify and issue updates to consumers who own a vulnerable device.

Based on a search made with the embedded Web server search engine Shodan, the vulnerable firmware appears to be used by at least seven routers sold by D-Link (DIR-100, DI-524, DI-524UP, DI-604S, DI-604UP, DI-604+, TM-G5240) as well as two Planex routers (BRL-04UR, BRL-04CW), according to Heffner. "Several people have reported ... that some versions of the DIR-615 are also affected, including those distributed by Virgin Mobile," he said in a later update to his blog post. "I have not yet verified this, but it seems quite reasonable."

What's the count of the total number of networked D-Link devices that are affected by the vulnerability? That remains to be seen, although Robert David Graham, CEO of Errata Security, said Monday that he was "scanning the entire Internet for the D-Link 'xmlset_roodkcableoj28840ybtide' backdoor" using his Masscan tool, which can be used to scan the Internet for certain variables, which in this case would be fingerprints of the vulnerable firmware. Graham said he hoped to be able to report on the results of his scan by Monday afternoon.

What's the risk from an attacker gaining full access to a router? For starters, the attacker could eavesdrop on the network by loading the router with custom firmware designed to send a copy of all data flowing to or from the device to an attacker-controlled server. Likewise, the router could be configured to automatically launch distributed denial-of-service attacks against designated sites.

As Heffner's facility with reverse-engineering device firmware suggests, this isn't his first foray into hacking networking equipment. At this past summer's Black Hat conference in Las Vegas, for example, the researcher highlighted how consumer-grade as well as enterprise-class networked surveillance cameras from the likes of D-Link, Trendnet, Cisco, IQInvision, Alinking and 3SVision were vulnerable to zero-day flaws that would allow an attacker to freeze or modify their video streams. That research was the latest in a long line of vulnerability reports involving Internet protocol (IP) cameras.

Comment  | 
Print  | 
More Insights
Comments
Oldest First  |  Newest First  |  Threaded View
OtherJimDonahue
50%
50%
OtherJimDonahue,
User Rank: Apprentice
10/15/2013 | 8:22:01 PM
re: D-Link Router Vulnerable To Authentication Bypass
Well, guess what I'll be checking when I go home tonight! (No idea what my D-Link model number is.)
Register for Dark Reading Newsletters
Partner Perspectives
What's This?
In a digital world inundated with advanced security threats, Intel Security seeks to transform how we live and work to keep our information secure. Through hardware and software development, Intel Security delivers robust solutions that integrate security into every layer of every digital device. In combining the security expertise of McAfee with the innovation, performance, and trust of Intel, this vision becomes a reality.

As we rely on technology to enhance our everyday and business life, we must too consider the security of the intellectual property and confidential data that is housed on these devices. As we increase the number of devices we use, we increase the number of gateways and opportunity for security threats. Intel Security takes the “security connected” approach to ensure that every device is secure, and that all security solutions are seamlessly integrated.
Featured Writers
White Papers
Cartoon
Current Issue
Dark Reading's October Tech Digest
Fast data analysis can stymie attacks and strengthen enterprise security. Does your team have the data smarts?
Flash Poll
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2014-3409
Published: 2014-10-25
The Ethernet Connectivity Fault Management (CFM) handling feature in Cisco IOS 12.2(33)SRE9a and earlier and IOS XE 3.13S and earlier allows remote attackers to cause a denial of service (device reload) via malformed CFM packets, aka Bug ID CSCuq93406.

CVE-2014-4620
Published: 2014-10-25
The EMC NetWorker Module for MEDITECH (aka NMMEDI) 3.0 build 87 through 90, when EMC RecoverPoint and Plink are used, stores cleartext RecoverPoint Appliance credentials in nsrmedisv.raw log files, which allows local users to obtain sensitive information by reading these files.

CVE-2014-4623
Published: 2014-10-25
EMC Avamar 6.0.x, 6.1.x, and 7.0.x in Avamar Data Store (ADS) GEN4(S) and Avamar Virtual Edition (AVE), when Password Hardening before 2.0.0.4 is enabled, uses UNIX DES crypt for password hashing, which makes it easier for context-dependent attackers to obtain cleartext passwords via a brute-force a...

CVE-2014-4624
Published: 2014-10-25
EMC Avamar Data Store (ADS) and Avamar Virtual Edition (AVE) 6.x and 7.0.x through 7.0.2-43 do not require authentication for Java API calls, which allows remote attackers to discover grid MCUser and GSAN passwords via a crafted call.

CVE-2014-6151
Published: 2014-10-25
CRLF injection vulnerability in IBM Tivoli Integrated Portal (TIP) 2.2.x allows remote authenticated users to inject arbitrary HTTP headers and conduct HTTP response splitting attacks via unspecified vectors.

Best of the Web
Dark Reading Radio
Archived Dark Reading Radio
Follow Dark Reading editors into the field as they talk with noted experts from the security world.