Отправить #259240: gopeak MasterLab ≤v3.3.10 File UploadИнформация

Названиеgopeak MasterLab ≤v3.3.10 File Upload
ОписаниеMasterLab, a project management tool designed for team collaboration on tasks and projects, has been identified to contain a backend PHP file upload vulnerability in versions up to and including v3.3.10. The vulnerability specifically resides within the setProfile function of the app/ctrl/User.php file. The crux of the vulnerability lies in the function's handling of image uploads for user avatars. The function accepts Base64-encoded image data, including a MIME type declaration, which it decodes and uses as the file extension without proper validation. This approach fails to verify whether the actual file content matches the declared MIME type. Exploitation of this vulnerability is feasible by crafting a malicious request that uploads a file containing harmful code disguised as an image (e.g., a PHP script masquerading as an image file). In the provided HTTP POST request example, an attacker sets the image parameter with Base64-encoded PHP code (a simple phpinfo() call in this case) and falsely claims its MIME type to be image/php, thus circumventing any file type checks. Once uploaded, the attacker can potentially execute the PHP code by accessing the user avatar's URL, which may lead to remote server control or other malicious activities. This vulnerability can be exploited to perform a range of attacks, including but not limited to server-side code execution, web shell deployment, data leakage, etc., posing a significant security risk. Users of MasterLab are advised to update to the latest version promptly to mitigate the exploitation of such vulnerabilities.
Источник⚠️ https://note.zhaoj.in/share/affd8cjn50HC
Пользователь
 glzjin (UID 59815)
Представление28.12.2023 09:24 (3 лет назад)
Модерация28.12.2023 09:34 (10 minutes later)
Статуспринято
Запись VulDB249150 [gopeak MasterLab до 3.3.10 app/ctrl/User.php base64ImageContent image эскалация привилегий]
Баллы20

Do you need the next level of professionalism?

Upgrade your account now!