D-Link DIR routers contain a stack-based buffer overflow in the HNAP Login action

CVE-2016-6563

Assigned byThe organization (CNA) that assigned this CVE ID and published the record, usually the vendor.
CERT/CC (opens in new tab)
Published
Last modified
NVD status
Modified
CVSS 3.09.8Critical

Description

Processing malformed SOAP messages when performing the HNAP Login action causes a buffer overflow in the stack in some D-Link DIR routers. The vulnerable XML fields within the SOAP body are: Action, Username, LoginPassword, and Captcha. The following products are affected: DIR-823, DIR-822, DIR-818L(W), DIR-895L, DIR-890L, DIR-885L, DIR-880L, DIR-868L, and DIR-850L.

Exploitation

Whether attackers are exploiting this vulnerability, and how likely they are to try in the next 30 days.

FIRST Exploit Prediction Scoring System (EPSS)About EPSS (opens in new tab)

FIRST's estimate of the chance attackers try to exploit this vulnerability in the next 30 days.

Probability of exploitationIt predicts attempts, not success, and is updated daily.
79.516%
Compared with other CVEs
At or above 99.611% of scored CVEs
Scored

Affected products

The products and versions with the vulnerability.

Listed by CNA

The products and versions affected, according to the organization that published this CVE.

VendorProductAffected versions
D-LinkDIR-823
  • Not listed
D-LinkDIR-822
  • Not listed
D-LinkDIR-818L(W)
  • Not listed
D-LinkDIR-895L
  • Not listed
D-LinkDIR-890L
  • Not listed
D-LinkDIR-885L
  • Not listed
D-LinkDIR-880L
  • Not listed
D-LinkDIR-868L
  • Not listed
D-LinkDIR-850L
  • Not listed

Listed by NVD

The CPE names vulnerability scanners match, including products that bundle the affected software.

VendorProductTypeVulnerable versions
dlinkdir-818l(w) firmwareOperating system
  • All versions
dlinkdir-822 firmwareOperating system
  • All versions
dlinkdir-823 firmwareOperating system
  • All versions
dlinkdir-850l firmwareOperating system
  • All versions
dlinkdir-868l firmwareOperating system
  • All versions
dlinkdir-880l firmwareOperating system
  • All versions
dlinkdir-885l firmwareOperating system
  • All versions
dlinkdir-890l firmwareOperating system
  • All versions
dlinkdir-895l firmwareOperating system
  • All versions

Severity

How serious the vulnerability is if exploited, scored from 0 to 10 with the CVSS standard (opens in new tab).

  • 9.8 CriticalCVSS 3.0 · PrimaryPrimary scores are NVD's own. Secondary scores come from the organization that published the CVE, or from CISA. · Scored by NVD (opens in new tab)
    Attack vectorWhere the attacker has to be. Network is the widest: anywhere on the Internet.
    Network
    Attack complexityWhether the attack depends on conditions the attacker doesn't control.
    Low
    Privileges requiredThe access the attacker needs before attacking.
    None
    User interactionWhether someone other than the attacker has to do something, like open a link.
    None
    ScopeWhether the attack can reach beyond the vulnerable component.
    Unchanged
    ConfidentialityHow much data the attacker can read.
    High
    IntegrityHow much data the attacker can change.
    High
    AvailabilityHow much the attacker can disrupt the system or service.
    High

    CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HView in FIRST's calculator (opens in new tab)

  • 10 HighCVSS 2.0 · PrimaryPrimary scores are NVD's own. Secondary scores come from the organization that published the CVE, or from CISA. · Scored by NVD (opens in new tab)
    Attack vectorWhere the attacker has to be. Network is the widest: anywhere on the Internet.
    Network
    Attack complexityWhether the attack depends on conditions the attacker doesn't control.
    Low
    AuthenticationHow many times the attacker has to sign in.
    None
    ConfidentialityHow much data the attacker can read.
    Complete
    IntegrityHow much data the attacker can change.
    Complete
    AvailabilityHow much the attacker can disrupt the system or service.
    Complete

    AV:N/AC:L/Au:N/C:C/I:C/A:CView in NVD's calculator (opens in new tab)

Weaknesses and attack patterns

The type of bug behind the vulnerability, and how attackers exploit that type.

  • Stack-based Buffer Overflow · CWE-121 (opens in new tab)

    The product writes past the end of a buffer that was allocated on the stack.

    Likelihood of exploitHow likely MITRE rates attacks on this type of weakness, in general rather than for this vulnerability.
    High
    Abstraction
    Variant
    Mapping guidance
    Allowed
  • Improper Restriction of Operations within the Bounds of a Memory Buffer · CWE-119 (opens in new tab)

    The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary.

    Likelihood of exploitHow likely MITRE rates attacks on this type of weakness, in general rather than for this vulnerability.
    High
    Abstraction
    Class
    Mapping guidance
    Discouraged
    Part of

References

Advisories, patches, exploits and more about this vulnerability.

This product uses the NVD API but is not endorsed or certified by the NVD (opens in new tab). CVE records from the CVE List (opens in new tab), weakness types from MITRE's CWE (opens in new tab)™ and attack patterns from its CAPEC (opens in new tab)™ are © The MITRE Corporation, used under the CVE (opens in new tab), CWE (opens in new tab) and CAPEC (opens in new tab) terms of use. Known exploited vulnerabilities and SSVC assessments are from CISA. Exploit predictions are from FIRST's EPSS (opens in new tab). About this data