CVE-2026-10286
Deferred Deferred - Pending Action
SQL Injection in CodeAstro Payroll System

Publication date: 2026-06-01

Last updated on: 2026-06-01

Assigner: VulDB

Description
A vulnerability was found in CodeAstro Payroll System 1.0. This affects an unknown part of the file /home_employee.php. The manipulation of the argument emp_id results in sql injection. The attack may be performed from remote. The exploit has been made public and could be used.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-01
Last Modified
2026-06-01
Generated
2026-06-22
AI Q&A
2026-06-02
EPSS Evaluated
2026-06-20
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
codeastro payroll_system 1.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Compliance Impact

The SQL injection vulnerability in CodeAstro Payroll System 1.0 can lead to unauthorized database access, data tampering, and sensitive information leakage. Such security breaches can result in non-compliance with common standards and regulations like GDPR and HIPAA, which require protection of personal and sensitive data against unauthorized access and breaches.

Failure to address this vulnerability may expose the organization to legal and regulatory penalties due to compromised confidentiality, integrity, and availability of sensitive employee data.

Executive Summary

This vulnerability exists in the CodeAstro Payroll System version 1.0, specifically in the file /home_employee.php. It is caused by improper handling of the emp_id argument, which allows an attacker to perform SQL injection.

The vulnerability can be exploited remotely, meaning an attacker does not need local access to the system to carry out the attack. The exploit has already been made public.

Impact Analysis

An attacker exploiting this SQL injection vulnerability could manipulate the database queries executed by the payroll system. This could lead to unauthorized access to sensitive employee data, data modification, or disruption of payroll operations.

Since the attack can be performed remotely, it increases the risk of data breaches and potential loss of data integrity and availability.

Detection Guidance

This vulnerability can be detected by testing the 'emp_id' parameter in the /PayrollSy-PHP/home_employee.php file for SQL injection flaws. Common detection methods include attempting boolean-based blind, error-based, time-based blind, and UNION query injection techniques.

You can use tools like sqlmap or manual curl commands to test for SQL injection. For example, using sqlmap:

  • sqlmap -u "http://targetsite/PayrollSy-PHP/home_employee.php?emp_id=1" --batch

Or a manual test with curl to check for error-based injection:

  • curl "http://targetsite/PayrollSy-PHP/home_employee.php?emp_id=1'"

If the response contains SQL errors or behaves differently, it indicates a possible SQL injection vulnerability.

Mitigation Strategies

Immediate mitigation steps include:

  • Implement prepared statements (parameterized queries) to prevent SQL injection.
  • Apply strict input validation and sanitization on the 'emp_id' parameter.
  • Minimize database user permissions to limit the impact of a potential exploit.
  • Conduct regular security audits and code reviews to identify and fix vulnerabilities.
Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-10286. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart