| Название | 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) |
|---|
| Статус | принято |
|---|
| Запись VulDB | 210559 [SourceCodester Human Resource Management System 1.0 Image File /employeeview.php эскалация привилегий] |
|---|
| Баллы | 20 |
|---|