제출 #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)
제출2023. 12. 28. AM 09:24 (3 연령 ago)
모더레이션2023. 12. 28. AM 09:34 (10 minutes later)
상태수락
VulDB 항목249150 [gopeak MasterLab 까지 3.3.10 app/ctrl/User.php base64ImageContent image 권한 상승]
포인트들20

Do you know our Splunk app?

Download it now for free!