CVE-2022-0377

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-0377
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-0377.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-0377
Published
2022-02-28T09:15:09.093Z
Modified
2025-11-14T12:42:11.995165Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
[none]
Details

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

Affected packages

Git / github.com/learnpress/learnpress

Affected ranges

Type
GIT
Repo
https://github.com/learnpress/learnpress
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

2.*

2.0.0-beta.1
2.0.6
2.0.9
2.1.0
2.1.3
2.1.4
2.1.5.2
2.1.5.3
2.1.6
2.1.7
2.1.8

3.*

3.0.0-closebeta.1
3.0.0-closebeta.2
3.0.0-openbeta.1
3.0.0-openbeta.2
3.0.0-openbeta.3
3.0.0-openbeta.4
3.0.0-openbeta.5
3.2.1
3.2.2
3.2.5.2

4.*

4.0.0-beta-3
4.1.4-beta-3
4.1.4.1-beta-1

v1.*

v1.0

Other

wrong_on_check_user_passed_course