提交 #47815: Human Resource Management System v1.0 - [Bypass] Unrestricted File Upload leads to RCE信息

标题Human Resource Management System v1.0 - [Bypass] Unrestricted File Upload leads to RCE
描述The web application Human Resource Management System v1.0 is vulnerable to Unrestricted file upload which is a bypass of the filter on upload functionality. The application is expecting the content-type as : 'image/png, image/jpeg, image/jpg'. If the expected content type is not in the request and the uploaded file is not image file then application throws error as 'Invalid Image! '. And if we upload the PHP file with content-type set to 'image/jpg' then the file restriction filter gets bypassed and the reverse shell file gets uploaded. After uploading the php file gets stored in image directory. Visiting the directory or refreshing the page executes the reverse shell. The /employeeview.php and /employeeadd.php is vulnerable to file upload filter bypass.
来源⚠️ https://www.sourcecodester.com/php/15740/human-resource-management-system-project-php-and-mysql-free-source-code.html
用户
 l3v1ath0n (UID 33329)
提交2022-10-11 20時58分 (4 年前)
管理2022-10-11 21時12分 (14 minutes later)
状态已接受
VulDB条目210559 [SourceCodester Human Resource Management System 1.0 Image File /employeeview.php 权限提升]
积分20

Do you need the next level of professionalism?

Upgrade your account now!