CVE-2025-8251

7.3

code-projects · Exam Form Submission

A SQL injection vulnerability in code-projects Exam Form Submission 1.0 allows remote attackers to manipulate the ID argument in /admin/delete_s4.php.

Executive summary

The Exam Form Submission application is vulnerable to remote SQL injection, which could allow an unauthenticated attacker to manipulate database queries.

Vulnerability

This is a SQL Injection (CWE-89) vulnerability located in the /admin/delete_s4.php file. The flaw is triggered by improper sanitization of the ID argument, allowing an unauthenticated remote attacker to execute arbitrary SQL commands.

Business impact

Successful exploitation of this vulnerability can lead to unauthorized access to the application database, potentially resulting in the compromise of sensitive exam data or administrative records. Given the CVSS score of 7.3, this represents a high-risk security flaw that could lead to data exfiltration or integrity loss. Organizations relying on this software for academic or administrative processes face significant operational and reputational risks if the database is manipulated.

Remediation

Immediate Action: As no official patch is currently available, administrators should restrict access to the /admin/ directory using IP allowlisting or authentication proxies. If the functionality is not business-critical, disable the vulnerable script entirely until a vendor-supplied update is released.

Proactive Monitoring: Review web server access logs for anomalous requests containing SQL syntax or unusual characters directed at the /admin/delete_s4.php endpoint.

Compensating Controls: Deploy a Web Application Firewall (WAF) with rules configured to detect and block SQL injection patterns targeting the identified vulnerable argument.

Exploitation status

Public Exploit Available: Yes, a published proof-of-concept exists and is attributed to the technical write-up provided in the vulnerability reference.

Analyst recommendation

The presence of a public proof-of-concept and the ease of exploitation via an unauthenticated remote vector necessitate immediate defensive action. Administrators must isolate the vulnerable component from the public internet and prioritize the implementation of WAF rules to mitigate potential SQL injection attempts while awaiting a formal vendor patch.

More code-projects CVEs

Sources

Originally found and disclosed by zhuchengqing (VulDB User), per the CVE Program record.