Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDiscover exposed PHP application
-
DeliverySend crafted POST to add_user_check.php
-
ExploitInject SQL via role parameter
-
ExecutionExtract admin credentials or insert rogue admin
-
PersistAuthenticate as administrator
-
ImpactPivot to full database access
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 | No special conditions - remote unauthenticated exploitation against default configurations of raisulislamg4 Student Management System reachable over HTTP/HTTPS, targeting the 'role' POST parameter of the add_user_check.php endpoint. Limiting factors are deployment-driven rather than vulnerability-driven: the endpoint must be network-reachable (intranet or internet) and the application must be running against a backing MySQL/MariaDB instance, and exploitation impact is bounded by the privileges granted to the application's database user (a least-privilege DB account would prevent destructive or cross-database operations). No authentication, no user interaction, and no non-default feature toggles are required. |
| Impact | Signals are mixed but lean toward elevated practical risk for any exposed instance. The CVSS vector AV:N/AC:L/PR:N/UI:N confirms network-reachable, low-complexity, unauthenticated exploitation with no user interaction, and CVSS-BTE adds E:P (proof-of-concept exploit) and RC:R (reasonable confidence) - consistent with the VulDB-published PoC. The vulnerability is NOT listed in CISA KEV, so exploitation status is 'publicly available exploit code exists' rather than confirmed active exploitation, and no EPSS score was provided in the input - likely reflecting the niche nature of this small open-source project rather than absence of risk. CVSS impact subscores (C:L/I:L/A:L) suggest partial rather than full database compromise, but SQL injection in a user-creation handler typically permits authentication bypass, privilege escalation to admin role, or full data exfiltration depending on database privileges - the 'Low' impact rating likely understates the realistic outcome. The principal limiting factor is deployment scope: this is a hobbyist/educational GitHub project, not enterprise software, so widescale exploitation is unlikely but any internet-exposed instance is at meaningful risk. |
| Exploit ScenarioDerived | An unauthenticated remote attacker locates an internet-exposed instance of the application, sends a crafted POST request to add_user_check.php with a malicious 'role' value containing a UNION-based or boolean SQL payload, and either extracts password hashes for existing administrators or directly inserts a new attacker-controlled administrator row. With the public PoC from VulDB and the GitHub issue, the attack can be reproduced from off-the-shelf tooling such as sqlmap pointed at the vulnerable parameter. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 01, 2026
SQL injection in raisulislamg4's PHP-based Student Management System allows remote unauthenticated attackers to manipulate the 'role' parameter in add_user_check.php to inject arbitrary SQL queries. Publicly available exploit code exists per VulDB disclosure, and the project (a rolling-release GitHub repository) has not responded to the reporter's issue, leaving deployments unpatched. CVSS 7.3 with low complexity and no privileges required makes this an attractive low-effort target despite the limited deployment footprint of this open-source educational project.
RemediationAI
No vendor-released patch identified at time of analysis - the maintainer was notified via GitHub issue #4 but has not responded. Operators should immediately replace the vulnerable SQL construction in add_user_check.php with parameterized queries using PDO prepared statements or mysqli_prepare with bound parameters for the 'role' argument and any other user-controlled inputs in that handler, and audit sibling handlers for the same pattern. Until a self-patched build is deployed, compensating controls include restricting the user-creation endpoint to authenticated administrative sessions via a front-end web server rule (trade-off: breaks intended self-registration flows if used), placing a WAF such as ModSecurity with the OWASP CRS in front of the application to block SQLi payloads (trade-off: signature-based, can be bypassed by encoding/obfuscation), and applying least-privilege to the application's database account so that even successful injection cannot DROP tables or read other databases (trade-off: requires schema/account refactoring). Track upstream at https://github.com/raisulislamg4/student_management_system_by_php/issues/4 and the VulDB entry at https://vuldb.com/vuln/367506 for any forthcoming fix.
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 vulnerability is a classic CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) flaw in the User Creation Handler component (add_user_check.php). The affected codebase is a PHP-based student management application by GitHub user raisulislamg4, identified by CPE cpe:2.3:a:raisulislamg4:student_management_system_by_php. SQL injection in this context typically arises from concatenating user-supplied POST/GET parameters directly into SQL statements without prepared statements or parameterized queries - here the 'role' argument from a user-creation form is inlined into a query against the user database, allowing an attacker to break out of the intended string context and append arbitrary SQL.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability has been found in raisulislamg4 student_management_system_by_php up to 310d950e09013d5133c6b9210aff9444382d16d1. The affected element is an unknown function of the file add_user_check.php of the component User Creation Handler. The manipulation of the argument role leads to sql injection. Remote exploitation of the attack is possible. The exploit has been disclosed to the public and may be used. This product follows a rolling release approach for continuous delivery, so version details for affected or updated releases are not provided. The project was informed of the problem early through an issue report but has not responded yet.
Executive ViewAI
Organizations deploying the PHP-based Student Management System face immediate exposure of student records and credentials to unauthenticated remote attackers. The vulnerability requires no special privileges or conditions to exploit and publicly available attack code exists, making compromise highly probable without urgent mitigation. With no vendor patch available, organizations must either take the system offline or implement temporary controls within days to prevent data breach.
No vendor-released patch identified at time of analysis. Interim mitigations include: (1) network access controls restricting external connectivity to the application, (2) Web Application Firewall rules targeting SQL injection attempts in the 'role' parameter, (3) database audit logging to detect unauthorized access, and (4) least-privilege database accounts limiting the scope of compromise. These controls reduce but do not eliminate risk; migration to an actively maintained system is strongly recommended.
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-2026-33560
GHSA-78q3-5772-2f6r
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB