Submit #54156: Human Resource Management System 1.0 Remote Code Execution (Unauthenticated)info

TitleHuman Resource Management System 1.0 Remote Code Execution (Unauthenticated)
DescriptionDescription: Vulnerability was found in SourceCodester Book Store Management System 1.0. This vulnerability allows an unauthenticated attacker bypass the upload file restriction and execute arbitrary code via a crafted PHP file. The product(s): https://www.sourcecodester.com/php/15740/human-resource-management-system-project-php-and-mysql-free-source-code.html Affected component(s): /hrm/controller/employee.php Proof of Concept: 1. Bypass File upload restriction Bypass check type using Content-Type: image/jpg in the upload form. 2. Upload web shell without authentication 3. Find the uploaded web shell file and get RCE Go to /hrm/image/ and get web shell name and get remote code execution
Source⚠️ https://github.com/leecybersec/bug-report/tree/main/sourcecodester/oretnom23/hrm/bypass-fileupload-rce
User
 leecybersec (UID 36724)
Submission12/01/2022 18:50 (4 years ago)
Moderation12/03/2022 08:55 (2 days later)
StatusAccepted
VulDB entry214769 [SourceCodester Human Resource Management System 1.0 Content-Type employee.php pfimg unrestricted upload]
Points20

Do you want to use VulDB in your project?

Use the official API to access entries easily!