Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocate exposed CASAP instance
-
DeliverySend crafted request to update_class.php
-
ExploitInject SQL via class_name parameter
-
ExecutionManipulate backend database query
-
ImpactExfiltrate or alter enrollment data
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 specific prerequisite is that the attacker must be able to reach the update_class.php endpoint over the network and supply the class_name parameter, which is not sanitized. Per CVSS AV:N/AC:L/PR:N/UI:N, no special conditions - remote unauthenticated exploitation against default configurations of CASAP Automated Enrollment System 1.0, with no user interaction required. The principal limiting factor is exposure and prevalence: the product must actually be deployed and network-reachable, and its niche footprint (obscure Sourcecodester educational app) sharply limits the realistic target population rather than any authentication or configuration barrier. |
| Impact | The signals are mixed and warrant a nuanced priority. CVSS 3.1 is 9.8 (AV:N/AC:L/PR:N/UI:N with H/H/H impact), reflecting an easy, unauthenticated, network-based path to full database compromise - technically severe. However, EPSS is only 0.14% (4th percentile) and the product is a niche Sourcecodester educational application with negligible enterprise deployment, so real-world mass-exploitation risk is low despite the high base score. This is not a CISA KEV entry, so there is no confirmation of active exploitation; the risk is best characterized as high-severity-but-low-real-world-exposure, driven by product obscurity rather than any mitigating technical factor. A public write-up (TaintRadar) exists, lowering the skill barrier for opportunistic attackers who happen to run this specific software. |
| Exploit ScenarioDerived | An attacker locates an internet-exposed CASAP instance and sends a crafted HTTP request to update_class.php with a malicious SQL payload in the class_name parameter (e.g., a UNION SELECT to dump credentials, or a subquery to enumerate tables). Because no authentication is required and a public write-up documents the flaw, the attacker extracts the full user/enrollment database or manipulates records. The low complexity (AC:L) means a single well-formed request or an automated sqlmap run suffices. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 30, 2026
SQL injection in Sourcecodester CASAP Automated Enrollment System 1.0 lets remote attackers manipulate backend database queries through the unsanitized class_name parameter of update_class.php. Because the flaw is unauthenticated and network-reachable (CVSS 9.8), an attacker can read, alter, or destroy enrollment records and potentially achieve full database compromise. There is publicly available exploit code exists via a public disclosure write-up, though EPSS remains low at 0.14% (4th percentile), indicating limited observed exploitation activity.
RemediationAI
No vendor-released patch identified at time of analysis, as Sourcecodester hobby projects are rarely formally maintained. The primary fix is to rewrite update_class.php to use parameterized queries / prepared statements (PDO or mysqli with bound parameters) for the class_name parameter and all other user inputs, rather than string concatenation. As immediate compensating controls, restrict access to the enrollment application behind authentication and network ACLs, deploy a WAF rule to block SQL metacharacters in the class_name parameter (trade-off: may false-positive on legitimate class names containing quotes), and apply least-privilege database accounts so the web user cannot DROP/ALTER tables (trade-off: does not stop data exfiltration). Given the product's unmaintained nature, migrating off CASAP to a supported enrollment platform is the most durable option. Refer to the technical write-up at https://github.com/um-dsp/TaintRadar and the VulDB entry https://vuldb.com/vuln/384300 for details.
Affected VersionsENISA
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 application is a PHP-based student enrollment web system distributed by Sourcecodester, a repository of small, open-source hobby/educational PHP+MySQL projects. The vulnerability is a classic CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) issue: the update_class.php endpoint concatenates the user-supplied class_name value directly into a SQL statement without parameterization or escaping. Because CASAP uses a MySQL/MariaDB backend accessed through raw PHP queries, an injected payload alters the query's logic, allowing UNION-based extraction, boolean/time-based blind inference, or destructive UPDATE/DELETE operations. The CPE data is uninformative (cpe:2.3:a:n/a:n/a:*) so exact affected component identification relies on the description naming version 1.0.
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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Unauthenticated network-reachable endpoint (AV:N/PR:N/UI:N) with trivial injection (AC:L); SQLi yields full read, modify, and destructive database impact (C:H/I:H/A:H).
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.org
Sourcecodester CASAP Automated Enrollment System 1.0 is vulnerable to SQL Injection in update_class.php via the parameter class_name.
Executive ViewAI
CASAP Automated Enrollment System 1.0 contains a critical SQL injection vulnerability (CVE-2025-67403) in the unauthenticated class enrollment module that allows remote attackers to read, modify, or delete student enrollment records without authentication. Organizations using this system face immediate risk of enrollment data theft, manipulation, or destruction affecting all enrolled students and institutional operations.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Deploy WAF rules to block SQL injection patterns in the class_name parameter; (2) Restrict network access to update_class.php via IP allowlisting or VPN requirement; (3) Enable comprehensive database transaction logging and real-time anomaly alerting on query patterns; (4) Implement strict input validation and use prepared statements at application layer if source access available; (5) Maintain offline backup of enrollment data separate from production database.
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-2025-210537
GHSA-4xg3-6338-9rxr
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB