Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2021-40655

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

CVE-2021-40655 is an information disclosure flaw in D-Link DIR-605L firmware allowing attackers to obtain credentials via forged POST requests. This article covers technical details, affected versions, and mitigations.

Published: March 4, 2026

CVE-2021-40655 Overview

CVE-2021-40655 is an information disclosure vulnerability affecting D-Link DIR-605 B2 wireless routers running firmware version 2.01MT. This vulnerability allows remote attackers to obtain sensitive credentials, including usernames and passwords, by sending a specially crafted POST request to the /getcfg.php endpoint on the device. The vulnerability requires no authentication, making it particularly dangerous for exposed devices.

Critical Impact

This vulnerability is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild. Attackers can remotely extract administrator credentials without authentication, potentially leading to complete device compromise.

Affected Products

  • D-Link DIR-605L Firmware version 2.01MT
  • D-Link DIR-605L Hardware revision B2
  • D-Link DIR-605 B2 series routers

Discovery Timeline

  • 2021-09-24 - CVE-2021-40655 published to NVD
  • 2025-11-10 - Last updated in NVD database

Technical Details for CVE-2021-40655

Vulnerability Analysis

This vulnerability falls under CWE-863 (Incorrect Authorization), where the /getcfg.php script fails to properly verify that incoming requests are authorized before returning sensitive configuration data. The affected endpoint is designed to retrieve device configuration information but lacks proper access controls, allowing any network-accessible attacker to extract credentials.

The vulnerability is particularly severe because it can be exploited remotely over the network without requiring any prior authentication or user interaction. An attacker simply needs to craft a POST request to the vulnerable endpoint to retrieve the router's administrative credentials. Once obtained, these credentials provide full administrative access to the device.

Root Cause

The root cause of CVE-2021-40655 lies in improper authorization checks within the getcfg.php page on affected D-Link DIR-605 devices. The script processes configuration retrieval requests without validating whether the requester has appropriate permissions or is authenticated. This represents a fundamental access control failure in the router's web management interface.

Attack Vector

The attack vector for this vulnerability is network-based, requiring the attacker to have network access to the router's web interface. The exploitation process involves:

  1. Identifying a vulnerable D-Link DIR-605 B2 router on the network
  2. Sending a forged POST request to the /getcfg.php endpoint
  3. Parsing the response to extract plaintext username and password credentials
  4. Using the obtained credentials to gain full administrative access to the router

The vulnerability can be exploited from the local network, or remotely if the router's web management interface is exposed to the internet. No special privileges or user interaction are required for exploitation.

Technical details and proof-of-concept information are available in the GitHub PoC Repository.

Detection Methods for CVE-2021-40655

Indicators of Compromise

  • Unusual HTTP POST requests targeting /getcfg.php on D-Link router interfaces
  • Multiple rapid requests to configuration retrieval endpoints from external IP addresses
  • Unexpected login events to the router administrative interface following credential extraction
  • Network traffic anomalies indicating unauthorized access to router management pages

Detection Strategies

  • Monitor web server logs on D-Link devices for POST requests to /getcfg.php from unexpected sources
  • Deploy network intrusion detection signatures to identify exploitation attempts against this endpoint
  • Implement alerting for any external network access to router management interfaces
  • Review firewall logs for incoming connections to router administrative ports from untrusted networks

Monitoring Recommendations

  • Enable logging on the router if supported and regularly review for suspicious access patterns
  • Use network monitoring tools to detect unauthorized access attempts to the router's web interface
  • Implement network segmentation to isolate management interfaces from untrusted network segments
  • Consider deploying a web application firewall in front of exposed management interfaces

How to Mitigate CVE-2021-40655

Immediate Actions Required

  • Restrict access to the router's web management interface to trusted internal networks only
  • Disable remote management features if not required for operations
  • Place affected devices behind a firewall that blocks external access to management ports
  • Consider replacing end-of-life devices with supported alternatives that receive security updates

Patch Information

D-Link has been notified of this vulnerability. Users should consult the D-Link Security Bulletin for the latest patch availability and firmware updates. Given that the DIR-605 is an older device model, it may have reached end-of-life status, and users are encouraged to verify whether security updates are still being provided.

This vulnerability is listed in the CISA Known Exploited Vulnerabilities Catalog, indicating it is actively being exploited in the wild. Immediate mitigation is strongly recommended.

Workarounds

  • Disable the web management interface entirely if not needed for device administration
  • Use firewall rules to restrict access to the router's management interface to specific trusted IP addresses
  • Implement network access control lists (ACLs) to limit who can reach the vulnerable endpoint
  • Monitor and audit all access to the device pending replacement or firmware update
bash
# Example firewall rule to restrict management interface access (iptables)
# Allow only trusted admin workstation to access router management
iptables -A INPUT -p tcp --dport 80 -s 192.168.1.100 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j DROP
iptables -A INPUT -p tcp --dport 443 -s 192.168.1.100 -j ACCEPT
iptables -A INPUT -p tcp --dport 443 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechDlink Dir 605l

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability92.61%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-863
  • Technical References
  • GitHub PoC Repository

  • CISA Known Exploits Catalog
  • Vendor Resources
  • D-Link Security Bulletin
  • Related CVEs
  • CVE-2025-4442: D-Link DIR-605L Buffer Overflow Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English