Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach /admin/modal_add_room.php endpoint
-
ExploitSubmit crafted room_name SQL payload
-
Executionmysqli_query executes unsanitized input
-
ImpactExtract or modify 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 | The vulnerable parameter (room_name) must be reachable via HTTP POST or GET to /admin/modal_add_room.php. The critical limiting factor is whether the admin panel requires an authenticated session: the /admin/ path prefix strongly implies login is required, which would restrict exploitation to authenticated admin-level users. However, the provided CVSS 4.0 vector specifies PR:N (no privileges required), suggesting the reporter found the endpoint accessible without authentication - either because the application lacks proper session checks on this modal, or because the admin credentials are default/trivially guessable. Defenders should verify whether unauthenticated access to /admin/modal_add_room.php is actually possible in their deployment. No special server-side configuration or non-default feature is required beyond the application being installed and network-reachable. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) rates this as remotely exploitable with no privileges required, yielding a score of 6.9 (Medium) with limited CIA impact (VC:L/VI:L/VA:L). The PR:N designation is worth scrutinizing: the vulnerable endpoint sits under /admin/, which typically implies an authenticated session - this is a potential CVSS inaccuracy that defenders should verify. The public exploit (E:P) on GitHub meaningfully lowers the barrier to exploitation, even for less-skilled attackers. No EPSS data was provided; no CISA KEV listing exists. Given the niche deployment footprint (primarily student/demo projects), real-world risk is limited despite the public PoC and low attack complexity. Organizations running SourceCodester applications in any production capacity should treat this as higher priority due to the PoC availability. |
| Exploit ScenarioDerived | An attacker identifies a publicly reachable instance of the SourceCodester Timetabling System (or gains access to the admin panel) and submits a crafted room_name value such as a UNION-based or boolean-based SQL payload to /admin/modal_add_room.php. The mysqli_query() function executes the manipulated statement, allowing the attacker to enumerate database tables, extract credentials, or modify records. The public PoC on GitHub (https://github.com/justconter/_CVE/issues/6) documents the exact parameter and injection technique, making exploitation trivial for any attacker who can reach the endpoint. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 06, 2026
SQL injection in SourceCodester Class and Exam Timetabling System 1.0 allows remote attackers to manipulate database queries via the room_name parameter passed to the mysqli_query() call in /admin/modal_add_room.php. Exploitation yields limited data disclosure and modification (VC:L/VI:L per CVSS 4.0), consistent with a classic unsanitized input flaw in a PHP/MySQL stack. A public proof-of-concept is available on GitHub, no vendor patch has been identified, and no active exploitation (CISA KEV) has been confirmed.
RemediationAI
No vendor-released patch has been identified at time of analysis. The primary remediation is to replace the raw mysqli_query() string concatenation in /admin/modal_add_room.php with a parameterized prepared statement (mysqli_prepare() with bound parameters), which eliminates the injection surface entirely. As an immediate compensating control, restrict network access to the /admin/ directory to trusted IP ranges only via web server ACL or firewall rules - this substantially reduces exposure if the admin panel is not intended to be publicly accessible. Input validation (allowlisting alphanumeric and space characters for room_name) provides defense-in-depth but is not a substitute for parameterized queries. Given that SourceCodester scripts are often deployed as-is with default configurations, consider removing or replacing this application if it is not actively maintained.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected product is a PHP-based academic scheduling application from SourceCodester (CPE: cpe:2.3:a:sourcecodester:class_and_exam_timetabling_system:*:*:*:*:*:*:*:*), version 1.0. The root cause is CWE-89 (SQL Injection): the room_name POST/GET parameter is concatenated directly into a mysqli_query() call in /admin/modal_add_room.php without parameterized queries or input sanitization. This allows an attacker to alter the intended SQL statement structure. SourceCodester distributes free PHP scripts primarily for educational and student-project use, and these codebases characteristically lack secure coding practices such as prepared statements.
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
Admin path implies authenticated session (PR:L); SQLi yields limited data read/write with no availability impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was identified in SourceCodester Class and Exam Timetabling System 1.0. Affected by this vulnerability is the function mysqli_query of the file /admin/modal_add_room.php. The manipulation of the argument room_name leads to sql injection. The attack is possible to be carried out remotely. The exploit is publicly available and might 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.
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
EUVD-2026-72174
GHSA-m6gm-qcrr-7gf8
NVD
CVE.org
EPSS
VulDB
Exploit-DB