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-2020-36951

CVE-2020-36951: Phpscript-sgh SQL Injection Vulnerability

CVE-2020-36951 is a time-based blind SQL injection flaw in Phpscript-sgh 0.1.0 affecting the admin interface. Attackers exploit the id parameter to extract database information. This article covers technical details, impact, and mitigation.

Published: January 30, 2026

CVE-2020-36951 Overview

CVE-2020-36951 is a time-based blind SQL injection vulnerability affecting Phpscript-sgh version 0.1.0. The vulnerability exists in the admin interface and allows attackers to manipulate database queries through the id parameter. By crafting malicious payloads that trigger time delays, attackers can extract sensitive database information through conditional sleep techniques, potentially compromising the entire database backend.

Critical Impact

Attackers can exploit this SQL injection vulnerability to extract sensitive database information, potentially including user credentials, personal data, and other confidential records stored in the database.

Affected Products

  • Phpscript-sgh version 0.1.0

Discovery Timeline

  • 2026-01-27 - CVE-2020-36951 published to NVD
  • 2026-01-29 - Last updated in NVD database

Technical Details for CVE-2020-36951

Vulnerability Analysis

This vulnerability is classified under CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), commonly known as SQL Injection. The flaw resides in the admin interface of Phpscript-sgh where user-supplied input via the id parameter is not properly sanitized before being incorporated into SQL queries.

Time-based blind SQL injection is a particularly insidious variant because it does not rely on visible error messages or direct data output. Instead, attackers infer information about the database by measuring response times when conditional time-delay statements (such as SLEEP() in MySQL) are injected into the query.

Root Cause

The root cause of this vulnerability is the failure to properly validate, sanitize, or parameterize user input before including it in SQL queries. The id parameter in the admin interface is directly concatenated into database queries without proper escaping or the use of prepared statements. This allows attackers to inject arbitrary SQL commands that manipulate query logic and database behavior.

Attack Vector

The attack is network-based and requires no authentication or user interaction, making it accessible to remote attackers. The exploitation process involves:

  1. Identifying the vulnerable id parameter in the admin interface
  2. Injecting payloads containing conditional time-delay functions
  3. Measuring server response times to determine if conditions evaluate to true or false
  4. Iteratively extracting data character by character through binary search techniques

For example, an attacker might inject a payload that causes the database to sleep for 5 seconds if the first character of the admin password hash equals a specific value. By observing the response delay, the attacker confirms or denies their hypothesis and proceeds to enumerate the complete value.

Technical details and proof-of-concept information can be found in the Exploit-DB #49192 entry and the VulnCheck Security Advisory.

Detection Methods for CVE-2020-36951

Indicators of Compromise

  • Unusual HTTP requests to admin interface endpoints containing SQL syntax such as SLEEP(), BENCHMARK(), or WAITFOR DELAY
  • Database logs showing slow queries or repeated queries with minimal variations in the id parameter
  • Increased response latency patterns suggesting time-based injection attempts
  • Multiple sequential requests to the same endpoint with incrementing numeric or character values in payloads

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block SQL injection patterns in request parameters
  • Enable detailed database query logging to identify suspicious query patterns or unexpected sleep/delay operations
  • Deploy intrusion detection systems (IDS) configured with SQL injection signature rules
  • Monitor application logs for anomalous request patterns targeting the admin interface

Monitoring Recommendations

  • Set up alerts for requests containing common SQL injection keywords (SLEEP, BENCHMARK, UNION, SELECT, WAITFOR)
  • Monitor database performance metrics for unusual query execution times that could indicate time-based attacks
  • Implement rate limiting on admin interface endpoints to slow down automated extraction attempts
  • Correlate web server logs with database logs to identify injection attempts that successfully reach the database

How to Mitigate CVE-2020-36951

Immediate Actions Required

  • Restrict access to the admin interface by IP whitelist or VPN requirement
  • Implement a Web Application Firewall (WAF) with SQL injection protection rules
  • Review and audit all database queries in the application for proper parameterization
  • Consider taking the application offline if it processes sensitive data until a patch is applied

Patch Information

No official patch information is available from the vendor at this time. Organizations using Phpscript-sgh 0.1.0 should consider the following remediation approaches:

  • Review the GitHub Repository for any updates or community patches
  • Consult the VulnCheck Security Advisory for the latest remediation guidance
  • Consider migrating to an alternative solution if the project is no longer maintained

Workarounds

  • Use prepared statements with parameterized queries for all database operations involving user input
  • Implement strict input validation on the id parameter to accept only expected integer values
  • Deploy a reverse proxy or WAF to filter malicious SQL injection payloads before they reach the application
  • Limit database user privileges to the minimum required, reducing the impact of successful exploitation
bash
# Example WAF rule configuration (ModSecurity)
# Block common time-based SQL injection patterns
SecRule ARGS "@rx (?i)(sleep|benchmark|waitfor\s+delay|pg_sleep)" \
    "id:1001,phase:2,deny,status:403,msg:'Time-based SQL Injection Attempt Detected'"

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechPhpscript

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/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
  • AvailabilityNone
  • CWE References
  • CWE-89
  • Technical References
  • GitHub PoC Repository

  • Exploit-DB #49192

  • VulnCheck Security Advisory
  • Latest CVEs
  • CVE-2026-40322: SiYuan Knowledge Management RCE Vulnerability

  • CVE-2026-40318: SiYuan Path Traversal Vulnerability

  • CVE-2026-40259: SiYuan Auth Bypass Vulnerability

  • CVE-2026-40255: AdonisJS HTTP Server CSRF 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