D-Link WBR-1310 Cross-Site Scripting

D-Link WBR-1310 Cross-Site Scripting

Posted on Nov 15 2009   |  Plain text version


D-Link WBR-1310 Router is susceptible to XSS, allowing an attacker to change the Admins password...



Device:      D-Link Router
Model:       WBR-1310
Firmware: 4.00
Critical:      Low
Impact:      Change Admin Password
                    Take control of router
Websec Advisory:    ws10-04

(Other versions/models have not been tested)


The D-Link WBR-1310 router, is susceptible to Cross-Site Scripting attacks (XSS). The ping IP parameter's input/output is not sanitized, therefore allowing execution of remote code on the victims browser.


Almost none, if any of the input/output parameters in the routers interface handle any validation on the data being passed to it. Futhermore, no password verification is performed when changing the Admin's password. Using these two weaknesses, it is possible to use JavaScript to change the Admin's password remotely.



Don't browse untrusted websites while logged into your router.


2009/09/05 - Vulnerability discovered
2009/09/08 - Vendor contacted
2009/11/15 - Vulnerability disclosed


Websec - http://www.websec.ca


Latest Blog Entries

Belkin Wemo Switch NMap Scripts
Belkin Wemo Switch Smart Plug is a network controlled power outlet. The current firmware version does not requiere authentication to switch the power ON or OFF or to gather information such as nearby wireless networks. Two NMap scripts have been published

Downloading an Application's Entire Source Code Through an Exposed GIT Directory
Website administrators sometimes inadvertently leave an exposed .git directory, from which it is possible to download the entire source code of the web application using just wget and a common server misconfiguration.

credmap: The Credential Mapper
An overview of credmap, an open source penetration testing tool that automates the process of testing for credential reuse. It does so by testing supplied user credentials on known websites and verifies if the password has been reused on any of these.

Latest News

Blackhat EU 2015
Websec participated with two tools at the Blackhat, EU Arsenal held in Amsterdam, NL from the 10-13 of November, 2015. During this event, we introduced our brand new tool "credmap: The Credential Mapper" and also presented an amped-up version of Panoptic.

BSides Vancouver 2015
Websec is proud to announce that we will be attending the 3rd annual edition of BSides Vancouver, a local non-profit information security conference held in the heart of Vancouver, BC on March 16 and 17.