Skip to main content

RUET OJ CVE-2025-12329

LOW
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-10-27 cna@vuldb.com
2.1
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid user credentials
  2. Delivery
    Authenticate to RUET OJ
  3. Exploit
    Submit malicious SQL payload in ID parameter
  4. Execution
    /details.php processes unsanitized input
  5. Persist
    SQL injection executes
  6. Impact
    Database query returns unauthorized data or modified records

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
Exploitation Conditions

Authentication is mandatory - attacker must possess valid user credentials to access the /details.php endpoint (CVSS PR:L). The vulnerability is triggered by manipulation of the ID parameter during the query construction phase. No special product configuration, non-default settings, or user interaction beyond parameter submission is required. Exploitation is limited to authenticated users; unauthenticated remote access to /details.php is not possible.

Impact

Multiple signals indicate this is a low-priority vulnerability despite public exploit availability. CVSS 4.0 vector shows AV:N and AC:L (network accessible, low complexity) but PR:L (requires authenticated user) significantly constrains attack scope. The EPSS score of 0.02% percentile places this in the lowest exploitation probability category, suggesting real-world exploitation remains minimal despite code availability. CVSS impact scope indicates only low confidentiality, integrity, and availability degradation (VC:L/VI:L/VA:L), not system compromise. The unresponsive vendor and rolling release model prevent traditional patch validation, but the authentication requirement and limited impact severity suggest this is a legitimate but low-risk finding suitable for standard patch cycles rather than emergency response.

Exploit ScenarioDerived

An authenticated user crafts a malicious SQL injection payload in the ID parameter of /details.php (e.g., ID=1' OR '1'='1) to extract or modify database contents. Public exploit code simplifies this attack, though successful exploitation requires valid user credentials to reach the vulnerable endpoint.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 29, 2026

SQL injection in shawon100 RUET OJ through the ID parameter of /details.php allows authenticated remote attackers to manipulate database queries with low confidentiality, integrity, and availability impact. The vulnerability affects commits up to 18fa45b0a669fa1098a0b8fc629cf6856369d9a5, with publicly available exploit code released. Despite moderate CVSS 2.1, the low EPSS score of 0.02% and requirement for prior authentication significantly limit real-world exploitation likelihood.

RemediationAI

No vendor-released patch identified at time of analysis, as the vendor did not respond to disclosure. Immediate remediation requires upgrading to a commit after 18fa45b0a669fa1098a0b8fc629cf6856369d9a5 if available from the project repository. Until patched, apply input validation and parameterized queries (prepared statements) to the ID parameter in /details.php to prevent SQL injection. Restrict network access to /details.php to trusted administrators only, and monitor database query logs for suspicious SQL syntax patterns. Consider disabling the vulnerable /details.php endpoint entirely if its functionality is not critical to operations.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

RUET OJ is a PHP-based online judge application. The vulnerability exists in /details.php where user-supplied input in the ID parameter is processed without sufficient sanitization or parameterized query protection, violating CWE-74 (Improper Neutralization of Special Elements in Output). The attack vector is network-based with low attack complexity, indicating straightforward SQL injection techniques apply. The product uses a rolling release model without fixed version numbers, making traditional patch tracking impossible.

Know when Ruet Oj gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vuldb) PRIMARY 2.1 LOW
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

Primary rating from Vendor (vuldb) · only source for this CVE.

CVSS VectorVendor: vuldb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A security flaw has been discovered in shawon100 RUET OJ up to 18fa45b0a669fa1098a0b8fc629cf6856369d9a5. The affected element is an unknown function of the file /details.php. Performing manipulation of the argument ID results in sql injection. Remote exploitation of the attack is possible. The exploit has been released to the public and may be exploited. This product follows a rolling release approach for continuous delivery, so version details for affected or updated releases are not provided. The vendor was contacted early about this disclosure but did not respond in any way.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Affected Products (CPE)CVE.org

cpe:2.3:a:shawonruet:ruet_oj:*:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy