Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
SQLi typically yields full DB read/write (C:H/I:H), but the record-edit endpoint is normally admin-reachable so PR:L rather than PR:N; availability impact not evidenced.
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_student.php via parameters fname and student_class.
AnalysisAI
SQL injection in Sourcecodester CASAP Automated Enrollment System 1.0 allows attackers to manipulate backend database queries through the fname and student_class parameters of update_student.php, enabling extraction or tampering of student enrollment records. The flaw carries CVSS 7.3 (network-reachable, low complexity) but is a niche PHP tutorial-grade application with negligible exploitation probability (EPSS 0.14%, 4th percentile), and no public exploit identified at time of analysis. Not listed in CISA KEV.
Technical ContextAI
The affected component is a PHP web application (CASAP Automated Enrollment System) distributed via Sourcecodester, a repository of small-scale/educational PHP projects. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), meaning the fname and student_class request parameters are concatenated directly into a SQL statement in update_student.php without parameterization or sanitization, allowing an attacker to break out of the intended query context. Such apps typically use the mysqli/PDO extension against a MySQL/MariaDB backend; the CPE data is uninformative (cpe:2.3:a:n/a:n/a:*) and does not enumerate a real vendor/product, so the affected surface is identified only from the CVE description.
RemediationAI
No vendor-released patch identified at time of analysis - CASAP is an unmaintained Sourcecodester project with no security advisory or fixed release. The definitive fix is to rewrite the affected queries in update_student.php to use parameterized/prepared statements (mysqli or PDO bound parameters) and to apply server-side input validation on the fname and student_class parameters; organizations running this code should apply this at source since no upstream update is expected. As compensating controls until then: place the application behind authentication and restrict update_student.php to authenticated administrators (trade-off: none if it was already meant to be admin-only, closing an unintended exposure); deploy a WAF rule to block SQL metacharacters on the fname and student_class parameters (trade-off: may false-positive on names with apostrophes); and restrict network access to the enrollment app to trusted internal ranges (trade-off: breaks legitimate remote/off-campus use). Given the product's marginal status, decommissioning or replacing it is the most durable option.
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-210533
GHSA-786x-w3wg-jwf8