RUET OJ
CVE-2025-12329
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid user credentials
-
DeliveryAuthenticate to RUET OJ
-
ExploitSubmit malicious SQL payload in ID parameter
-
Execution/details.php processes unsanitized input
-
PersistSQL injection executes
-
ImpactDatabase 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Affected Products (CPE)CVE.org
SQL injection in RUET OJ's /process.php POST request handler allows remote unauthenticated attackers to manipulate the '
SQL injection in RUET OJ via the Name parameter in /contestproblem.php allows authenticated remote attackers to execute
SQL injection in RUET OJ /description.php endpoint allows authenticated remote attackers to manipulate the ID parameter
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB