Skip to main content

PHP CVE-2024-0352

HIGH
Unrestricted Upload of File with Dangerous Type (CWE-434)
2024-01-09 cna@vuldb.com
7.3
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
7.3 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

Lifecycle Timeline

2
Analysis Generated
Mar 28, 2026 - 19:34 vuln.today
CVE Published
Jan 09, 2024 - 23:15 nvd
HIGH 7.3

DescriptionCVE.org

A vulnerability classified as critical was found in Likeshop up to 2.5.7.20210311. This vulnerability affects the function FileServer::userFormImage of the file server/application/api/controller/File.php of the component HTTP POST Request Handler. The manipulation of the argument file leads to unrestricted upload. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-250120.

AnalysisAI

Likeshop e-commerce platform through version 2.5.7.20210311 contains a critical unrestricted file upload vulnerability in the FileServer::userFormImage function. Unauthenticated attackers can upload PHP webshells via crafted HTTP POST requests, achieving remote code execution on the server.

Technical ContextAI

The FileServer::userFormImage method in server/application/api/controller/File.php processes file uploads without validating file extensions or content types. An attacker can upload a .php file by sending a POST request with a crafted multipart/form-data body. The uploaded file is stored in a web-accessible directory and can be directly executed.

RemediationAI

Update Likeshop to the latest version. Implement server-level file upload restrictions allowing only image extensions. Configure the upload directory to disallow script execution. Add authentication requirements to all file upload endpoints.

Share

CVE-2024-0352 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy