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
    • 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-2025-9410

CVE-2025-9410: Lostvip Ruoyi-go SQL Injection Vulnerability

CVE-2025-9410 is a SQL injection flaw in Lostvip Ruoyi-go affecting the SelectListByPage function. Attackers can remotely exploit this weakness to manipulate database queries. This article covers technical details, affected versions, and mitigation strategies.

Published: April 1, 2026

CVE-2025-9410 Overview

A SQL injection vulnerability has been identified in lostvip-com ruoyi-go versions up to 2.1. The vulnerability affects the SelectListByPage function within the file modules/system/dao/GenTableDao.go. By manipulating the isAsc and orderByColumn arguments, an attacker can inject malicious SQL commands into database queries. This vulnerability is remotely exploitable, and exploit details have been made publicly available.

Critical Impact

Attackers can exploit this SQL injection vulnerability to manipulate database queries, potentially leading to unauthorized data access, data modification, or data deletion. The remote attack vector makes this vulnerability particularly concerning for internet-facing deployments.

Affected Products

  • lostvip ruoyi-go versions up to 2.1
  • Applications built on the ruoyi-go framework with exposed GenTableDao functionality

Discovery Timeline

  • August 25, 2025 - CVE-2025-9410 published to NVD
  • October 6, 2025 - Last updated in NVD database

Technical Details for CVE-2025-9410

Vulnerability Analysis

This SQL injection vulnerability (CWE-89) exists due to improper neutralization of special elements used in SQL commands within the SelectListByPage function. The vulnerability is classified under both CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component) and CWE-89 (SQL Injection), indicating that user-controlled input is directly incorporated into SQL queries without proper sanitization or parameterization.

The affected function accepts the isAsc and orderByColumn parameters, which are used to construct dynamic ORDER BY clauses in SQL queries. When these parameters are not properly validated or escaped, an attacker can inject arbitrary SQL syntax that gets executed by the database engine.

Root Cause

The root cause of this vulnerability is insufficient input validation and the use of string concatenation or interpolation to build SQL queries in the SelectListByPage function located in modules/system/dao/GenTableDao.go. The isAsc parameter (which typically accepts values like "ASC" or "DESC") and the orderByColumn parameter (which specifies the column name for sorting) are directly embedded into the SQL query without proper sanitization, parameterized queries, or allowlist validation.

Attack Vector

The attack is conducted over the network, requiring the attacker to have low-level privileges to access the vulnerable endpoint. The attacker crafts malicious values for the isAsc or orderByColumn parameters that break out of the intended SQL context and inject additional SQL commands.

For example, an attacker could manipulate the orderByColumn parameter to include SQL syntax that extracts sensitive data, modifies records, or executes administrative database commands. The vulnerability allows for remote exploitation without user interaction, making it suitable for automated attacks.

Technical details and proof-of-concept information are available in the GitHub CVE Issue 3 and GitHub CVE Issue 4 repositories. Additional vulnerability documentation is available at VulDB #321251.

Detection Methods for CVE-2025-9410

Indicators of Compromise

  • Unusual or malformed values in HTTP request parameters targeting orderByColumn or isAsc fields
  • Database logs showing syntax errors or unexpected query patterns involving ORDER BY clauses
  • Failed authentication attempts followed by successful data exfiltration patterns
  • Increased database query execution times indicating time-based blind SQL injection attempts

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect common SQL injection patterns in the isAsc and orderByColumn parameters
  • Monitor application logs for requests containing SQL keywords such as UNION, SELECT, DROP, --, or ' in sorting-related parameters
  • Deploy runtime application self-protection (RASP) solutions to detect and block SQL injection attempts in real-time
  • Use database activity monitoring to identify anomalous query patterns originating from the ruoyi-go application

Monitoring Recommendations

  • Enable detailed logging for all requests to the GenTableDao endpoints and review for suspicious parameter values
  • Configure alerting for database errors related to SQL syntax, particularly those involving ORDER BY statements
  • Monitor for data exfiltration patterns such as unusually large query result sets or access to sensitive tables
  • Implement network traffic analysis to detect potential command-and-control communications following successful exploitation

How to Mitigate CVE-2025-9410

Immediate Actions Required

  • Audit all instances of ruoyi-go deployments to identify vulnerable versions (up to 2.1)
  • Implement input validation allowlists for the isAsc parameter to accept only "ASC" or "DESC" values
  • Restrict the orderByColumn parameter to a predefined list of valid column names
  • Deploy WAF rules to block requests containing SQL injection payloads in sorting parameters
  • Consider temporarily disabling the affected functionality if immediate patching is not possible

Patch Information

At the time of publication, the vendor (lostvip) has not responded to disclosure attempts regarding this vulnerability. No official patch has been released. Organizations using ruoyi-go should implement the workarounds described below and monitor the official lostvip ruoyi-go repository for security updates.

Workarounds

  • Implement server-side validation to ensure isAsc only accepts "ASC" or "DESC" values using strict allowlist matching
  • Create an allowlist of valid column names for the orderByColumn parameter and reject any values not on the list
  • Modify the SelectListByPage function to use parameterized queries or prepared statements instead of string concatenation
  • Deploy a reverse proxy or WAF with SQL injection detection rules in front of the ruoyi-go application
  • If the code generator functionality is not required, consider disabling or removing the GenTableDao module entirely
bash
# Example WAF rule for ModSecurity to block SQL injection in sorting parameters
# Add to your ModSecurity configuration
SecRule ARGS:orderByColumn "@rx (?i)(union|select|insert|update|delete|drop|--|;|'|\")" \
    "id:100001,phase:2,deny,status:403,log,msg:'SQL Injection attempt in orderByColumn'"

SecRule ARGS:isAsc "!@rx ^(ASC|DESC|asc|desc)$" \
    "id:100002,phase:2,deny,status:403,log,msg:'Invalid isAsc parameter value'"

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechLostvip Ruoyi Go

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-74

  • CWE-89
  • Technical References
  • GitHub CVE Issue 3

  • GitHub CVE Issue 4

  • VulDB #321251

  • VulDB #321251

  • VulDB Submission #633677

  • VulDB Submission #633679
  • Related CVEs
  • CVE-2025-10218: Lostvip Ruoyi-go SQL Injection Vulnerability

  • CVE-2025-9412: Lostvip Ruoyi-go SQL Injection Vulnerability

  • CVE-2025-9413: Lostvip Ruoyi-go SQL Injection 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