CVE-2025-9476

7.3

SourceCodester · Human Resource Information System

A vulnerability in SourceCodester Human Resource Information System 1.0 allows for unrestricted file uploads via the employee_file201 parameter, potentially enabling remote code execution.

Executive summary

An unauthenticated arbitrary file upload vulnerability in SourceCodester Human Resource Information System 1.0 poses a significant risk of remote code execution.

Vulnerability

The application fails to properly validate file uploads within the /Superadmin_Dashboard/process/editemployee_process.php script. This flaw allows an unauthenticated remote attacker to upload arbitrary files by manipulating the employee_file201 argument.

Business impact

The ability to upload arbitrary files to a web server typically results in full system compromise, as attackers can upload web shells to execute arbitrary commands. This vulnerability carries a CVSS score of 7.3, indicating a high impact on the confidentiality, integrity, and availability of the host system. Successful exploitation could lead to unauthorized data access, lateral movement within the network, and complete loss of control over the HRIS platform.

Remediation

Immediate Action: As no official patch is currently available, administrators should immediately restrict access to the /Superadmin_Dashboard/ directory or take the application offline until the vendor provides a secure update.

Proactive Monitoring: Monitor server logs for unexpected file uploads or the creation of new files within the application directory, particularly files with executable extensions.

Compensating Controls: Implement a Web Application Firewall (WAF) rule to inspect and block malicious file upload attempts targeting the /Superadmin_Dashboard/process/editemployee_process.php endpoint.

Exploitation status

Public Exploit Available: Yes, a published proof-of-concept exists as documented in the research write-up at https://github.com/lrjbsyh/CVE_Hunter/issues/5.

Analyst recommendation

Given the availability of a public proof-of-concept and the nature of unrestricted file upload vulnerabilities, this flaw presents a high risk to the organization. Administrators must prioritize the implementation of compensating controls, such as WAF rules or restricted access, immediately. Monitor vendor communications closely for the release of an official patch to remediate this vulnerability permanently.

More SourceCodester CVEs

Sources

Originally found and disclosed by M00n_L33 (VulDB User), per the CVE Program record.