CVE-2024-25310
Description
Code-projects Simple School Managment System 1.0 allows SQL Injection via the 'id' parameter at "School/delete.php?id=5."
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
SQL injection in Simple School Management System 1.0 allows attackers to extract or modify database contents via the 'id' parameter in delete.php.
Vulnerability
Simple School Management System version 1.0, developed by Code Projects, contains a SQL injection vulnerability in the delete.php script. The id parameter is directly concatenated into SQL queries without proper sanitization or parameterization, allowing an attacker to inject arbitrary SQL commands. The vulnerable endpoint is accessible at School/delete.php?id=5 after authentication. The application is written in PHP and uses a MySQL database. [1]
Exploitation
An attacker must first authenticate to the application. After logging in, they navigate to the class management section and click the delete-class button. The resulting HTTP GET request to School/delete.php?id=5 can be captured using a proxy like Burp Suite. The attacker then uses a tool such as sqlmap with the -p id parameter and appropriate options (e.g., --risk 3 --level 5 --dbms mysql) to exploit the blind SQL injection. The proof of concept demonstrates boolean-based blind injection. [1]
Impact
Successful exploitation allows an attacker to extract sensitive data from the database, including user credentials, personal information, and other application data. The attacker can also modify or delete records, potentially leading to data integrity loss or denial of service. The impact is limited to the database layer; however, depending on database privileges, further compromise of the underlying system may be possible. [1]
Mitigation
As of the publication date (2024-02-09), no official patch or updated version has been released by the vendor. The application appears to be unmaintained. Mitigation requires manual code review and implementation of prepared statements or parameterized queries for all database interactions. Input validation and escaping of the id parameter should be enforced. Until a fix is applied, administrators should restrict access to the application and monitor for suspicious activity. [1]
AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2- Code-projects/Simple School Managment Systemdescription
- Range: =1.0
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
1News mentions
0No linked articles in our index yet.