D-Link AirPlus DI-614+, DI-624, DI-704 DHCP Log HTML Injection Vulnerability
BID:10587
Info
D-Link AirPlus DI-614+, DI-624, DI-704 DHCP Log HTML Injection Vulnerability
| Bugtraq ID: | 10587 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Jun 21 2004 12:00AM |
| Updated: | Jun 21 2004 12:00AM |
| Credit: | c3rb3r <[email protected]> originally disclosed this vulnerability. |
| Vulnerable: |
D-Link Dl-704 2.60 b2 D-Link Dl-704 2.56 b6 D-Link Dl-704 2.56 b5 D-Link DI-624 SOHO Router 1.28 D-Link DI-614+ 2.18 D-Link DI-614+ 2.10 D-Link DI-614+ 2.0 f D-Link DI-614+ 2.0 3g D-Link DI-614+ 2.0 3 D-Link DI-614+ 2.0 |
| Not Vulnerable: | |
Discussion
D-Link AirPlus DI-614+, DI-624, DI-704 DHCP Log HTML Injection Vulnerability
It is reported that the DI-614+, DI-704, and the DI-624 are susceptible to an HTML injection vulnerability in their DHCP log.
An attacker who has access to the wireless, or internal network segments of the router can craft malicious DHCP hostnames, that when sent to the router, will be logged for later viewing by the administrator of the device.
The injected HTML can be used to cause the administrator to make unintended changes to the configuration of the router. Other attacks may be possible.
Although only the DI-614+, DI-704, and the DI-624 are reported vulnerable, code reuse across devices is common and other products may also be affected.
It is reported that the DI-614+, DI-704, and the DI-624 are susceptible to an HTML injection vulnerability in their DHCP log.
An attacker who has access to the wireless, or internal network segments of the router can craft malicious DHCP hostnames, that when sent to the router, will be logged for later viewing by the administrator of the device.
The injected HTML can be used to cause the administrator to make unintended changes to the configuration of the router. Other attacks may be possible.
Although only the DI-614+, DI-704, and the DI-624 are reported vulnerable, code reuse across devices is common and other products may also be affected.
Exploit / POC
D-Link AirPlus DI-614+, DI-624, DI-704 DHCP Log HTML Injection Vulnerability
No exploit is required, but an example was provided:
By sending four requests, all containing hostnames like the following, a complete HTML tag would be rendered, instructing the browser to request the 'restore.cgi' file.
<iframe id='
' height=0 id='
' width=0 id='
' src='restore.cgi'>
No exploit is required, but an example was provided:
By sending four requests, all containing hostnames like the following, a complete HTML tag would be rendered, instructing the browser to request the 'restore.cgi' file.
<iframe id='
' height=0 id='
' width=0 id='
' src='restore.cgi'>
Solution / Fix
D-Link AirPlus DI-614+, DI-624, DI-704 DHCP Log HTML Injection Vulnerability
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
References
D-Link AirPlus DI-614+, DI-624, DI-704 DHCP Log HTML Injection Vulnerability
References:
References:
- Vendor Homepage (D-Link)
- DLINK 614+, script injection vulnerability (c3rb3r
) - DLINK 624, script injection vulnerability (Gregory Duchemin
) - DLINK 704, script injection vulnerability (c3rb3r
)