Executive brief
CodeAstro Leave Management System, a web application used to manage employee time-off requests, contains a security vulnerability in its administrative interface. An attacker with low-level access can exploit this flaw to manipulate database queries, potentially leading to the theft of sensitive employee data or unauthorized changes to leave records. This could disrupt business operations and compromise the integrity of personnel management data.
Technical details
A SQL injection vulnerability exists in CodeAstro Leave Management System 1.0 within the /admin/add_leave.php file (and its associated processing script /admin/add_leave_db.php). The root cause is the improper neutralization of special elements in the 'type_of_leave' POST parameter, which is used directly in SQL queries without sufficient validation or prepared statements. A remote attacker with authenticated access to the admin panel can provide malicious input to perform boolean-based, error-based, or time-based blind SQL injection. Successful exploitation allows for unauthorized database access, data exfiltration, and potential system compromise. A public exploit (PoC) has been released.
Affected products
- CodeAstro Leave Management System 1.0
Timeline
- 2026-05-25: disclosed: Initial disclosure on GitHub issues
- 2026-06-08: advisory: NVD publication date