LearnPress <= 4.1.4.1 - Arbitrary Image Renaming

4.3
External Control of File Name or Path
CVE CVE-2022-0377
CVSS 4.3 (Medium)
Publicly Published January 26, 2022
Last Updated February 3, 2023
Researcher Ceylan Bozogullarindan

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.

References

Share

Vulnerability Details for LearnPress – WordPress LMS Plugin

Software Type Plugin
Software Slug learnpress (view on wordpress.org)
Patched? Yes
Remediation Update to version 4.1.5, or a newer patched version
Affected Version
  • <= 4.1.4.1
Patched Version
  • 4.1.5

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation