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-2025-5977

CVE-2025-5977: School Fees Payment System SQLi Flaw

CVE-2025-5977 is a critical SQL injection vulnerability in Fabian School Fees Payment System 1.0 affecting the datatable.php file. This article covers the technical details, affected versions, security impact, and mitigation.

Published: March 25, 2026

CVE-2025-5977 Overview

A SQL injection vulnerability has been identified in code-projects School Fees Payment System version 1.0. This critical issue affects the processing of the /datatable.php file, where the manipulation of the sSortDir_0 argument can be exploited to perform SQL injection attacks. The vulnerability is remotely exploitable and details have been publicly disclosed, increasing the risk of active exploitation.

Critical Impact

Unauthenticated remote attackers can exploit this SQL injection vulnerability to extract, modify, or delete sensitive database contents including student records and payment information.

Affected Products

  • Fabian School Fees Payment System 1.0

Discovery Timeline

  • 2025-06-10 - CVE-2025-5977 published to NVD
  • 2025-06-17 - Last updated in NVD database

Technical Details for CVE-2025-5977

Vulnerability Analysis

This vulnerability is classified as SQL Injection (CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component). The vulnerable endpoint /datatable.php fails to properly sanitize user-supplied input in the sSortDir_0 parameter before incorporating it into SQL queries. This parameter is typically used in DataTables implementations to specify the sort direction (ascending or descending) for table columns.

The lack of input validation allows attackers to inject arbitrary SQL commands through the sorting parameter, potentially bypassing authentication mechanisms, accessing sensitive data, or modifying database contents. The network-accessible nature of this vulnerability means attackers can exploit it remotely without requiring prior authentication.

Root Cause

The root cause is improper input validation and lack of parameterized queries in the /datatable.php endpoint. The sSortDir_0 parameter, which should only accept ASC or DESC values for SQL ORDER BY clauses, is directly concatenated into SQL queries without proper sanitization or prepared statement implementation. This classic SQL injection pattern occurs when dynamic SQL is constructed using untrusted user input.

Attack Vector

The attack can be initiated remotely over the network. An attacker can craft malicious HTTP requests to the /datatable.php endpoint, injecting SQL payloads through the sSortDir_0 parameter. Since the vulnerability requires no authentication and can be exploited with low complexity, attackers can potentially:

  • Extract sensitive student and payment records from the database
  • Modify or delete financial transaction data
  • Potentially escalate privileges within the application
  • In some configurations, execute operating system commands through database features

The vulnerability has been publicly disclosed, and technical details are available through the GitHub CVE Issue Tracker, which increases the likelihood of exploitation attempts.

Detection Methods for CVE-2025-5977

Indicators of Compromise

  • Anomalous HTTP requests to /datatable.php containing SQL syntax in the sSortDir_0 parameter
  • Database logs showing unusual queries with ORDER BY clauses containing SQL injection patterns
  • Web application firewall alerts for SQL injection attempts targeting DataTables endpoints
  • Unexpected database access patterns or data exfiltration activity

Detection Strategies

  • Deploy web application firewall (WAF) rules to detect and block SQL injection patterns in DataTables parameters
  • Monitor web server access logs for requests to /datatable.php with suspicious sSortDir_0 values containing quotes, semicolons, or SQL keywords
  • Implement database activity monitoring to alert on unusual query patterns or unauthorized data access
  • Configure intrusion detection systems to identify SQL injection attack signatures targeting sorting parameters

Monitoring Recommendations

  • Enable verbose logging on the web server to capture full request parameters for /datatable.php
  • Set up alerts for database queries that deviate from expected ORDER BY patterns
  • Monitor for mass data extraction attempts or unusual database read operations
  • Review application error logs for SQL syntax errors that may indicate failed injection attempts

How to Mitigate CVE-2025-5977

Immediate Actions Required

  • Restrict access to /datatable.php through network segmentation or access control lists until patching is possible
  • Implement input validation to whitelist only ASC and DESC values for the sSortDir_0 parameter
  • Deploy WAF rules to block SQL injection attempts targeting this endpoint
  • Consider taking the affected application offline if it processes sensitive data

Patch Information

No official vendor patch information is currently available for this vulnerability. Organizations using the School Fees Payment System should contact the vendor or check Code Projects Resource for updates. Additional vulnerability details are available through VulDB #311855.

Workarounds

  • Implement a server-side whitelist filter that only allows ASC or DESC values for the sSortDir_0 parameter
  • Replace dynamic SQL query construction with parameterized prepared statements
  • Apply the principle of least privilege to database accounts used by the application
  • Consider deploying a reverse proxy with SQL injection filtering capabilities in front of the application
bash
# Example Apache mod_rewrite rule to block suspicious sSortDir_0 values
# Add to .htaccess or Apache configuration
RewriteEngine On
RewriteCond %{QUERY_STRING} sSortDir_0=(?!ASC|DESC)[^&]* [NC]
RewriteRule ^datatable\.php$ - [F,L]

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechFabian School Fees Payment System

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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
  • Technical References
  • Code Projects Resource

  • GitHub CVE Issue Tracker

  • VulDB CTI #311855

  • VulDB #311855

  • VulDB Submission #592458
  • Related CVEs
  • CVE-2025-5985: School Fees Payment System Auth Bypass
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