Unrestricted File Upload Vulnerability in Strapi by Strapi
CVE-2022-32114
Key Information:
Badges
What is CVE-2022-32114?
The Add New Assets function in Strapi version 4.1.12 is susceptible to an unrestricted file upload vulnerability. This flaw allows attackers to upload malicious PDF files that can be leveraged to execute cross-site scripting (XSS) attacks. The design permits any file type within the Media Library if the user has the necessary permissions. Administrators can restrict uploaded file types to images, videos, and audios. However, if the public assets configuration is not secured, uploaded files may be accessible externally, posing significant security risks.
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
