LearnPress <= 4.1.4.1 - Arbitrary Image Renaming
Strategic Overview
<= 4.1.4.1CVE-2022-0377Vulnerability Overview
Users of the LearnPress WordPress plugin before 4.1.5 can upload an image as a profile avatar after the registration. After this process the user crops and saves the image. Then a "POST" request that contains user supplied name of the image is sent to the server for renaming and cropping of the image. As a result of this request, the name of the user-supplied image is changed with a MD5 value. This process can be conducted only when type of the image is JPG or PNG. An attacker can use this vulnerability in order to rename an arbitrary image file. By doing this, they could destroy the design of the web site.
Technical Analysis
REMEDIATION: Update to version 4.1.5, or a newer patched version --- IDENTIFIER: CWE-73 (External Control of File Name or Path) The product allows user input to control or influence paths or file names that are used in filesystem operations.
External References
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C