Class and Exam Timetabling System
CVE-2026-16152
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDiscover internet-exposed /edit_rooma.php endpoint
-
DeliveryCraft SQL injection payload in ID parameter
-
ExploitSubmit malicious HTTP request
-
ExecutionBackend query executes injected SQL
-
ImpactExtract or manipulate database records
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions are required per the CVSS 4.0 vector (PR:N, UI:N, AC:L, AT:N). Any attacker with HTTP network access to the /edit_rooma.php endpoint can trigger the SQL injection by supplying a crafted ID parameter value in the request. No authentication, session token, or privileged role is required. Exploitation is bounded by network accessibility: instances deployed solely on localhost or behind a firewall with no external exposure cannot be remotely exploited. The vulnerability is limited to the /edit_rooma.php file and the ID parameter specifically - other endpoints may not share the same flaw without separate investigation. |
| Impact | The CVSS 4.0 base score of 6.9 with vector AV:N/AC:L/AT:N/PR:N/UI:N reflects a genuinely low-friction network attack: no authentication, no complexity, no user interaction. The E:P exploit maturity modifier confirms that a public exploit has been released (GitHub PoC linked in references), meaningfully compressing the attacker skill requirement. Impact is rated partial across confidentiality, integrity, and availability (VC:L/VI:L/VA:L), with no subsequent-system impact (SC:N/SI:N/SA:N), consistent with SQL injection in a self-contained academic scheduling application. The absence of a CISA KEV listing indicates no confirmed widespread exploitation at time of analysis. Real-world risk is moderated significantly by the product's narrow deployment footprint - SourceCodester scripts are predominantly used by students and small academic institutions, often in non-production or intranet-only deployments. Despite the attractive combination of public exploit and unauthenticated network access, the practical blast radius is limited. No conflicting signals between CVSS and description were identified. |
| Exploit ScenarioDerived | An attacker identifies a publicly accessible instance of the timetabling system and sends an HTTP request to /edit_rooma.php with a crafted SQL injection payload in the ID parameter - for example, appending OR 1=1-- or a UNION-based data extraction query. The backend PHP script passes this value directly into a SQL query, allowing the attacker to enumerate database tables, extract user credentials or academic records, or modify scheduling data. The public GitHub PoC lowers the required skill level to near-zero, making automated scanning and exploitation by low-sophistication actors a realistic threat. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 18, 2026
SQL injection in SourceCodester Class and Exam Timetabling System 1.0 exposes the /edit_rooma.php endpoint to remote unauthenticated database manipulation via the unsanitized ID parameter. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms exploitation requires no authentication, no user interaction, and no special preconditions. A public exploit exists on GitHub, and publicly available exploit code exists - though this has not yet been confirmed in CISA KEV as actively mass-exploited.
RemediationAI
No vendor-released patch has been identified at time of analysis. The primary remediation is to refactor /edit_rooma.php to use PHP PDO or MySQLi prepared statements with bound parameters for the ID value, eliminating the injection vector entirely. As a compensating control, deploy a web application firewall (WAF) with SQL injection rule sets (e.g., OWASP ModSecurity Core Rule Set) in front of the application to detect and block malicious payloads - note this adds operational overhead and may produce false positives requiring tuning. Restricting access to the application to internal/trusted networks via firewall or .htaccess IP allowlisting reduces the network-accessible attack surface without modifying application code. Given that SourceCodester applications are typically educational or demo-grade and not designed for production exposure, seriously evaluate whether this system requires public internet accessibility at all. The VulDB entry is available at https://vuldb.com/vuln/379918 and the public PoC at https://github.com/justconter/cve/issues/6.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is a PHP-based web application - SourceCodester Class and Exam Timetabling System 1.0 (CPE: cpe:2.3:a:sourcecodester:class_and_exam_timetabling_system:*:*:*:*:*:*:*:*) - distributed via the SourceCodester platform as a free academic scheduling tool. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), wherein the /edit_rooma.php script passes the HTTP-supplied ID parameter directly into a backend SQL query without parameterization or sanitization. This is a textbook unsanitized input injection pattern, trivially exploitable in PHP applications that do not use prepared statements or PDO with bound parameters. The wildcard version in the CPE string suggests all versions of the product may share the same vulnerable code path.
Know when Class And Exam Timetabling System gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Network-accessible unauthenticated SQL injection with no user interaction; partial CIA impact and no scope change align with the 4.0 VC:L/VI:L/VA:L/SC:N profile.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was found in SourceCodester Class and Exam Timetabling System 1.0. Affected is an unknown function of the file /edit_rooma.php. Performing a manipulation of the argument ID results in sql injection. The attack is possible to be carried out remotely. The exploit has been made public and could be used.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Affected Products (CPE)CVE.org
A vulnerability classified as critical was found in SourceCodester Class and Exam Timetabling System 1.0. Rated high sev
SQL injection in SourceCodester Class and Exam Timetabling System 1.0 exposes the `/edit_course.php` endpoint to unauthe
SQL injection in SourceCodester Class and Exam Timetabling System 1.0 exposes the `/delete_user_account.php` endpoint to
Unauthenticated SQL injection in SourceCodester Class and Exam Timetabling System 1.0 allows remote attackers to manipul
SQL injection in SourceCodester Class and Exam Timetabling System 1.0 allows remote unauthenticated attackers to manipul
SQL injection in SourceCodester Class and Exam Timetabling System 1.0 exposes the /edit_schoolyr.php endpoint to unauthe
SQL injection in SourceCodester Class and Exam Timetabling System 1.0 exposes the `/edit_subject.php` endpoint to unauth
SQL injection in SourceCodester Class and Exam Timetabling System 1.0 exposes the database to remote unauthenticated att
SQL injection in SourceCodester Class and Exam Timetabling System 1.0 allows unauthenticated remote attackers to manipul
SQL injection in SourceCodester Class and Exam Timetabling System 1.0 exposes the `/preview.php` endpoint to remote unau
SQL injection in SourceCodester Class and Exam Timetabling System 1.0 exposes the /delete_teacher.php endpoint to unauth
SQL injection in SourceCodester Class and Exam Timetabling System 1.0 exposes the `/edit_exam2.php` endpoint to remote u
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB