• Home Support Forums Security Advisories Shop     English | French
Support Announcement
DSR Family Products :: F/W v3.17 & Older :: CVE-2020-25757 / CVE-2020-25758 / CVE-2020-25759 : Unauthenticated & Authenticated Command Injection Vulnerabilities

Overview

On August 11, 2020, a 3rd party security researcher submitted a report accusing the DSR-250 Hardware Revision A1 using firmware v3.17 or older (2) Authenticated remote command execution (1) unauthenticated vulnerabilities. Since this product shares firmware with other models in the DSR Family, DSR-150 / DSR-150N / DSR-250 / DSR-250N / DSR-500 Rev. B / DSR-500AC / DSR-1000 Rev. B / DSR-1000AC will require updates to patch these issues. The two vulnerabilities were confirmed, and patches are under development. One of the reported vulnerabilities is how the device functionally works, and D-Link will not correct it on this generation of products.


3rd Party Report information

 

Report provided :: Digital Defense, Inc. Vulnerability Research Team :: LINK

                     Coordination: Samuel Shapiro:: VulnerabilityResearch _at_ digitaldefense _dot_ com

 

Report :

   

Issue 1: CVE-2020-25757: Unauthenticated Remote Root Command Injection

 

Impact: Unauthenticated users with access to the "Unified Services Router" web interface, either on LAN or WAN, can inject arbitrary commands via crafted requests, which will be executed with root privileges.

 

 Details: The following lua cgi actions, which are accessible without authentication, execute a lua library function which passes user-supplied data to a call to os.popen() as part of a command intended to calculate a hash: /platform.cgi?action=duaAuth, /platform.cgi?action=duaLogout

 

Fix: Published Below

   

Issue 2: CVE-2020-25759: Authenticated Root Command Injection

   

Impact: Authenticated users with access to the "Unified Services Router" web interface, either on LAN or WAN, can inject arbitrary commands via crafted requests, which will be executed with root privileges.

 

 Details: The Lua CGI, which handles requests from the "Package Management" form in the "Unified Services Router" web interface, has no server-side filtering for the multi-part POST parameters payload, which are passed to os. execute () functions intended to move the uploaded file to another directory.

 

Fix: Published Below 

 

Issue 3: CVE-2020-25758: Authenticated Crontab Injection

 

Impact: Authenticated users with access to the "Unified Services Router" web interface, either on LAN or WAN, can inject arbitrary CRON entries, which will be executed as root by modifying a downloaded router configuration file, updating the CRC, and reuploading the resulting crafted configuration file.

 

Details: The configuration file's mechanism is authenticated upon upload is trivially bypassed by a malicious user creating a crafted configuration file that adds new cron entries to execute arbitrary commands as root. 

 

Response: D-Link declined recognition of this report. For this generation of product, the device uses a plain text config, which is the design to directly edit and upload the config to the same DSR devices accordingly. If D-Link mitigates issue #1 and #2, as well as other, recently reported issues, the malicious user would need to engineer a way of gaining access to the device to upload a configuration file, so we understand the report but classify the report as low-threat once the patched firmware is available.

 

   

 Affected Models

 

Model

Hardware Revision

 Region

Affected FW

Fixed FW

Recommendation

 Last Updated

DSR-150

All Rev. A Hardware Revision

Worldwide

v3.17 & Below

v3.17B401C_WW

Download and Update Device

12/02/2020

DSR-150 All Rev. A Hardware Revision Russian v3.17 & Below v3.17B401C_RU Download and Update Device 12/02/2020
DSR-150 All Rev. C Hardware Revision Worldwide v3.17 & Below v3.17B401C_WW  Download and Update Device 12/02/2020
DSR-150 All Rev. C Hardware Revision Russian v3.17 & Below v3.17B401C_RU Download and Update Device 12/02/2020
DSR-150N All Rev. A Hardware Revision Worldwide v3.17 & Below v3.17B401C_WW Download and Update Device 12/02/2020
DSR-150N All Rev. A Hardware Revision Russian v3.17 & Below v3.17B401C_RU Download and Update Device 12/02/2020
DSR-150N All Rev. C Hardware Revision Worldwide v3.17 & Below v3.17B401C_WW Download and Update Device 12/02/2020  
DSR-150N All Rev. C Hardware Revision Russian v3.17 & Below v3.17B401C _RU Download and Update Device 12/02/2020  

DSR-250

All Rev. A Hardware Revisions

 Worldwide v3.17 & Below

v3.17B401C_WW

Download and Update Device

12/02/2020

DSR-250 All Rev. A Hardware Revisions Russian v3.17 & Below v3.17B401C_RU  Download and Update Device 12/02/2020
DSR-250 All Rev. C Hardware Revision Worldwide v3.17 & Below v3.17B401C_WW  Download and Update Device 12/02/2020
DSR-250 All Rev. C Hardware Revision Russian v3.17 & Below v3.17B401C_RU  Download and Update Device  12/02/2020

DSR-250N

All Rev. A Hardware Revisions Worldwide v3.17 & Below v3.17B401C_WW  Download and Update Device 12/02/2020
DSR-250N All Rev. A Hardware Revisions  Russian v3.17 & Below v3.17B401C_RU  Download and Update Device 12/02/2020
DSR-250N All Rev. B Hardware Revision Worldwide v3.17 & Below v3.17B401C_WW Download and Update Device  12/02/2020
DSR-250N All Rev. B Hardware Revision Russian v3.17 & Below v3.17B401C _RU Download and Update Device 12/02/2020
DSR-250N All Rev. C Hardware Revision Worldwide v3.17 & Below v3.17B401C_WW  Download and Update Device 12/02/2020
DSR-250N All Rev. C Hardware Revision Russian v3.17 & Below v3.17B401C_RU  Download and Update Device  12/02/2020
DSR-500 All Rev. A Hardware Revisions US

All

None End of Service Life - No Support 12/09/2020
DSR-500N All Rev. A Hardware Revisions US All None End of Service Life - No Support 12/09/2020
DSR-500 All Rev. B Hardware Revisions Worldwide v3.17 & Below v3.17B401C_WW Download and Update Device 12/09/2020
DSR-500 All Rev. B Hardware Revisions Russian v3.17 & Below v3.17B401C_RU Download and Update Device 12/09/2020
DSR-500AC All Rev. A Hardware Revisions Worldwide v3.17 & Below v3.17B401C_WW Download and Update Device 12/09/2020
DSR-500AC All Rev. A Hardware Revisions Russian v3.17 & Below v3.17B401C_RU Download and Update Device 12/09/2020
DSR-1000 All Rev. A Hardware Revisions US All None End of Service Life - No Support 12/09/2020
DSR-1000 All Rev. B Hardware Revisions Worldwide v3.17 & Below v3.17B401C_WW Download and Update Device 12/09/2020
DSR-1000 All Rev. B Hardware Revisions Russian v3.17 & Below v3.17B401C_RU Download and Update Device 12/09/2020
DSR-1000N All Rev. A Hardware Revisions US All None End of Service Life - No Support 12/09/2020
 DSR-1000AC  All Rev. A Hardware Revisions  Worldwide  v3.17 & Below  v3.17B401C_WW  Download and Update Device  12/09/2020
 DSR-1000AC All Rev. A Hardware Revisions Russian v3.17 & Below v3.17B401C_RU Download and Update Device 12/09/2020

  

Recommendation for End of Service Life Products

 

D-Link is aware of the alleged vulnerabilities involving the DIR-802. This product has reached End of Life(EoL)/End of Support(EoS), and there is no extended support or development for it. 

 

D-Link will be unable to resolve Device or Firmware issues since all development and customer support has ceased. 

 

From time to time, D-Link will decide that sure of its products have reached EOL. D-Link may choose to EoL a product for many reasons, including the shift in market demands, technology innovation, costs, or efficiencies based on new technologies, or the product matures over time and is replaced by functionally superior technology.

 

For US consumers, for EOL/EOS products, the recommendation D-Link brand products sold by D-Link in the US be retired, and any further use maybe a risk to devices connected to it and end-users connected to it. If the US consumers continue to use these products against D-Link's recommendation, please make sure the device has the most recent firmware installed, make sure you frequently update the device's unique password to access its web-configuration and always have WiFI encryption enabled with a unique password.

 
Regarding Security patch for your D-Link Devices
 
Firmware updates address the security vulnerabilities in affected D-Link devices. D-Link will update this continually and we strongly recommend all users to install the relevant updates.
 
Please note that this is a device beta software, beta firmware, or hot-fix release which is still undergoing final testing before its official release. The beta software, beta firmware, or hot-fix is provided on an “as is” and “as available” basis and the user assumes all risk and liability for use thereof. D-Link does not provide any warranties, whether express or implied, as to the suitability or usability of the beta firmware. D-Link will not be liable for any loss, whether such loss is direct, indirect, special or consequential, suffered by any party as a result of their use of the beta firmware.
 
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.