{"id":"CVE-2016-6563","aliases":["EUVD-2016-7484","GHSA-2237-8cw9-xj7q"],"status":"published","title":"D-Link DIR routers contain a stack-based buffer overflow in the HNAP Login action","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.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.79735,"percentile":0.99609,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-119","CWE-121"],"published":"2018-07-13T20:00:00Z","modified":"2026-06-17T00:51:23Z","exploits":[{"source":"exploitdb","id":"EDB-40805","title":"D-Link DIR-Series Routers - HNAP Login Stack Buffer Overflow (Metasploit)","type":"remote","platform":"multiple","date":"2016-11-21","verified":true,"url":"https://www.exploit-db.com/exploits/40805"},{"source":"metasploit","id":"exploit/linux/http/dlink_hnap_login_bof","title":"Dlink DIR Routers Unauthenticated HNAP Login Stack Buffer Overflow","type":"exploit","platform":"Linux","date":"2016-11-07","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/linux/http/dlink_hnap_login_bof"}],"products":[{"vendor":"d-link","product":"dir-818l(w)"},{"vendor":"d-link","product":"dir-822"},{"vendor":"d-link","product":"dir-823"},{"vendor":"d-link","product":"dir-850l"},{"vendor":"d-link","product":"dir-868l"},{"vendor":"d-link","product":"dir-880l"},{"vendor":"d-link","product":"dir-885l"},{"vendor":"d-link","product":"dir-890l"},{"vendor":"d-link","product":"dir-895l"},{"vendor":"dlink","product":"dir-818l\\(w\\)_firmware"},{"vendor":"dlink","product":"dir-822_firmware"},{"vendor":"dlink","product":"dir-823_firmware"},{"vendor":"dlink","product":"dir-850l_firmware"},{"vendor":"dlink","product":"dir-868l_firmware"},{"vendor":"dlink","product":"dir-880l_firmware"},{"vendor":"dlink","product":"dir-885l_firmware"},{"vendor":"dlink","product":"dir-890l_firmware"},{"vendor":"dlink","product":"dir-895l_firmware"}],"references":[{"url":"https://www.exploit-db.com/exploits/40805/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://www.kb.cert.org/vuls/id/677427","tags":["third-party-advisory","x_refsource_CERT-VN","x_transferred","Third Party Advisory","US Government Resource"]},{"url":"http://www.securityfocus.com/bid/94130","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"http://seclists.org/fulldisclosure/2016/Nov/38","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","Exploit","Mailing List","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-6563"},{"url":"https://github.com/advisories/GHSA-2237-8cw9-xj7q"}],"sources":{"cve":[{"id":"CVE-2016-6563","title":"D-Link DIR routers contain a stack-based buffer overflow in the HNAP Login action","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.","status":"published","published":"2018-07-13T20:00:00Z","modified":"2024-08-06T01:36:28.095Z","cwes":["CWE-121"],"updated_at":"2026-11-02T14:33:34.443637Z"}],"euvd":[{"id":"EUVD-2016-7484","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.","status":"published","published":"2018-07-13T20:00:00Z","modified":"2024-08-06T01:36:28Z","updated_at":"2026-11-03T02:22:36.370031Z"}],"ghsa":[{"id":"GHSA-2237-8cw9-xj7q","title":"Processing malformed SOAP messages when performing the HNAP Login action causes a buffer overflow...","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.","status":"published","published":"2022-05-13T01:38:44Z","modified":"2023-02-02T05:00:23Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:50:56.67974Z"}],"nvd":[{"id":"CVE-2016-6563","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.","status":"published","published":"2018-07-13T20:29:01.003Z","modified":"2026-06-17T00:51:23.423Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-121","CWE-119"],"updated_at":"2026-11-02T14:03:39.621168Z"}]}}
