Executive brief
CodeAstro Leave Management System, a web application used for managing employee time-off requests, contains a security vulnerability in its staff management module. An attacker with basic user access can exploit this flaw to interfere with the underlying database. This could lead to the unauthorized viewing of sensitive employee information, modification of records, or disruption of the system's availability.
Technical details
A SQL injection vulnerability exists in CodeAstro Leave Management System 1.0 within the /admin/add_staff.php file (and its associated processing script /admin/add_staff_db.php). The root cause is the improper neutralization of special elements in the 'email_id' POST parameter, which is used directly in SQL queries without sufficient validation or prepared statements. A remote attacker with low-level privileges can provide malicious input to perform boolean-based blind, error-based, or time-based blind SQL injection. This allows for unauthorized database access, data extraction, and potential tampering with system records. A public exploit (PoC) using sqlmap has been disclosed.
Affected products
- CodeAstro Leave Management System 1.0
Timeline
- 2026-04-28: disclosed: Initial disclosure on GitHub issue tracker
- 2026-05-26: advisory: NVD publication date