The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-2024-45698

CVE-2024-45698: D-Link DIR-X4860 Firmware RCE Vulnerability

CVE-2024-45698 is a remote code execution vulnerability in D-Link DIR-X4860 firmware allowing attackers to exploit hard-coded credentials and execute arbitrary commands. This article covers technical details, impact, and mitigation.

Published: March 31, 2026

CVE-2024-45698 Overview

CVE-2024-45698 is a critical command injection vulnerability affecting certain D-Link wireless routers. The vulnerability exists in the telnet service, which fails to properly validate user input and contains hardcoded credentials. This security flaw allows unauthenticated remote attackers to log into the telnet service using these hardcoded credentials and inject arbitrary operating system commands that are then executed on the device.

Critical Impact

Unauthenticated remote attackers can gain complete control of affected D-Link routers by exploiting hardcoded credentials and command injection, potentially compromising network security and enabling further attacks on connected devices.

Affected Products

  • D-Link DIR-X4860 Firmware version 1.00
  • D-Link DIR-X4860 Firmware version 1.04
  • D-Link DIR-X4860 Hardware revision A1

Discovery Timeline

  • 2024-09-16 - CVE-2024-45698 published to NVD
  • 2024-10-15 - Last updated in NVD database

Technical Details for CVE-2024-45698

Vulnerability Analysis

This vulnerability combines two significant security weaknesses (CWE-798: Use of Hard-coded Credentials and CWE-78: OS Command Injection) to create a severe attack chain. The D-Link DIR-X4860 router's telnet service contains embedded credentials that are not documented and cannot be changed by users. Once an attacker authenticates using these hardcoded credentials, the telnet service fails to properly sanitize user-supplied input before passing it to system shell commands.

The lack of input validation allows attackers to escape the intended command context and inject malicious OS commands. Since telnet provides a direct command-line interface to the router's underlying operating system, successful exploitation grants attackers the ability to execute arbitrary commands with the privileges of the telnet service process.

Root Cause

The root cause of this vulnerability is twofold. First, the firmware developers embedded static authentication credentials directly in the telnet service binary, violating secure coding practices. Second, the telnet service implementation lacks proper input sanitization and validation routines, allowing shell metacharacters and command separators to be processed by the underlying operating system.

Attack Vector

This is a network-based attack that requires no user interaction and no prior authentication. An attacker can remotely connect to the telnet service on the affected router (typically on port 23), authenticate using the hardcoded credentials, and then inject arbitrary commands through improperly validated input fields. The attack can be performed from anywhere on the network that has access to the router's telnet service, including potentially from the internet if the telnet service is exposed externally.

The exploitation process involves:

  1. Establishing a telnet connection to the vulnerable router
  2. Authenticating with the hardcoded credentials embedded in the firmware
  3. Injecting OS commands through the telnet interface by leveraging shell metacharacters
  4. The injected commands execute on the router with system-level privileges

Detection Methods for CVE-2024-45698

Indicators of Compromise

  • Unexpected telnet connections to port 23 on D-Link DIR-X4860 routers
  • Unusual outbound connections from router devices to unknown external IP addresses
  • Suspicious process executions or new services running on the router
  • Modified router configurations, DNS settings, or firewall rules
  • Presence of unauthorized files or scripts in the router's filesystem

Detection Strategies

  • Monitor network traffic for telnet connections (port 23) to router management interfaces
  • Implement network segmentation to restrict access to router management services
  • Deploy intrusion detection systems (IDS) with signatures for command injection patterns
  • Log and alert on any successful telnet authentication attempts to affected devices

Monitoring Recommendations

  • Enable logging on all network devices and forward logs to a centralized SIEM solution
  • Monitor for unusual command execution patterns in router telemetry if available
  • Track firmware versions across all D-Link devices and flag vulnerable versions
  • Implement network behavior analysis to detect anomalous router activity

How to Mitigate CVE-2024-45698

Immediate Actions Required

  • Disable the telnet service on all affected D-Link DIR-X4860 routers immediately
  • Implement firewall rules to block external access to port 23 on router devices
  • Isolate affected routers on a separate network segment until patched
  • Monitor for any signs of compromise on affected devices
  • Check for and apply any available firmware updates from D-Link

Patch Information

Organizations should check D-Link's official support channels for firmware updates addressing this vulnerability. The TW-CERT Security Advisory provides additional details regarding affected versions and remediation guidance.

Workarounds

  • Disable telnet service entirely via router administration interface if available
  • Use firewall rules to restrict telnet access to trusted internal IP addresses only
  • Enable any available alternative secure management protocols (HTTPS, SSH)
  • Consider replacing end-of-life devices that may not receive firmware updates
bash
# Example firewall rules to block telnet access
# Block external telnet connections at perimeter firewall
iptables -A INPUT -p tcp --dport 23 -j DROP
iptables -A FORWARD -p tcp --dport 23 -j DROP

# If router supports access control lists, restrict management access
# Consult D-Link documentation for device-specific configuration

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechDlink

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability1.93%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-78

  • CWE-798
  • Technical References
  • TW CERT Security Advisory #8091

  • TW CERT Security Advisory #8090
  • Related CVEs
  • CVE-2026-4465: D-Link DIR-513 RCE Vulnerability

  • CVE-2026-4210: D-Link DNR-202L Firmware RCE Vulnerability

  • CVE-2026-4209: D-Link DNR-202L Firmware RCE Vulnerability

  • CVE-2026-4207: D-Link DNR-202L Firmware RCE 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