Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed CASAP instance
-
DeliverySend crafted new_password to update_password.php
-
ExploitBreak out of SQL string context
-
ExecutionInject arbitrary SQL clause
-
PersistRead or modify credential records
-
ImpactHijack account or exfiltrate 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 attacker must be able to reach the update_password.php script over the network and submit a value for the new_password parameter, which is passed unsanitized into a SQL query. The provided CVSS vector states PR:N/UI:N (no authentication, no user interaction), implying default-configuration remote exploitation; however, because this endpoint is a password-update function it may in practice require an active user session, so the unauthenticated claim should be verified against the deployed code. What limits exploitation: the product is a niche Sourcecodester application with a small real-world footprint, exposure depends on the instance being internet-reachable, and any authentication, CSRF, or session check present in a given deployment would raise the practical bar above the rated PR:N. |
| Impact | The signals are mixed and point to a real-but-moderate risk. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, C:L/I:L/A:L = 7.3 High) implies unauthenticated remote exploitation with only partial impact, and SSVC reinforces exploitability with Exploitation=poc, Automatable=yes, and Technical Impact=partial. However, EPSS is very low at 0.14% (4th percentile) and the vulnerability is NOT on CISA KEV, indicating no observed widespread exploitation. There is tension worth flagging: an endpoint named update_password.php commonly sits behind an authenticated session, yet the supplied vector asserts PR:N - verify this auth assumption against the actual code, because if authentication is in fact required the PR:N rating (and thus the 7.3 score) is overstated. Likewise, SQL injection frequently yields full database read/write, so the C:L/I:L/A:L 'partial' rating may understate technical impact; conversely the low prevalence of the product caps aggregate risk. Net: a credible, POC-backed injection flaw that is a priority for anyone actually running this application, but not an internet-wide emergency. |
| Exploit ScenarioDerived | An attacker reaches the update_password.php endpoint and submits a crafted new_password value containing SQL metacharacters; because the input is concatenated into the query, the injected clause alters the executed statement, letting the attacker read or modify account records or reset credentials to hijack accounts. Publicly available exploit code exists (TaintRadar-generated PoC referenced by VulDB), and per SSVC the attack is automatable, so mass scanning tools could weaponize it against exposed instances. Given AV:N/AC:L, exploitation requires only network reachability to the vulnerable page and no complex preconditions per the provided vector. |
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 attackers manipulate the backend database through the new_password parameter of update_password.php, enabling data theft, credential tampering, and unauthorized account takeover. The flaw is a classic CWE-89 injection in a small PHP web application, with publicly available exploit code (TaintRadar/VulDB) but no public exploit confirmed as actively used. EPSS is low (0.14%, 4th percentile), consistent with a niche product that is documented but not mass-targeted.
RemediationAI
No vendor-released patch identified at time of analysis, as Sourcecodester code samples are rarely formally versioned or maintained. The primary fix is to rewrite the update_password.php query to use parameterized/prepared statements (PDO or mysqli bound parameters) instead of concatenating new_password into SQL, plus server-side input validation. As compensating controls until code is fixed: place the application behind a WAF with SQL-injection signatures targeting the new_password parameter (trade-off: signatures can be evaded and may reject legitimate special characters in passwords); restrict network access to the enrollment application to trusted internal networks or VPN (trade-off: hurts remote self-service usability); enforce least-privilege on the MySQL account so it cannot read/write beyond required tables (trade-off: limited protection if injected queries stay within those tables); and disable or remove update_password.php if the function is not needed. Consult the VulDB advisory (https://vuldb.com/vuln/384302) and TaintRadar writeup to validate any mitigation.
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
CASAP Automated Enrollment System is a lightweight open-source PHP/MySQL web application distributed by Sourcecodester for managing student enrollment. The vulnerability is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command): the update_password.php endpoint concatenates the user-supplied new_password value directly into a SQL statement (typically an UPDATE against the user/account table) without parameterization or input sanitization. Because the value is interpolated into a query, an attacker can break out of the intended string context and inject arbitrary SQL clauses. The CPE data provided is a placeholder (cpe:2.3:a:n/a:n/a:*), so the affected component is identified only from the description rather than a normalized NVD product entry.
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 no confirmed auth (PR:N per input) typically yields full DB read/write, so C:H/I:H; no availability impact evidenced, so A:N.
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_password.php via the parameter new_password.
Executive ViewAI
SQL injection vulnerability in Sourcecodester CASAP Automated Enrollment System 1.0 exposes organizations to potential data breaches and account compromise through the password update function. Affected systems face risk of unauthorized access to sensitive enrollment data, credential manipulation, and account takeover-critical threats to institutional operations and data governance. Publicly available exploit code exists for this vulnerability; although current exploitation probability remains low (0.1% EPSS), the lack of vendor-released patches presents significant ongoing risk to organizations dependent on this platform.
No vendor-released patch identified at time of analysis. Deploy Web Application Firewall rules to block SQL injection attack patterns; enforce input validation and parameterized queries on all password update endpoints; restrict database account permissions to least-privilege access; enable comprehensive audit logging of password and account modifications; consider temporary operational limitation or isolation of the enrollment system pending patch or remediation.
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-210535
GHSA-4p7v-v4v3-f9cp
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB