Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDiscover exposed /edit_room.php via scanning
-
DeliveryInject SQL payload into ID parameter
-
ExploitTrigger unsanitized database query
-
ExecutionExtract database contents (credentials, records)
-
ImpactLeverage credentials for further access
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | No special conditions are required beyond network access to the web application. The CVSS 4.0 vector (PR:N/UI:N/AC:L/AT:N/AV:N) confirms that exploitation is unauthenticated, requires no user interaction, no special attack prerequisites, and works against the default configuration of the application. The specific injection point is the 'ID' GET or POST parameter in /edit_room.php - this endpoint must be reachable by the attacker. Exploitation is limited in practice by: the application's extremely narrow real-world deployment footprint (primarily used for local/demo purposes); the application being PHP/MySQL-based which requires a web server and database to be running and exposed; and the fact that the database likely contains low-sensitivity academic scheduling data rather than financial or PII-heavy records. No authentication, specific configuration, or platform version is required beyond the application being network-accessible. |
| Impact | The CVSS 4.0 base score of 5.5 reflects a Medium severity, with all three impact dimensions (VC, VI, VA) rated Low for the vulnerable system and no subsequent-system impact. However, this assigned impact rating likely understates the realistic confidentiality risk: SQL injection in a web application typically allows full database read access, which in an academic system could expose user credentials, student records, and schedule data. The E:P supplemental tag confirms publicly available proof-of-concept exploit code, increasing the likelihood of opportunistic exploitation. The product is not listed in the CISA KEV catalog, indicating no confirmed active exploitation campaigns at the time of analysis. EPSS data was not provided, so exploitation probability cannot be quantified. The primary risk limiter is the extremely narrow deployment footprint - SourceCodester scripts are used for learning and demo purposes, rarely in production. Real-world priority is low for most organizations, but any institution that has deployed this system should treat the finding as high urgency given the public PoC and zero-barrier entry conditions. |
| Exploit ScenarioDerived | An attacker discovers an internet-exposed instance of SourceCodester Timetabling System 1.0 via search engine dorking or automated scanning. They send a crafted HTTP request to /edit_room.php?id=1' OR '1'='1 (or a UNION-based payload) without any authentication. Because the ID value is interpolated directly into a SQL query, the injected logic executes against the database, returning credential hashes, user records, or schedule data. A public proof-of-concept exploit exists per the E:P CVSS 4.0 supplemental tag, meaning this requires minimal attacker skill. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 05, 2026
SQL injection in SourceCodester Class and Exam Timetabling System 1.0 exposes the application's database to unauthenticated remote attackers via the unsanitized ID parameter in /edit_room.php. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms no authentication or special conditions are required, and the E:P supplemental metric confirms public exploit code exists. An attacker can read, modify, or partially disrupt the underlying database without any prior access to the application.
RemediationAI
No vendor-released patch has been identified at the time of analysis. The referenced GitHub issue (https://github.com/orionyan520/cve_report/issues/3) and VulDB entry (https://vuldb.com/vuln/376360) document the vulnerability but provide no fix version from SourceCodester. The primary remediation is to refactor /edit_room.php to use parameterized queries or prepared statements instead of direct string interpolation of the ID parameter - this eliminates the injection surface entirely. As a compensating control, restrict network access to the application to trusted internal IP ranges, preventing external exploitation while awaiting a code fix. Additionally, implement a web application firewall (WAF) rule to block SQL metacharacter patterns in the ID parameter; note this is bypassable with obfuscation and is not a permanent fix. Deploying the application behind authentication (even HTTP Basic Auth at the web server level) would raise the bar from PR:N to PR:L, significantly reducing opportunistic risk. Operators should review all other parameters across the application for the same pattern, as this codebase likely has additional unsanitized inputs given the coding style.
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 application is a PHP-based academic scheduling tool distributed freely by SourceCodester, a platform that publishes open-source PHP/MySQL scripts primarily for educational and demonstration purposes. The root cause is CWE-74 (Injection), specifically SQL injection - the ID parameter passed to /edit_room.php is interpolated directly into a database query without parameterization or input sanitization. PHP applications interacting with MySQL/MariaDB via unsanitized GET/POST parameters are a classic vector for this class of flaw. No CPE string was provided in the intelligence data, but the product version is identified as 1.0 from the description.
Know when PHP 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
SQL injection typically yields full DB read (C:H); PR:N confirmed by CVSS 4.0 source vector; integrity and availability impacts limited without stacked queries.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.org
A vulnerability was detected in SourceCodester Class and Exam Timetabling System 1.0. Impacted is an unknown function of the file /edit_room.php. Performing a manipulation of the argument ID results in sql injection. It is possible to initiate the attack remotely. The exploit is now public and may 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.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-41780
GHSA-9chf-65gj-5q8w
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB