Online Student Result System
CVE-2025-12257
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify internet-exposed Online Student Result System instance
-
DeliverySend crafted HTTP GET to /view_result.php with injected id parameter
-
ExploitBypass SQL query boundary via unsanitized input
-
ExecutionEnumerate database tables and records
-
ImpactExfiltrate student result data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | The target must be running SourceCodester Online Student Result System 1.0 with the |
| Impact | The CVSS 4.0 base vector (AV:N/AC:L/AT:N/PR:N/UI:N) presents worst-case attack surface conditions: network-reachable, low complexity, no authentication, no user interaction. This would be alarming in a widely-deployed product. However, all three impact dimensions are rated Low (VC:L/VI:L/VA:L) with no subsequent-system impact (SC:N/SI:N/SA:N), capping the blast radius at partial database exposure. EPSS at 0.03% (8th percentile) confirms very low observed exploitation probability. The E:P supplemental modifier confirms a public exploit exists, which elevates theoretical opportunistic risk. No CISA KEV listing. SSVC signals: exploitation is possible (POC public) but the product's obscure footprint (educational demo, not enterprise software) drastically limits real-world attack surface. The overall priority is low outside institutions running this specific demo codebase on internet-accessible infrastructure. |
| Exploit ScenarioDerived | An unauthenticated remote attacker sends a crafted HTTP GET request such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 25, 2026
SQL injection in SourceCodester Online Student Result System 1.0 exposes remote unauthenticated attackers a direct path to manipulate backend database queries via the unsanitized id parameter in /view_result.php. Successful exploitation can yield unauthorized access to student result records, partial data modification, and limited availability disruption. A public proof-of-concept exploit exists (referenced via GitHub), though EPSS at 0.03% (8th percentile) signals negligible observed exploitation activity, consistent with the product's narrow educational/demo deployment footprint rather than any technical barrier to exploitation.
RemediationAI
No vendor-released patch has been identified at time of analysis for Online Student Result System 1.0. Given that SourceCodester publishes educational demo code rather than maintained commercial software, a formal patch release is unlikely. Developers who have deployed this codebase should replace dynamic SQL string concatenation in /view_result.php with parameterized queries (PDO prepared statements in PHP) and apply strict integer validation on the id parameter - these are targeted, low-side-effect fixes. As immediate compensating controls: restrict access to the application to authenticated or internal-only users via HTTP basic auth or IP allowlisting at the web server level; deploy a WAF rule filtering SQL metacharacters on the /view_result.php?id= endpoint (note: WAF bypass is possible with obfuscated payloads, so this is a temporary measure only); or take the application offline if it is not actively needed, since it is a demo codebase not intended for production exposure. See VulDB at https://vuldb.com/?id.329928 for additional context.
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
The affected product is a PHP-based web application identified by CPE cpe:2.3:a:oretnom23:online_student_result_system:1.0:*:*:*:*:*:*:*, authored by oretnom23 and distributed through SourceCodester as an open-source academic demo. The root cause is CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component - Injection), specifically classic SQL injection: the id parameter passed to /view_result.php is interpolated directly into a SQL query without sanitization or parameterization. This allows an attacker to alter query logic, escape intended data boundaries, and interact with the underlying database layer. The PHP stack and lack of prepared statements are the enabling technical conditions.
Know when Online Student Result System 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:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Network-accessible unauthenticated SQLi with no scope change; Low C/I/A reflects partial database read-write access in a small demo application.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.org
A security vulnerability has been detected in SourceCodester Online Student Result System 1.0. This issue affects some unknown processing of the file /view_result.php. The manipulation of the argument ID leads to sql injection. The attack is possible to be carried out remotely. The exploit has been disclosed publicly and may be used.
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.
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB