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

CVE-2025-12326: Shawon Ruet OJ SQL Injection Vulnerability

CVE-2025-12326 is a SQL injection flaw in Shawon Ruet OJ affecting the /process.php POST request handler. Attackers can exploit the un parameter remotely. This article covers technical details, impact, and mitigation.

Published: April 29, 2026

CVE-2025-12326 Overview

A SQL injection vulnerability has been discovered in shawon100 RUET OJ, an online judge system. This vulnerability affects the /process.php file in the POST Request Handler component, where the un parameter is susceptible to SQL injection attacks. The vulnerability allows remote attackers to manipulate database queries by injecting malicious SQL code through user-controlled input, potentially leading to unauthorized data access, modification, or deletion.

Critical Impact

Remote attackers can exploit this SQL injection vulnerability to bypass authentication, extract sensitive database contents, modify or delete data, and potentially gain further access to the underlying system through the publicly available exploit.

Affected Products

  • RUET OJ (all versions up to commit 18fa45b0a669fa1098a0b8fc629cf6856369d9a5)
  • shawonruet ruet_oj (no formal versioning available)

Discovery Timeline

  • 2025-10-27 - CVE-2025-12326 published to NVD
  • 2026-04-29 - Last updated in NVD database

Technical Details for CVE-2025-12326

Vulnerability Analysis

This vulnerability is classified as SQL Injection (CWE-89) and more broadly as Injection (CWE-74). The flaw exists in the /process.php file, which handles POST requests in the RUET OJ application. When processing the un parameter, the application fails to properly sanitize or parameterize user input before incorporating it into SQL queries. This allows attackers to inject arbitrary SQL statements that are then executed by the database engine.

The exploit has been publicly disclosed, increasing the risk of widespread exploitation. The vendor was contacted regarding this vulnerability but did not respond, leaving no official patch or remediation guidance available. Due to the lack of versioning in this product, it is difficult to determine which releases are affected or unaffected.

Root Cause

The root cause of this vulnerability is improper input validation and lack of parameterized queries in the /process.php POST request handler. The un parameter is directly concatenated or interpolated into SQL statements without sanitization, escaping, or the use of prepared statements. This is a classic example of insecure coding practices that allow user-controlled data to influence database queries.

Attack Vector

The attack can be launched remotely over the network without requiring authentication. An attacker can craft malicious POST requests to /process.php with SQL injection payloads in the un parameter. The vulnerability requires no user interaction to exploit.

The attacker submits a specially crafted POST request to the /process.php endpoint, including SQL injection payloads in the un parameter. Common exploitation techniques include:

  • Union-based injection: Extracting data from other database tables by appending UNION SELECT statements
  • Boolean-based blind injection: Inferring database contents through true/false responses
  • Time-based blind injection: Using database sleep functions to extract data through response timing
  • Error-based injection: Leveraging database error messages to reveal schema information

For technical details on the exploitation methodology, refer to the VulDB vulnerability entry.

Detection Methods for CVE-2025-12326

Indicators of Compromise

  • Unusual or malformed POST requests to /process.php containing SQL syntax in the un parameter
  • Database error messages appearing in application logs or responses
  • Unexpected database queries containing UNION, SELECT, OR, AND operators with suspicious patterns
  • Authentication bypass attempts or unauthorized access to user accounts

Detection Strategies

  • Deploy Web Application Firewall (WAF) rules to detect and block SQL injection patterns in POST requests to /process.php
  • Monitor application and database logs for SQL error messages and anomalous query patterns
  • Implement intrusion detection signatures for common SQL injection payloads targeting the un parameter
  • Use runtime application self-protection (RASP) solutions to detect injection attempts

Monitoring Recommendations

  • Enable detailed logging for all POST requests to /process.php and review for suspicious patterns
  • Set up alerts for database errors that may indicate injection attempts
  • Monitor for unusual database activity such as bulk data extraction or schema enumeration queries
  • Review web server access logs for repeated requests with varying SQL injection payloads

How to Mitigate CVE-2025-12326

Immediate Actions Required

  • Restrict access to the /process.php endpoint using network-level controls or authentication requirements
  • Deploy a Web Application Firewall with SQL injection protection rules
  • Consider taking the application offline until proper input validation can be implemented
  • If possible, implement input validation and parameterized queries in the affected code

Patch Information

No official patch is available from the vendor. The vendor was contacted about this vulnerability but did not respond. Organizations using RUET OJ should implement the workarounds described below or consider migrating to an alternative solution with active security maintenance.

For additional vulnerability information, see the VulDB CTI entry and VulDB submission details.

Workarounds

  • Implement a Web Application Firewall (WAF) with SQL injection detection and blocking capabilities
  • Add input validation to sanitize the un parameter, allowing only expected characters (alphanumeric, limited special characters)
  • Modify the application code to use prepared statements or parameterized queries instead of string concatenation
  • Restrict network access to the application to trusted IP ranges only
  • Monitor and log all access to /process.php for forensic analysis
bash
# Example WAF rule configuration (ModSecurity)
SecRule ARGS:un "@detectSQLi" \
    "id:1001,\
    phase:2,\
    deny,\
    status:403,\
    log,\
    msg:'SQL Injection attempt detected in un parameter',\
    tag:'CVE-2025-12326'"

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechShawonruet Ruet Oj

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.02%

  • 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

  • CWE-89
  • Technical References
  • VulDB CTI ID #330103

  • VulDB #330103

  • VulDB Submission #674322
  • Latest CVEs
  • CVE-2026-9813: FlowIntel SSRF Vulnerability

  • CVE-2026-4377: D-Link DWR-X1820 Auth Bypass Vulnerability

  • CVE-2026-47074: ex_aws_sns Auth Bypass Vulnerability

  • CVE-2026-46241: Linux Kernel Use-After-Free 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