cbcvebase.
CVE-2021-40655
published 2021-09-24

CVE-2021-40655: An informtion disclosure issue exists in D-LINK-DIR-605 B2 Firmware Version : 2.01MT. An attacker can obtain a user name and password by forging a post request…

PriorityP185high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
KEVITWEXPLOIT
CISA Known Exploited Vulnerabilitydue 2024-06-06
Exploited in the wild
EPSS
87.04%
99.7th percentile
An informtion disclosure issue exists in D-LINK-DIR-605 B2 Firmware Version : 2.01MT. An attacker can obtain a user name and password by forging a post request to the / getcfg.php page

Affected

1 ranges
VendorProductVersion rangeFixed in
dlinkdir-605l_firmware

Detection & IOCsextracted from sources · hover to see the quote

path/getcfg.php
commandPOST /getcfg.php HTTP/1.1 Content-Type: application/x-www-form-urlencoded Cookie: X-Forwarded-For: 127.0.0.1 SERVICES=DEVICE.ACCOUNT&AUTHORIZED_GROUP=1%0a
otherfofa-query: body="l_tb>DIR-605"
snort
alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS D-Link DIR-605 getcfg.php Authentication Bypass Attempt (CVE-2021-40655)"; flow:established,to_server; http.method; content:"POST"; http.uri; bsize:11; content:"/getcfg.php"; http.request_body; content:"SERVICES|3d|DEVICE.ACCOUNT"; fast_pattern; content:"AUTHORIZED_GROUP|3d|1|25|0a"; nocase; reference:url,attackerkb.com/topics/wTT1ZhDWlH/cve-2021-40655/vuln-details; reference:url,github.com/Ilovewomen/D-LINK-DIR-605/; reference:cve,2021-40655; classtype:attempted-admin; sid:2059893; rev:1; metadata:affected_product D_Link, attack_target Networking_Equipment, tls_state plaintext, created_at 2025_02_05, cve CVE_2021_40655, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, tag CISA_KEV, updated_at 2025_02_05, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application; target:dest_ip;)
  • The exploit requires a POST request to /getcfg.php with body parameters SERVICES=DEVICE.ACCOUNT and AUTHORIZED_GROUP=1%0a (URL-encoded newline injection). No authentication cookie is needed.
  • A successful exploitation response returns HTTP 200 with Content-Type text/xml and body containing the string 'DEVICE.ACCOUNT', indicating credential disclosure.
  • The Snort/ET rule detects the attack by matching POST method, URI exactly 11 bytes (/getcfg.php), body containing SERVICES=DEVICE.ACCOUNT and AUTHORIZED_GROUP=1%0a (encoded as |3d| and |25|0a|). SID 2059893.
  • The attack is unauthenticated and targets plaintext HTTP traffic on perimeter and internal network segments (tls_state plaintext).
  • CISA KEV-listed; older vulnerabilities like this are typically leveraged by botnet malware incorporating large lists of exploitable security issues.
  • ·Vulnerability only affects D-Link DIR-605 B2 hardware revision running firmware version 2.01MT. All hardware revisions are EOL/EOS and no patch will be issued.
  • ·D-Link DIR-605 has been out of support since 2015; CISA's required action is device retirement and replacement, not patching.

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
vulncheck7.5HIGH
cisa7.5HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.