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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Unauthenticated network vector with no complexity barrier; low C/I/A reflects partial SQL access without full database or system compromise.
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. This affects an unknown function of the file /preview.php. Performing a manipulation of the argument course_year_section results in sql injection. The attack can be initiated remotely. The exploit has been made public and could be used.
AnalysisAI
SQL injection in SourceCodester Class and Exam Timetabling System 1.0 exposes the /preview.php endpoint to remote unauthenticated exploitation via the unsanitized course_year_section parameter, allowing arbitrary SQL query execution against the backend database. A public proof-of-concept exploit has been published on GitHub, materially lowering the barrier to exploitation. Impact is rated low-to-partial across confidentiality, integrity, and availability, bounded by the database account's privileges, and no vendor patch has been identified at time of analysis.
Technical ContextAI
The affected application is a PHP-based academic scheduling tool distributed by SourceCodester (CPE: cpe:2.3:a:sourcecodester:class_and_exam_timetabling_system:*:*:*:*:*:*:*:*), a repository of educational and demo-grade web applications. CWE-89 (Improper Neutralization of Special Elements in SQL Commands) identifies the root cause as the direct concatenation of the course_year_section HTTP parameter into a SQL query within /preview.php, with no prepared statements, parameterized queries, or input sanitization applied. The CVSS 4.0 vector confirms no attack complexity barrier (AC:L, AT:N), meaning no race condition, special timing, or target-side configuration is required to trigger the injection. The application is PHP-driven against a likely MySQL backend, which is consistent with the SourceCodester stack pattern.
RemediationAI
No vendor-released patch has been identified at time of analysis. The primary fix requires refactoring /preview.php to replace direct SQL string concatenation with parameterized queries or prepared statements for the course_year_section parameter - this eliminates the injection vector at the code level. As an interim control, deploy a web application firewall rule to detect and block SQL injection payloads targeting this endpoint; note that WAF bypass techniques exist and this is not a substitute for code-level remediation. If the application cannot be patched immediately, restricting access to /preview.php via IP allowlisting or requiring prior authentication reduces the unauthenticated attack surface. Given that SourceCodester applications are demo-grade software not designed for production hardening, organizations running this in live environments should evaluate migration to a maintained alternative. See VulDB at https://vuldb.com/vuln/374482 for additional context.
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
Same weakness CWE-89 – SQL Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-39985
GHSA-q3vp-2mqc-929r