Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege HRMS credentials
-
DeliveryAuthenticate and access Update_Earn_Leave endpoint
-
ExploitInject time-based SQL payload into emid parameter
-
ExecutionEnumerate database schema via response timing
-
ImpactExtract sensitive employee records from database
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 user account within the CodeAstro Human Resource Management System application - unauthenticated exploitation is not possible given PR:L in the CVSS vector. The attacker must have network access to the Update_Earn_Leave HTTP endpoint. The vulnerable code path is the |
| Impact | The provided CVSS 4.0 vector (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) yields a base score of 5.3 (Medium), which appropriately reflects the exploitation barrier: low-privilege authentication (PR:L) is required, limiting the attack surface compared to unauthenticated flaws. The E:P modifier confirms proof-of-concept exploit code is public, elevating practical risk above a theoretical finding. No EPSS score was provided, and the vulnerability is not listed in CISA KEV, so widespread opportunistic exploitation cannot be confirmed. The impact metrics are uniformly Low (VC:L/VI:L/VA:L), consistent with time-based blind injection that extracts data incrementally and is slow to weaponize at scale. Real-world risk is moderate for organizations running this specific product: an insider or compromised low-privilege HR account could exfiltrate the full employee database. The absence of scope change (SC:N/SI:N/SA:N) suggests the injection does not directly pivot to the underlying OS. Overall, this is a genuine medium-priority finding for affected deployments, not a theoretical-only risk given the public POC, but mass automated exploitation is constrained by the authentication prerequisite. |
| Exploit ScenarioDerived | An attacker with a low-privilege employee account in the HR system authenticates to the application and sends a crafted HTTP request to the Update_Earn_Leave endpoint, injecting a time-based blind SQL payload (e.g., using MySQL SLEEP() or conditional CASE expressions) into the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 29, 2026
SQL injection in CodeAstro Human Resource Management System 1.0 allows a low-privileged authenticated remote attacker to manipulate the emid parameter in the Update_Earn_Leave endpoint, triggering time-based blind SQL injection against the underlying database. The vulnerability resides in the emselectByCode function within application/models/Employee_model.php, where unsanitized input is passed directly into SQL query construction. A public proof-of-concept exploit is available on GitHub; no active exploitation has been confirmed by CISA KEV at time of analysis.
RemediationAI
No vendor-released patch has been identified at time of analysis - the CVE references point only to VulDB and a public GitHub POC, with no vendor advisory or patched release version confirmed. Organizations running CodeAstro Human Resource Management System 1.0 should immediately apply parameterized queries or prepared statements to the emselectByCode function in application/models/Employee_model.php, replacing any string interpolation of emid into SQL with bound parameters. As an interim compensating control, restrict access to the Update_Earn_Leave endpoint to trusted internal IP ranges using web server or WAF rules - this does not eliminate the vulnerability but significantly reduces the attack surface by preventing unapproved low-privilege accounts from reaching the endpoint remotely. Additionally, implement a Web Application Firewall rule to detect and block time-based SQL injection patterns (e.g., SLEEP(), WAITFOR DELAY, BENCHMARK() in query parameters). Monitor the vendor site at codeastro.com for patch availability. The VulDB disclosure at https://vuldb.com/vuln/374533 should be tracked for updates.
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 product is a PHP-based Human Resource Management System developed by CodeAstro, identified via CPE cpe:2.3:a:codeastro:human_resource_management_system:*:*:*:*:*:*:*:*. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), a classic SQL injection class where user-controlled input is interpolated into a SQL statement without parameterization or adequate sanitization. The specific vector is the emid argument handled by the emselectByCode model function in application/models/Employee_model.php, exposed through the Update_Earn_Leave HTTP endpoint. The POC on GitHub is explicitly described as a time-based blind SQL injection technique, meaning the attacker infers database content character-by-character via conditional time delays, consistent with the lack of direct error output to the HTTP response.
Know when Human Resource 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
Network-reachable endpoint requires low-privilege auth (PR:L); time-based blind injection yields partial data read/write and can induce response delays (A:L).
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was detected in CodeAstro Human Resource Management System 1.0. This issue affects the function emselectByCode of the file application/models/Employee_model.php of the component Update_Earn_Leave Endpoint. The manipulation of the argument emid results in sql injection. The attack can be launched remotely. The exploit is now public and may 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.
Related Vulnerabilities in CodeAstro Human Resource Management System Vulnerabilities
View all 3A SQL injection vulnerability in /hrm/user/ in SourceCodester Human Resource Management System 1.0 allows attackers to e
A vulnerability was found in SourceCodester Human Resource Management System 1.0. Rated critical severity (CVSS 9.8), th
A vulnerability, which was classified as critical, has been found in SourceCodester Human Resource Management System 1.0
Human Resource Management System v1.0 was discovered to contain a SQL injection vulnerability via the password parameter
Sourcecodester Human Resource Management System 1.0 is vulnerable to Insecure Permissions resulting in privilege escalat
Human Resource Management System v1.0 was discovered to contain a SQL injection vulnerability via the stateedit paramete
Sourcecodester Human Resource Management System 1.0 is vulnerable to SQL Injection via the 'leave' parameter. Rated high
A vulnerability was found in SourceCodester Human Resource Management System 1.0. Rated high severity (CVSS 7.2), this v
A vulnerability, which was classified as critical, has been found in 1000 Projects Human Resource Management System 1.0.
A vulnerability classified as critical has been found in SourceCodester Human Resource Management System. Rated medium s
A vulnerability was found in SourceCodester Human Resource Management System. Rated medium severity (CVSS 6.5), this vul
A vulnerability classified as problematic has been found in SourceCodester Human Resource Management System 1.0. Rated m
EUVD-2026-40022
GHSA-xpc2-3p69-xq29
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB