Skip to main content

CodeAstro HRMS EUVDEUVD-2026-40022

| CVE-2026-13525 LOW
SQL Injection (CWE-89)
2026-06-29 VulDB GHSA-xpc2-3p69-xq29
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privilege HRMS credentials
  2. Delivery
    Authenticate and access Update_Earn_Leave endpoint
  3. Exploit
    Inject time-based SQL payload into emid parameter
  4. Execution
    Enumerate database schema via response timing
  5. Impact
    Extract 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 emselectByCode function in application/models/Employee_model.php, which is invoked when the emid parameter is submitted to that endpoint. No special or non-default configuration is required beyond a standard deployment of version 1.0 with an accessible web interface. Limiting factors include: the mandatory authenticated session (insider threat or credential compromise required), the time-intensive nature of blind SQL injection (reduces viability of fully automated mass exploitation), and the moderate impact ceiling (VC:L/VI:L/VA:L - not a full database dump or OS-level compromise in a single step).

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 emid parameter. By observing HTTP response times, the attacker iterates character-by-character through database content, ultimately extracting employee personal data, credentials, or other sensitive HR records from the backend database. A public POC on GitHub at https://github.com/ashikmd0507/CVE/tree/main/Time-Based%20Blind%20SQL%20Injection%20in%20Update_Earn_Leave%20via%20emid%20Parameter confirms this technique is reproducible.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Human Resource Management System 1.0

Affected Packages

euvd human_resource_management_system no fix

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

Vendor (VulDB) PRIMARY 2.1 MEDIUM
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
vuln.today AI 6.3 MEDIUM

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).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Severity Changed
Jun 29, 2026 - 03:22 NVD
MEDIUM LOW
CVSS changed
Jun 29, 2026 - 03:22 NVD
5.3 (MEDIUM) 2.1 (LOW)

DescriptionCVE.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

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Low
niche PHP HRMS product, limited enterprise adoption
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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 3
CVE-2024-35469 CRITICAL POC
9.8 May 30

A SQL injection vulnerability in /hrm/user/ in SourceCodester Human Resource Management System 1.0 allows attackers to e

CVE-2023-3391 CRITICAL POC
9.8 Jun 23

A vulnerability was found in SourceCodester Human Resource Management System 1.0. Rated critical severity (CVSS 9.8), th

CVE-2022-4273 CRITICAL POC
9.8 Dec 03

A vulnerability, which was classified as critical, has been found in SourceCodester Human Resource Management System 1.0

CVE-2022-43262 CRITICAL POC
9.8 Nov 16

Human Resource Management System v1.0 was discovered to contain a SQL injection vulnerability via the password parameter

CVE-2024-34221 HIGH POC
8.8 May 14

Sourcecodester Human Resource Management System 1.0 is vulnerable to Insecure Permissions resulting in privilege escalat

CVE-2022-43318 HIGH POC
8.8 Nov 07

Human Resource Management System v1.0 was discovered to contain a SQL injection vulnerability via the stateedit paramete

CVE-2024-34220 HIGH POC
7.5 May 14

Sourcecodester Human Resource Management System 1.0 is vulnerable to SQL Injection via the 'leave' parameter. Rated high

CVE-2022-4278 HIGH POC
7.2 Dec 03

A vulnerability was found in SourceCodester Human Resource Management System 1.0. Rated high severity (CVSS 7.2), this v

CVE-2024-13006 MEDIUM POC
6.9 Dec 29

A vulnerability, which was classified as critical, has been found in 1000 Projects Human Resource Management System 1.0.

CVE-2022-3473 MEDIUM POC
6.5 Oct 13

A vulnerability classified as critical has been found in SourceCodester Human Resource Management System. Rated medium s

CVE-2022-3470 MEDIUM POC
6.5 Oct 13

A vulnerability was found in SourceCodester Human Resource Management System. Rated medium severity (CVSS 6.5), this vul

CVE-2022-4279 MEDIUM POC
6.1 Dec 03

A vulnerability classified as problematic has been found in SourceCodester Human Resource Management System 1.0. Rated m

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy