CVE-2022-0377

LearnPress <= 4.1.4.1 - Arbitrary Image Renaming

mediumExternal Control of File Name or Path
4.3
CVSS Score
4.3
CVSS Score
medium
Severity
4.1.5
Patched in
727d
Time to patch

Description

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.

CVSS Vector Breakdown

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

Technical Details

Affected versions<=4.1.4.1
PublishedJanuary 26, 2022
Last updatedJanuary 22, 2024
Affected pluginlearnpress

Check if your site is affected.

Run a free security audit to detect vulnerable plugins, outdated versions, and misconfigurations.