Impact
The vulnerability resides in the modal_add_course.php script of SourceCodester's Class and Exam Timetabling System, where the course argument is passed directly to mysqli_query without proper sanitization. This flaw permits an attacker to inject arbitrary SQL statements, potentially retrieving sensitive data, modifying records, or deleting data. The flaw is categorized as a classic SQL injection (CWE-74 and CWE-89) and is exploitable in a remote context as the vulnerable script is accessible via the web interface.
Affected Systems
SourceCodester’s Class and Exam Timetabling System version 1.0 is affected. Users running that specific version on any PHP-enabled web server that hosts the application are vulnerable.
Risk and Exploitability
The CVSS score of 6.9 indicates moderate severity. Exploit code is publicly available and can be launched remotely, but the EPSS score is not provided, so the current exploitation probability cannot be quantified. The vulnerability is not listed in CISA KEV, yet the public nature of the exploit makes it a real threat.
OpenCVE Enrichment