LearnPress <= 4.1.4.1 - Arbitrary Image Renaming

External Control of File Name or Path
CVE CVE-2022-0377
CVSS Medium (4.3)
Publicly Published January 26, 2022
Last Updated January 22, 2024
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

1 affected software package

Software Type Plugin
Software Slug learnpress (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 4.1.4.1
Patched Version
  • 4.1.5
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.