CVE-2022-0377
LearnPress < 4.1.5 - Arbitrary Image Renaming
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.
Exploitation
EPSS 3.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 88.4% of all scored CVEs. Scores of 1 Dec 2026.
Weakness
- CWE-327 Use of a Broken or Risky Cryptographic Algorithm
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
LearnPress
Unknown
|
affected before 4.1.5
Other versions: unaffected
|
Is my server affected?
This CVE is in a product, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Exploits and proof of concept
- https://wpscan.com/vulnerability/0d95ada6-53e3-4a80-a395-eacd7b090f26 wpscan.com · exploit, vdb entry, technical description
Other references
- https://bozogullarindan.com/en/2022/01/wordpress-learnpress-plugin-4.1.4.1-arbitrary-image-renaming/ bozogullarindan.com
- https://github.com/LearnPress/learnpress/commit/d1dc4af7ef2950f1000abc21bd9520fb3eb98faf github.com
Source: the record CVE-2022-0377 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse