• Home Support Forums Security Advisories Shop     English | French
Security Announcement
Announcement > SAP10033
DIR-300 rev B / DIR-600 rev B / DIR-645 / DIR-845 / DIR-865 - Command Injection by UPnP Interface
Publication ID: SAP10033
Resolved Status: Yes
Published on: 1 July 2014 7:44 GMT
Last updated on: 1 July 2014 7:44 GMT

Overview

 

The DIR-600 rev B/ DIR-300 rev B  / DIR-645 rev A / DIR-845 rev A / DIR-865L rev A are susptible to Command Injection by the UPnP feature support. This vulnerability may allow a malicious attacker to exploit the device over the UPnP protocol to run device operating system commands that may allow configuration changes or instability in the device.

 

D-Link Security Incident Reponse Policy

 

All public communication on this issue will be offered at : http://securityadvisories.dlink.com/security/

Our security response team can be contacted for incident information or to report incidents at security@dlink.com

Any non-critical security issue, help in updating firmware, or configuration regarding this issue please contact your D-Link Customer care channel.

 

Reference

 

Author : Michael Messnerr - http://www.s3cur1ty.de  Advisiory - http://www.s3cur1ty.de/m1adv2013-020

 

 

General Disclosure

 

Security and performance is of the utmost importance to D-Link across all product lines. This is not just through the development process but also through regular firmware updates to comply with the current safety and quality standards. We are proactively working with the sources of these reports as well as continuing to review across the complete product line to ensure that the vulnerabilities discovered are addressed.  We will continue to update this page to include the relevant product firmware updates addressing these concerns. In the meantime, you can exercise the below cautions to avoid unwanted intrusion into your D-Link product.

 

Immediate Generai Recommendations for all D-Link router customers

     

  • Do not enable the Remote Management feature since this will allow malicious users to use this exploit from the internet.  Remote Management is default disabled on all D-Link Routers and is included for customer care troubleshooting if useful and the customer enables it.
  • If you receive unsolicited e-mails that relates to security vulnerabilities and prompt you to action, please ignore it. When you click on links in such e-mails, it could allow unauthorised persons to access your router. Neither D-Link nor its partners and resellers will send you unsolicited messages where you are asked to click or install something.
  • Make sure that your wireless network is secure.
  • Do not provide your admin password to anyone. If required we suggest updating the password frequently.

 

Description

 

Please read the details from the author at: http://www.s3cur1ty.de/m1adv2013-020

 

Details are left to  the authors original disclosure to avoid miscommunication and duplicaation of work and ownership. We offer the following as a summary pulled from the authors linked document.

 

The vulnerability is caused by missing input validation in different XML parameters. This vulnerability could be exploited to inject and execute arbitrary shell commands.  You do not need to be authenticated to the device to insert and execute malicious commands.

 

IMPORTANT!! An option on all models is to disable the UPnP feature so the router will not respond to this vulnerability.  This may affect some applications that require the internet to run, so the best option is to upgrade the firmware if it is available.

 

 

Affected Products

 

 

Model Name

HW Version

Current FW Version

New FW Version for this exploit fix

DIR-300

Rev. Bx v 2.14b01 and Older v 2.15b01
DIR-600 Rev. Bx v 2.16b01 and Older v 2.17b01
DIR-645 Rev. Ax v 1.04b01 and Older v. 1.04b11
DIR-845 Rev. Ax v 1.01b02 and Older v.1.02
DIR-865L Rev. Ax v 1.05b03 and Older v. 1.05b07

 

Security patch for your D-Link router

 

These firmware updates address the security vulnerabilities in affected D-Link routers. D-Link will update this continually and we strongly recommend all users to install the relevant updates.

 

As there are different hardware revisions on our products, please check this on your device before downloading the correct corresponding firmware update. The hardware revision information can usually be found on the product label on the underside of the product next to the serial number. Alternatively, they can also be found on the device web configuration.

 

To update the firmware please log-in to the Web-GUI interface of your device, from the menu select Maintanence -> System -> Upgrade Firmware. If you require help please contact your regional D-Link customer care website for options.