Unrestricted File Upload in Likeshop FileServer::userFormImage
CVE-2024-0352 is a critical vulnerability in Likeshop up to version 2.5.7.20210311, specifically in the FileServer::userFormImage function within server/application/api/controller/File.php. The vulnerability allows remote attackers to upload arbitrary files via crafted HTTP POST requests, due to insufficient validation of the 'file' argument. This can lead to the execution of malicious code on the server.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to upload and potentially execute arbitrary files on the server, leading to full compromise of the affected system. This can result in remote code execution, data theft, or further lateral movement within the network.
If you can’t patch tonight, do this now.
As an interim measure, restrict access to the vulnerable endpoint, implement strict file type and content validation, and monitor for suspicious file uploads. Employ web application firewalls (WAF) to detect and block malicious upload attempts.
Patch, then assume compromise.
Upgrade Likeshop to a version later than 2.5.7.20210311 where this vulnerability is patched. Ensure that file upload handlers strictly validate file types, content, and enforce proper authentication and authorization checks.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.