Отправить #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)
Представление11.10.2022 20:58 (4 лет назад)
Модерация11.10.2022 21:12 (14 minutes later)
Статуспринято
Запись VulDB210559 [SourceCodester Human Resource Management System 1.0 Image File /employeeview.php эскалация привилегий]
Баллы20

Do you want to use VulDB in your project?

Use the official API to access entries easily!