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-8987

CVE-2025-8987: Covid19 Testing Management System SQLi Flaw

CVE-2025-8987 is a SQL injection vulnerability in Unyasoft Covid19 Testing Management System affecting the /test-details.php file. Attackers can exploit the remark parameter remotely. This article covers technical details, impact, and mitigation.

Published: March 25, 2026

CVE-2025-8987 Overview

A SQL injection vulnerability has been identified in SourceCodester COVID 19 Testing Management System version 1.0. This vulnerability affects the /test-details.php file, where improper handling of the remark parameter allows attackers to inject malicious SQL statements. The vulnerability can be exploited remotely without authentication, potentially allowing unauthorized access to sensitive database information, data manipulation, or complete database compromise.

Critical Impact

Remote attackers can exploit this SQL injection vulnerability to extract sensitive data, modify database records, or potentially gain unauthorized access to the underlying system through database-level attacks.

Affected Products

  • Unyasoft COVID-19 Testing Management System version 1.0
  • SourceCodester COVID 19 Testing Management System 1.0

Discovery Timeline

  • August 14, 2025 - CVE-2025-8987 published to NVD
  • August 18, 2025 - Last updated in NVD database

Technical Details for CVE-2025-8987

Vulnerability Analysis

This SQL injection vulnerability exists in the /test-details.php file of the COVID-19 Testing Management System. The application fails to properly sanitize user-supplied input in the remark parameter before incorporating it into SQL queries. This allows attackers to manipulate the SQL query logic by injecting malicious SQL code through the parameter.

The vulnerability is classified under CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component), which encompasses injection flaws where untrusted input is not properly sanitized before being used in sensitive operations.

Root Cause

The root cause of this vulnerability is the lack of proper input validation and parameterized queries in the application's database interaction layer. The /test-details.php script directly concatenates user input from the remark parameter into SQL statements without sanitization, escaping, or the use of prepared statements. This classic injection flaw pattern allows attackers to break out of the intended query context and execute arbitrary SQL commands.

Attack Vector

The attack can be initiated remotely over the network without requiring any authentication or user interaction. An attacker can craft malicious HTTP requests targeting the /test-details.php endpoint with specially crafted remark parameter values containing SQL injection payloads. These payloads can be designed to extract data (using UNION-based or blind SQL injection techniques), modify or delete records, or potentially execute operating system commands depending on database configuration and privileges.

The exploitation involves sending HTTP requests with SQL metacharacters and injection payloads in the remark parameter. An attacker could use techniques such as single-quote injection to test for vulnerability, UNION SELECT statements to extract data from other tables, or time-based blind injection to infer database contents. Technical details and proof-of-concept information are available in the GitHub Issue Discussion and VulDB entry #319983.

Detection Methods for CVE-2025-8987

Indicators of Compromise

  • Unusual or malformed HTTP requests to /test-details.php containing SQL keywords (SELECT, UNION, INSERT, DELETE, DROP) in the remark parameter
  • Database error messages appearing in application logs or HTTP responses indicating SQL syntax errors
  • Unexpected database query patterns or increased database load from the web application
  • Evidence of data exfiltration or unauthorized database access in audit logs

Detection Strategies

  • Deploy Web Application Firewall (WAF) rules to detect and block common SQL injection patterns in HTTP parameters
  • Enable detailed logging for the /test-details.php endpoint and monitor for suspicious parameter values
  • Implement database activity monitoring to detect anomalous queries originating from the web application
  • Use intrusion detection systems with SQL injection signature rules focused on PHP application traffic

Monitoring Recommendations

  • Monitor web server access logs for requests to /test-details.php with encoded or suspicious characters in query strings
  • Set up alerts for database errors or exceptions that may indicate injection attempts
  • Review application and database logs regularly for signs of unauthorized data access or manipulation
  • Implement real-time monitoring for outbound data transfers that could indicate data exfiltration

How to Mitigate CVE-2025-8987

Immediate Actions Required

  • Restrict network access to the affected COVID-19 Testing Management System to trusted IP addresses only
  • Implement Web Application Firewall (WAF) rules to filter SQL injection patterns on the /test-details.php endpoint
  • Consider taking the application offline if it contains sensitive data until a proper fix can be applied
  • Review database access logs for signs of prior exploitation and conduct forensic analysis if compromise is suspected

Patch Information

No official vendor patch has been released for this vulnerability at the time of publication. The application is distributed through SourceCodester, a platform for open-source projects. Organizations using this software should monitor for updates or consider implementing the workarounds below. For more information about this vulnerability, refer to the VulDB advisory.

Workarounds

  • Modify the /test-details.php source code to use parameterized queries (prepared statements) with PDO or mysqli instead of direct string concatenation
  • Implement strict input validation on the remark parameter, allowing only expected characters and rejecting SQL metacharacters
  • Apply the principle of least privilege to database accounts used by the application, restricting permissions to only necessary operations
  • Deploy a reverse proxy or WAF with SQL injection protection in front of the application as an additional defense layer
bash
# Example: Restrict access to the vulnerable endpoint using .htaccess
# Add to .htaccess file in the application directory

<Files "test-details.php">
    Order Deny,Allow
    Deny from all
    Allow from 192.168.1.0/24
    # Replace with your trusted network range
</Files>

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechUnyasoft

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability0.03%

  • 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
  • GitHub Issue Discussion

  • VulDB CTI ID #319983

  • VulDB #319983

  • VulDB Submission ID #628664

  • SourceCodester Blog
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS 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