Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach /save_user.php over network
-
DeliveryInject SQL payload via 'status' parameter
-
ExploitAlter backend query logic
-
ExecutionExtract or modify database records
-
ImpactCompromise enrollment/user 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 | Exploitation requires reaching the /save_user.php endpoint over the network and supplying a malicious value in the 'status' request parameter, which is passed unsanitized into a SQL query. The CVSS vector scores this as PR:N/UI:N (no authentication or user interaction required against the scored configuration), but note that save_user.php is an administrative user-management function - if a given deployment gates that page behind an admin login, that login is the practical limiting factor and would raise the true privilege requirement. Exploitation is otherwise limited only to environments actually running CASAP Automated Enrollment System 1.0, which is a rare, small-footprint PHP application. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, C:L/I:L/A:L) describes a network-reachable, low-complexity, unauthenticated attack with partial impact across confidentiality, integrity, and availability, yielding 7.3 (High). However, the real-world signals temper this: EPSS is only 0.14% (4th percentile), there is no CISA KEV listing, and the affected software is an obscure, largely unmaintained demo application with negligible enterprise deployment. A conflict worth flagging is the PR:N assumption - /save_user.php is functionally an administrative user-management endpoint, so if the deployment enforces any login before that page, real-world privilege requirements would be higher than the scored PR:N; this could not be confirmed from the available data and should be verified against the source code. On balance this is a genuine, easily exploitable injection but a low-priority real-world risk given the product's rarity and absence of active exploitation. |
| Exploit ScenarioDerived | A remote attacker sends a crafted HTTP request to /save_user.php with a malicious SQL payload in the 'status' parameter, breaking out of the intended query to extract user credentials or modify records. Because attack complexity is low and no user interaction is required, the request can be issued directly with a browser or curl; a technical writeup documenting the injection point already exists publicly. |
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 'status' parameter of /save_user.php, enabling data theft, tampering, or authentication bypass. The flaw carries a CVSS 7.3 and a documented technical writeup exists in the TaintRadar research repository, though it is not listed in CISA KEV and its EPSS exploitation probability is very low (0.14%, 4th percentile). No vendor patch has been identified for this end-of-life hobbyist PHP application.
RemediationAI
No vendor-released patch identified at time of analysis, as CASAP Automated Enrollment System is an unmaintained Sourcecodester demo project. The definitive fix is to rewrite /save_user.php to use parameterized queries/prepared statements (mysqli or PDO with bound parameters) for the 'status' value and all other user-supplied inputs; if you cannot modify source, apply strict server-side allowlist validation on 'status' (it should accept only a fixed enumerated set such as active/inactive numeric codes). As compensating controls, place the application behind a WAF with SQL-injection rules covering the status parameter (trade-off: rule bypasses are common and this is not a substitute for input handling), restrict access to /save_user.php to authenticated administrators via server-level auth or IP allowlisting (trade-off: only helps if the endpoint is not meant to be public), and run the database account with least privilege so injection cannot reach other schemas. Given the software's status, migrating off this application is the most durable option. Consult the technical writeup (TaintRadar GitHub link above) and the NVD entry 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 affected component is CASAP Automated Enrollment System 1.0, a small PHP/MySQL web application distributed by Sourcecodester and typically used for demonstration or small-scale school enrollment projects. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command): the 'status' parameter received by /save_user.php is concatenated directly into a SQL statement without parameterization or input validation, allowing attacker-controlled input to alter query logic. Because these Sourcecodester applications generally use raw mysqli/mysql_query string building rather than prepared statements, the injection point in the user-save routine can be used to read from or write to arbitrary tables reachable by the application's database user. CPE data is uninformative here (cpe:2.3:a:n/a:n/a:*), so the affected product is confirmed only from the MITRE description text.
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:L/I:L/A:L
Network-reachable SQLi with low complexity and no confirmed auth (PR:N, though the admin endpoint may require login), giving partial C/I/A impact on the app database.
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 /save_user.php via the parameter status.
Executive ViewAI
A SQL injection vulnerability in Sourcecodester CASAP Automated Enrollment System 1.0 allows remote attackers to manipulate database queries through unsanitized input parameters, enabling unauthorized data access, modification, and authentication bypass. Organizations operating this end-of-life application face enrollment data compromise and system integrity risks. Remediation or decommissioning is required, as no vendor patch is available.
No vendor-released patch identified at time of analysis. Interim mitigations include: refactor the status parameter to use prepared statements with parameterized queries; implement strict input validation rejecting non-alphanumeric characters; deploy WAF signatures to block common SQL injection patterns on /save_user.php; minimize database user privileges to only those required for enrollment operations; enable SQL query audit logging; restrict network-layer access to the application; evaluate immediate discontinuation given end-of-life status.
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-210532
GHSA-fjfr-wjrh-qmv2
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB