Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege application credentials
-
DeliveryAuthenticate to Employee Management System 1.0
-
ExploitSubmit crafted SQL payload to /changepassemp.php
-
ExecutionBackend SQL query logic altered
-
ImpactExtract sensitive database records or modify employee 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 a valid low-privilege authenticated session on the Employee Management System 1.0 instance, confirmed by CVSS PR:L - unauthenticated access is insufficient. The attack specifically targets the /changepassemp.php file, so the application must be network-accessible and this endpoint must not be separately restricted. No user interaction is required from a victim (UI:N), and no additional complexity beyond credential possession is needed (AC:L, AT:N). Exploitation is limited by the credential requirement (attackers must first obtain or possess a valid account), the SSVC 'automatable: no' classification (mass scanning without credentials is not viable), and the scoped impact model (SC:N/SI:N/SA:N confirms no lateral movement to connected systems is possible through this vector alone). |
| Impact | The CVSS 4.0 score of 2.1 is low, driven by VC:L/VI:L/VA:L with no scope change to connected systems (SC:N/SI:N/SA:N). The attack vector is network (AV:N) with low complexity (AC:L) and no additional attack requirements (AT:N), but exploitation requires low-privilege authentication (PR:L) - a real barrier that meaningfully reduces the exposed population to credentialed users only. The EPSS score of 0.03% at the 8th percentile is very low, and the vulnerability is not listed in the CISA KEV catalog, confirming no confirmed active exploitation at time of analysis. SSVC classifies it as 'automatable: no' and 'technical impact: partial,' consistent with CVSS. The key tension is between POC availability on GitHub (lowering the skill threshold for abuse) and the combined signal of low CVSS, low EPSS, no KEV listing, and the authentication prerequisite suggesting this is a low-priority finding outside of environments where untrusted users hold valid credentials. |
| Exploit ScenarioDerived | An attacker with a low-privilege account on the Employee Management System authenticates to the application and navigates to the /changepassemp.php endpoint. They submit a crafted HTTP POST request with a SQL injection payload embedded in a form field (likely the employee ID or password parameter), manipulating the backend SQL query to enumerate database tables, extract credential hashes, or alter other employees' records. The GitHub POC at https://github.com/zzzxc643/CVE1/blob/main/EMPLOYEE_MANAGEMENT_SYSTEM/vul21.md provides a documented reproduction path, making this reproducible by low-skilled attackers who already hold application credentials. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 08, 2026
SQL injection in code-projects Employee Management System 1.0 exposes the /changepassemp.php password-change endpoint to database manipulation by authenticated low-privilege users over the network. The CVSS 4.0 score of 2.1 reflects limited, non-cascading impact - partial confidentiality, integrity, and availability degradation confined to the vulnerable component with no downstream system scope change. A publicly available proof-of-concept exploit exists on GitHub, though the EPSS score of 0.03% (8th percentile) and SSVC 'automatable: no' classification indicate this is unlikely to see widespread opportunistic exploitation; no public exploit identified at time of analysis corroborating active KEV-level campaigns.
RemediationAI
No vendor-released patch has been identified at the time of analysis - the code-projects vendor site (https://code-projects.org/) provides no documented fixed version in available references. The definitive fix is to rewrite SQL queries in /changepassemp.php using PHP PDO or MySQLi prepared statements with bound parameters, eliminating the injection surface entirely. As an immediate compensating control, deploy a Web Application Firewall rule targeting SQL injection payloads on the /changepassemp.php endpoint; note that WAF bypass is possible and this is not a permanent solution. Restrict network access to the application to only trusted internal networks or VPN-authenticated users, reducing the effective attack surface given that PR:L authentication is already required. If the password-change feature is non-critical or infrequently used, consider temporarily disabling /changepassemp.php at the web server level (e.g., via nginx location deny or Apache FilesMatch) until a code fix is applied.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected application is a PHP-based web system identified by CPE cpe:2.3:a:code-projects:employee_management_system:*:*:*:*:*:*:*:*. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), occurring in /changepassemp.php - the employee password-change handler. This PHP file likely constructs SQL queries by directly concatenating user-supplied input (such as an employee ID or current password field) without using parameterized queries or prepared statements, allowing an attacker to alter query logic. The PHP + MySQL stack typical of code-projects applications makes PDO or MySQLi bound parameters the canonical remediation path.
Know when Employee Management System 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:L/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 was identified in code-projects Employee Management System 1.0. This impacts an unknown function of the file /changepassemp.php. The manipulation leads to sql injection. It is possible to initiate the attack remotely. The exploit is publicly available and might be used.
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.
More in Employee Management System
View allSQL Injection vulnerability in Sourcecodester Employee Management System v1.0 allows attackers to run arbitrary SQL comm
SQL Injection vulnerability in Employee Management System v1.0 allows attackers to run arbitrary SQL commands via the ad
Employee Managment System v1.0 was discovered to contain a SQL injection vulnerability via the mailud parameter at /apro
Employee Managment System v1.0 was discovered to contain a SQL injection vulnerability via the pwd parameter at /aproces
An issue in Employee Managment System v1.0 allows attackers to bypass authentication via injecting a crafted payload int
A vulnerability was found in SourceCodester Employee Management System 1.0. Rated critical severity (CVSS 9.8), this vul
A vulnerability was found in SourceCodester Employee Management System. Rated critical severity (CVSS 9.8), this vulnera
A vulnerability was found in SourceCodester Employee Management System. Rated critical severity (CVSS 9.8), this vulnera
A vulnerability has been found in SourceCodester Employee Management System and classified as critical. Rated critical s
A vulnerability classified as problematic was found in SourceCodester Employee Management System 1.0. Rated high severit
Employee Managment System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /edit.php
Employee Managment System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /delete.p
EUVD-2026-31665
GHSA-2cr2-92rw-9rp5
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB