CVE-2025-12257
7.3SourceCodester · Online Student Result System
A SQL injection vulnerability in SourceCodester Online Student Result System 1.0 allows remote attackers to manipulate the ID argument in view_result.php.
Executive summary
The Online Student Result System 1.0 contains a critical SQL injection vulnerability that allows unauthenticated remote attackers to compromise database integrity.
Vulnerability
This vulnerability is a SQL injection (CWE-89) flaw located in the view_result.php file. The application fails to properly sanitize the ID parameter, allowing an unauthenticated remote attacker to inject malicious SQL commands.
Business impact
The exploitation of this vulnerability could lead to unauthorized access to sensitive student records and result data stored within the backend database. Given the CVSS score of 7.3, the potential for data exfiltration or manipulation poses a significant risk to the confidentiality and integrity of the organization's academic information systems.
Remediation
Immediate Action: As no official vendor patch is currently available, administrators should restrict network access to the vulnerable script or take the application offline until a secure version is released.
Proactive Monitoring: Review web server access logs for anomalous requests containing SQL syntax patterns targeting the view_result.php endpoint.
Compensating Controls: Deploy a Web Application Firewall (WAF) with rules configured to detect and block common SQL injection payloads directed at the vulnerable parameter.
Exploitation status
Public Exploit Available: Yes, a published proof-of-concept exists as documented in the research write-up at the provided GitHub reference.
Analyst recommendation
Due to the availability of a public proof-of-concept, this vulnerability poses an immediate threat to any organization running the affected software. Security teams should prioritize isolating the affected system and implementing WAF protections to mitigate the risk of remote exploitation until an official update is provided by the vendor.
More SourceCodester CVEs
Sources
Originally found and disclosed by Cloverhyl (VulDB User), per the CVE Program record.