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
4DescriptionCVE.org
Sourcecodester CASAP Automated Enrollment System 1.0 is vulnerable to SQL Injection in update_password.php via the parameter new_password.
AnalysisAI
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.
Technical ContextAI
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.
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.
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-2025-210535
GHSA-4p7v-v4v3-f9cp