CVE-2022-0377

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:thimpress:learnpress:*:*:*:*:*:wordpress:*:*

History

07 Nov 2023, 03:41

Type Values Removed Values Added
CWE CWE-327

24 Jul 2023, 10:15

Type Values Removed Values Added
Summary 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. 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.

21 Jul 2023, 16:55

Type Values Removed Values Added
CWE CWE-610 CWE-327

08 Mar 2022, 16:39

Type Values Removed Values Added
References (MISC) https://wpscan.com/vulnerability/0d95ada6-53e3-4a80-a395-eacd7b090f26 - (MISC) https://wpscan.com/vulnerability/0d95ada6-53e3-4a80-a395-eacd7b090f26 - Exploit, Third Party Advisory
References (MISC) https://github.com/LearnPress/learnpress/commit/d1dc4af7ef2950f1000abc21bd9520fb3eb98faf - (MISC) https://github.com/LearnPress/learnpress/commit/d1dc4af7ef2950f1000abc21bd9520fb3eb98faf - Patch, Third Party Advisory
References (MISC) https://bozogullarindan.com/en/2022/01/wordpress-learnpress-plugin-4.1.4.1-arbitrary-image-renaming/ - (MISC) https://bozogullarindan.com/en/2022/01/wordpress-learnpress-plugin-4.1.4.1-arbitrary-image-renaming/ - Exploit, Third Party Advisory
CPE cpe:2.3:a:thimpress:learnpress:*:*:*:*:*:wordpress:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 3.5
v3 : 4.3
CWE CWE-73 CWE-610
First Time Thimpress learnpress
Thimpress

28 Feb 2022, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-02-28 09:15

Updated : 2023-12-10 14:22


NVD link : CVE-2022-0377

Mitre link : CVE-2022-0377

CVE.ORG link : CVE-2022-0377


JSON object : View

Products Affected

thimpress

  • learnpress
CWE
CWE-327

Use of a Broken or Risky Cryptographic Algorithm