A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-3685

CVE-2024-3685: DedeCMS SQL Injection Vulnerability

CVE-2024-3685 is a critical SQL injection vulnerability in DedeCMS 5.7.112-UTF8 affecting stepselect_main.php. Attackers can remotely exploit this flaw to manipulate database queries. This article covers technical details, affected versions, impact, and mitigation strategies.

Updated: May 15, 2026

CVE-2024-3685 Overview

CVE-2024-3685 is a SQL injection vulnerability in DedeCMS 5.7.112-UTF8, a Chinese-language content management system. The flaw resides in the stepselect_main.php script, where the ids parameter is concatenated into a database query without proper sanitization. Remote attackers can exploit the issue without authentication or user interaction. The vulnerability is tracked as VulDB identifier VDB-260472 and is classified under [CWE-89]. Public exploit details have been disclosed, and the vendor did not respond to early disclosure attempts.

Critical Impact

Unauthenticated remote attackers can manipulate the ids parameter to execute arbitrary SQL statements, potentially exposing or modifying the entire DedeCMS database.

Affected Products

  • DedeCMS 5.7.112-UTF8
  • stepselect_main.php component
  • Deployments exposing DedeCMS administrative endpoints to untrusted networks

Discovery Timeline

  • 2024-04-12 - CVE-2024-3685 published to the National Vulnerability Database (NVD)
  • 2025-04-08 - Last updated in the NVD database

Technical Details for CVE-2024-3685

Vulnerability Analysis

The vulnerability is a classic SQL injection flaw mapped to [CWE-89]. DedeCMS 5.7.112-UTF8 accepts the ids argument in stepselect_main.php and incorporates it directly into a backend SQL query. Because the input is not validated, escaped, or parameterized, attackers can append additional SQL syntax to alter query semantics. Exploitation requires no privileges and no user interaction, and the attack is delivered over the network. Successful exploitation allows extraction of credentials, modification of CMS content, and potentially full database compromise.

Root Cause

The root cause is the absence of input validation and prepared statements when handling the ids parameter. DedeCMS concatenates the user-supplied value into a SQL statement processed by the underlying MySQL backend. Any single quote, comment sequence, or UNION clause supplied by the attacker is interpreted as SQL syntax rather than data.

Attack Vector

An attacker sends a crafted HTTP request to the stepselect_main.php endpoint with a malicious ids value. The injected payload can use boolean-based, time-based, or UNION-based techniques to read arbitrary tables, including dede_admin, where administrator password hashes are stored. Detailed proof-of-concept material has been published in the GitHub CVE PoC Document and indexed by VulDB #260472.

No verified exploit code is reproduced here. Refer to the linked advisory for technical reproduction details.

Detection Methods for CVE-2024-3685

Indicators of Compromise

  • HTTP requests to stepselect_main.php containing SQL metacharacters in the ids parameter such as ', --, UNION SELECT, or SLEEP(
  • Web server access logs showing unusually long ids values or hex-encoded payloads
  • Unexpected outbound database queries against dede_admin, dede_member, or other sensitive tables
  • New or modified administrator accounts in the DedeCMS backend without an audit trail

Detection Strategies

  • Deploy web application firewall (WAF) signatures that flag SQL injection patterns targeting stepselect_main.php
  • Enable MySQL general query logging during incident investigations to correlate suspicious queries with web requests
  • Hunt for repeated requests from a single source IP that vary only the ids parameter, indicating automated probing

Monitoring Recommendations

  • Forward web server, application, and database logs to a centralized analytics platform for correlation
  • Alert on HTTP 500 responses originating from stepselect_main.php, which often indicate SQL syntax errors caused by injection attempts
  • Monitor authentication events for the DedeCMS admin panel and flag logins from new geographies or user agents

How to Mitigate CVE-2024-3685

Immediate Actions Required

  • Restrict network access to stepselect_main.php and the DedeCMS administrative directory using IP allowlists or VPN-only access
  • Place the DedeCMS application behind a WAF with SQL injection rules enabled in blocking mode
  • Audit the dede_admin table for unauthorized accounts and rotate all administrator credentials
  • Review web server logs for evidence of exploitation dating back to April 2024

Patch Information

No vendor patch is available. According to the NVD entry, the DedeCMS maintainers were contacted prior to disclosure but did not respond. Organizations should evaluate whether continued use of DedeCMS 5.7.112-UTF8 is acceptable given the lack of vendor remediation, and consider migrating to an actively maintained CMS.

Workarounds

  • Apply a virtual patch at the WAF layer that rejects requests where the ids parameter contains non-numeric characters
  • Modify stepselect_main.php locally to cast ids values to integers before passing them to the database layer
  • Disable or remove the stepselect_main.php script if the functionality is not required in your deployment
  • Enforce least-privilege database accounts so the CMS cannot read administrative tables or write outside its own schema
bash
# Example WAF rule (ModSecurity) to block non-numeric ids values
SecRule ARGS:ids "!@rx ^[0-9,]+$" \
    "id:1003685,phase:2,deny,status:403,\
     msg:'CVE-2024-3685 DedeCMS stepselect_main.php ids SQLi attempt'"

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechDedecms

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.07%

  • 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-89
  • Technical References
  • GitHub CVE PoC Document

  • VulDB CTI ID #260472

  • VulDB #260472

  • VulDB Submission #309447
  • Related CVEs
  • CVE-2026-10608: DedeCMS 5.7.88 SQL Injection Vulnerability

  • CVE-2026-10607: DedeCMS SQL Injection Vulnerability

  • CVE-2026-10606: DedeCMS 5.7.88 SQL Injection Vulnerability

  • CVE-2026-38615: DedeCMS Command Execution Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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