CVE-2025-48868
7.2Horilla · Horilla HRMS
Horilla HRMS 1.3.0 contains an authenticated remote code execution vulnerability via unsafe use of Python's eval function in the project_bulk_archive view.
Executive summary
Horilla HRMS version 1.3.0 contains a critical remote code execution vulnerability that allows an authenticated administrator to execute arbitrary system commands on the host server.
Vulnerability
This flaw stems from improper neutralization of directives in dynamically evaluated code (CWE-95), specifically within the project_bulk_archive view. An authenticated user with administrative privileges can inject malicious payloads into a query parameter to achieve remote code execution.
Business impact
Successful exploitation of this vulnerability grants an attacker full control over the underlying server hosting the Horilla HRMS application. Given the CVSS score of 7.2, this represents a high severity risk that could lead to complete data exfiltration, system compromise, and significant operational disruption. Unauthorized access to HR systems often involves sensitive employee data, which increases the potential for severe regulatory and reputational consequences.
Remediation
Immediate Action: Update Horilla HRMS to version 1.3.1 or later to implement the fix for the eval injection vulnerability.
Proactive Monitoring: Review application logs for suspicious activity involving the project_bulk_archive view, particularly unusual query parameters or unexpected system process spawning.
Compensating Controls: Implement a Web Application Firewall (WAF) to filter and block requests containing suspicious code patterns or eval-related syntax in HTTP parameters.
Exploitation status
Public Exploit Available: Yes, an ExploitDB entry exists for this vulnerability.
Analyst recommendation
This vulnerability poses a significant risk to organizational infrastructure due to the potential for full server compromise. Administrators must prioritize upgrading to version 1.3.1 immediately to eliminate the vulnerable code path. If an immediate update is not feasible, restrict administrative access to the application and monitor server logs for any signs of unauthorized command execution.
More Horilla CVEs
Sources
- https://github.com/horilla-opensource/horilla/security/advisories/GHSA-h6qj-pwmx-wjhw
- https://github.com/horilla-opensource/horilla/commit/b0aab62b3a5fe6b7114b5c58db129b3744b4d8cc
- https://drive.google.com/file/d/1XQAJilt77QxkjGEa94CsZRqZIZXa3ET9/view?usp=sharing
- https://drive.google.com/file/d/1hnI9AK3fnpVrTlTRF7aRJsKhZCDIm2Ve/view?usp=sharing