Executive Summary

Summary
Title D-Link DIR-850L web admin interface contains a stack-based buffer overflow vulnerability
Informations
Name VU#305448 First vendor Publication 2017-03-08
Vendor VU-CERT Last vendor Modification 2017-03-08
Severity (Vendor) N/A Revision M

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:L/Au:N/C:C/I:C/A:C)
Cvss Base Score 10 Attack Range Network
Cvss Impact Score 10 Attack Complexity Low
Cvss Expoit Score 10 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Vulnerability Note VU#305448

D-Link DIR-850L web admin interface contains a stack-based buffer overflow vulnerability

Original Release date: 08 Mar 2017 | Last revised: 08 Mar 2017

Overview

D-Link DIR-850L, firmware versions 1.14B07, 2.07.B05, and possibly others, contains a stack-based buffer overflow vulnerability in the web administration interface HNAP service. Other models may also be affected.

Description

CWE-121: Stack-based Buffer Overflow - CVE-2017-3193

D-Link DIR-850L, firmware versions 1.14B07, 2.07.B05, and possibly others, contains a stack-based buffer overflow vulnerability in the web administration interface HNAP service. An unauthenticated attacker may send a specially crafted POST request to http://<router-ip>/HNAP1/ with modified HNAP_AUTH and SOAPAction headers to overflow the buffer and execute arbitrary code as root. By default, remote administration is disabled, which limits web interface access to LAN-connected hosts. Other models and firmware versions may also be affected.

The DIR-850L is reportedly also affected by CVE-2016-6563, previously disclosed in vulnerability note VU#677427.

Impact

A remote, unauthenticated attacker can make a specially crafted POST request to gain arbitrary code execution as root.

Solution

The CERT/CC is currently unaware of a practical solution to this problem. The vendor has publicly disclosed the issue along with beta firmware releases (versions 1.14B07 h2ab BETA1 and 2.07B05 h1ke BETA1, depending on the device's hardware revision), which are available from the product information page, but it is unclear whether the beta releases should be considered a proper solution. Users who do not wish to apply a beta firmware update should consider the following workaround:

Restrict Access

As a general good security practice, only allow connections from trusted hosts and networks. Users are strongly encouraged to disable remote administration if it has been previously enabled.

Vendor Information (Learn More)

VendorStatusDate NotifiedDate Updated
D-Link Systems, Inc.Affected18 Jan 201708 Mar 2017
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

GroupScoreVector
Base8.3AV:A/AC:L/Au:N/C:C/I:C/A:C
Temporal6.5E:POC/RL:OF/RC:C
Environmental4.9CDP:ND/TD:M/CR:ND/IR:ND/AR:ND

References

  • https://cwe.mitre.org/data/definitions/121.html
  • http://support.dlink.com/ProductInfo.aspx?m=DIR-850L
  • https://www.kb.cert.org/vuls/id/677427

Credit

Thanks to Sergi Martinez (@zlowram_) of NCC Group for reporting this vulnerability.

This document was written by Joel Land.

Other Information

  • CVE IDs:CVE-2017-3193
  • Date Public:08 Mar 2017
  • Date First Published:08 Mar 2017
  • Date Last Updated:08 Mar 2017
  • Document Revision:12

Feedback

If you have feedback, comments, or additional information about this vulnerability, please send us email.

Original Source

Url : http://www.kb.cert.org/vuls/id/305448

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-119 Failure to Constrain Operations within the Bounds of a Memory Buffer

CPE : Common Platform Enumeration

TypeDescriptionCount
Os 1
Os 1
Os 1
Os 3
Os 1
Os 1
Os 1
Os 1
Os 1

Snort® IPS/IDS

Date Description
2016-12-13 D-Link DIR Series Routers HNAP stack buffer overflow attempt
RuleID : 40750 - Revision : 2 - Type : SERVER-WEBAPP

Alert History

If you want to see full details history, please login or register.
0
1
2
3
Date Informations
2019-10-10 05:24:12
  • Multiple Updates
2018-01-02 21:24:25
  • Multiple Updates
2017-12-16 09:23:30
  • Multiple Updates
2017-03-08 21:22:44
  • First insertion