Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend HTTP request to /preview5.php
-
DeliveryInject SQL payload into course_year_section parameter
-
ExploitBypass absent input sanitization
-
ExecutionExecute attacker-controlled SQL against database
-
ImpactExtract or modify database contents
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 application must be deployed and the /preview5.php file must be web-accessible to remote clients. Based on the CVSS 4.0 vector (PR:N/UI:N/AC:L/AT:N), exploitation requires no authentication, no user interaction, and no special configuration - any deployment with this file reachable over the network is immediately vulnerable. Limiting factors include the extremely niche deployment footprint of this product (primarily used in academic lab or demo environments), and any firewall or network controls restricting access to the web application. There is no indication the endpoint requires session authentication by default. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) assigns low complexity and no authentication requirement, indicating trivial remote exploitability. Impact metrics are rated Low across confidentiality, integrity, and availability (VC:L/VI:L/VA:L), reflecting a constrained blast radius - likely limited to the application database rather than full system compromise. The E:P supplemental metric confirms a public proof-of-concept exists, elevating practical risk above the base score. No EPSS data was provided and this CVE is not listed in the CISA KEV catalog, suggesting no confirmed mass exploitation at time of analysis. The realistic risk is moderate: the product has an extremely limited deployment footprint (a SourceCodester educational/hobby project), meaning widespread impact is unlikely. However, any exposed instance is trivially exploitable by an unskilled attacker using the published PoC. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a crafted HTTP request to the publicly accessible /preview5.php endpoint, injecting SQL syntax into the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 29, 2026
SQL injection in SourceCodester Class and Exam Timetabling System 1.0 allows unauthenticated remote attackers to manipulate database queries via the course_year_section parameter in /preview5.php. The input is passed directly into SQL queries without sanitization (CWE-89), enabling data extraction, modification, or availability disruption. A public proof-of-concept exploit is available on GitHub, and no patch has been identified at time of analysis.
RemediationAI
No vendor-released patch has been identified at time of analysis. Since SourceCodester publishes educational PHP scripts with no formal patch lifecycle, a code-level fix is the only reliable remediation: parameterize all SQL queries in /preview5.php using prepared statements (PDO or MySQLi with bound parameters), and apply input validation to the course_year_section parameter to reject unexpected characters. As an immediate compensating control, administrators should restrict access to /preview5.php at the web server level (e.g., via .htaccess or nginx location block) to authenticated sessions only, or take the endpoint offline if not actively required. A Web Application Firewall (WAF) rule blocking common SQL injection patterns in the course_year_section parameter can reduce exposure but is bypassable and should not be treated as a permanent fix. The public PoC is tracked at https://github.com/xiaoxuxu233/myCVE/issues/2 and the VulDB advisory at https://vuldb.com/vuln/374529.
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 distributed by SourceCodester (CPE: cpe:2.3:a:sourcecodester:class_and_exam_timetabling_system:*:*:*:*:*:*:*:*). The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), a classic failure to parameterize or sanitize user-supplied input before it is interpolated into a SQL query. The specific entry point is the course_year_section GET or POST parameter passed to the /preview5.php endpoint, where it is incorporated into a database query without validation. This class of vulnerability typically permits UNION-based, error-based, or blind time-based SQL injection depending on the database backend (likely MySQL given the PHP/SourceCodester stack).
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 endpoint, no auth required (PR:N), trivial exploitation; impact limited to application database yielding low C/I/A.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
1DescriptionCVE.org
A vulnerability was identified in SourceCodester Class and Exam Timetabling System 1.0/5.php. Affected by this vulnerability is an unknown functionality of the file /preview5.php. Such manipulation of the argument course_year_section leads to sql injection. The attack may be performed from remote. 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.
Related Vulnerabilities in Class and Exam Timetabling System SQL Injection
View all 2A 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-40018
GHSA-v4wv-mxfx-4g64
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB