CSRF Vulnerability in D-Link DSL-2640B Firmware
CVE-2012-1308

Currently unrated

Key Information:

Vendor

D-Link

Vendor
CVE Published:
8 October 2012

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

Key facts

CVE-2012-1308 is a vulnerability in D-Link Dsl-2640b Firmware and Dsl-2640b. It is known to be exploited in the wild. 1 public proof-of-concept exploit is available. Its EPSS score is 2.4%, the estimated probability of exploitation in the next 30 days.

How risky is it?

  • Unknown: Exploitability over the network not rated
  • Yes: Public exploit code (1 proof-of-concept)
  • Yes: Attacked in the wild
  • No: Not on CISA's exploited list

Our verdict

Patch now

Attackers are using it. Patch or mitigate today.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

2Look for signs of compromise

It has been exploited in the wild, so check logs on exposed Dsl-2640b Firmware systems for unusual requests or new processes from before you patched. The 1 public proof-of-concept show what an attack looks like.

3Why it's rated "Patch now"
  • It is being exploited in the wild.
  • Exploit code is public, so attacks are easy to copy.

What is CVE-2012-1308?

A cross-site request forgery vulnerability in the redpass.cgi script of D-Link DSL-2640B Firmware EU_4.00 allows remote attackers to perform unauthorized actions by tricking administrators into submitting malicious requests. This can lead to password changes via the sysPassword parameter, resulting in potential unauthorized access to the device.

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

Out-of-Bounds Write Vulnerability in D-Link DIR-895L Router

CVE-2026-100740
D-linkDir-895l๐Ÿ‘พ9.4CRITICAL

Stack-Based Buffer Overflow in D-Link DIR-868L Authentication Component

CVE-2026-94089
D-linkDir-868l๐Ÿ‘พ10CRITICAL

Stack-based Buffer Overflow in D-Link DI-8400 Router

CVE-2025-9938
D-linkDi-8400๐Ÿ‘พ8.7HIGH
View more D-Link vulnerabilities...

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

.