Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-102913 Overview
CVE-2026-102913 is a SQL injection vulnerability in SourceCodester Car Driving School Management System 1.0. The flaw resides in an unknown function inside /classes/Master.php reached through the f=save_enrollment action. Attackers can manipulate request parameters to inject arbitrary SQL statements into the underlying database query. The issue is remotely exploitable and requires no authentication or user interaction. Public disclosure of the exploit increases the likelihood of opportunistic scanning and abuse against internet-exposed installations. The weakness is classified as improper neutralization of special elements in output used by a downstream component [CWE-74].
Critical Impact
Unauthenticated remote attackers can inject SQL through the save_enrollment endpoint, exposing enrollment, student, and administrative records stored in the application database.
Affected Products
- SourceCodester Car Driving School Management System 1.0
- Deployments exposing /classes/Master.php?f=save_enrollment
- PHP/MySQL stacks hosting the vulnerable release
Discovery Timeline
- 2026-09-30 - CVE-2026-102913 published to NVD
- 2026-09-30 - Last updated in NVD database
Technical Details for CVE-2026-102913
Vulnerability Analysis
The vulnerability exists in the enrollment save handler dispatched by /classes/Master.php when invoked with the f=save_enrollment function selector. Request parameters are concatenated into a SQL statement without parameterization or input filtering. An attacker submits crafted POST data that breaks out of the intended value context and appends attacker-controlled SQL. Because the endpoint is reachable without authentication, exploitation requires only network access to the application. Public references, including a GitHub issue and a VulDB entry, describe the flaw and note that exploit details have been released.
Root Cause
The root cause is unsafe SQL query construction inside the save_enrollment handler. User-supplied form fields are interpolated directly into query strings rather than bound through prepared statements. This pattern maps to CWE-74 (Improper Neutralization) and its SQL-specific child, CWE-89.
Attack Vector
Exploitation occurs over the network by issuing a POST request to /classes/Master.php?f=save_enrollment with malicious payloads inside enrollment fields. Successful injection allows an attacker to read arbitrary tables, modify records, or enumerate the database schema. Refer to the referenced advisories for technical details; no verified exploit code is reproduced here.
Detection Methods for CVE-2026-102913
Indicators of Compromise
- POST requests to /classes/Master.php?f=save_enrollment containing SQL metacharacters such as ', ", --, UNION, or SLEEP(.
- Web server logs showing repeated requests to the enrollment endpoint from a single source with varying payload lengths.
- Database error messages or HTTP 500 responses generated by malformed SQL fragments in enrollment fields.
Detection Strategies
- Deploy web application firewall rules that flag SQL injection patterns targeting the save_enrollment function selector.
- Correlate application logs with database query logs to surface anomalous queries originating from the enrollment workflow.
- Add signature-based detection for known payloads referenced in the VulDB advisory.
Monitoring Recommendations
- Alert on any request to /classes/Master.php from external IP ranges that would not normally reach the admin surface.
- Track outbound database queries containing UNION SELECT, INFORMATION_SCHEMA, or time-delay functions.
- Monitor for unexpected reads or modifications against student, enrollment, and user tables.
How to Mitigate CVE-2026-102913
Immediate Actions Required
- Restrict access to the Car Driving School Management System to trusted networks or VPN users until a patch is available.
- Place the application behind a WAF with SQL injection rules tuned for the save_enrollment endpoint.
- Audit database accounts used by the PHP application and reduce privileges to the minimum required.
Patch Information
No vendor patch is referenced in the enriched CVE data. Operators should monitor the SourceCodester site and the GitHub issue tracker for updates and apply any released fixes promptly.
Workarounds
- Rewrite the save_enrollment handler in /classes/Master.php to use parameterized queries via PDO or mysqli prepared statements.
- Apply server-side input validation and type casting on all enrollment form fields before they reach the query builder.
- Disable or remove the vulnerable endpoint if enrollment functionality is not required in the current deployment.
# Configuration example: block direct external access to the vulnerable endpoint at the reverse proxy
location ~* /classes/Master\.php {
allow 10.0.0.0/8;
deny all;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

