CVE-2022-0377
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.
Severity
MEDIUM
CVSS v3
4.3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N · source nvd
Exploit chance (EPSS)
3.205%
chance of exploitation in the next 30 days
higher than 88.4% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1
Weakness
- CWE-327: Use of a Broken or Risky Cryptographic Algorithm
Timeline
- 2022-02-02First Exploit-DB entry (EDB-ID 50706)26 days before publication
- 2022-02-28Published by the CNA09:06 UTC
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 50706 | webapps | php | 2022-02-02 | no |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| thimpress learnpress | before 4.1.5fixed in 4.1.5 | 4.1.5 |
References
- https://github.com/LearnPress/learnpress/commit/d1dc4af7ef2950f1000abc21bd9520fb3eb98faf
- https://bozogullarindan.com/en/2022/01/wordpress-learnpress-plugin-4.1.4.1-arbitrary-image-renaming/
- https://wpscan.com/vulnerability/0d95ada6-53e3-4a80-a395-eacd7b090f26
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2022-0377'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2022-0377'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2022-0377'curl 'https://api.contrastcyber.com/cve_products/CVE-2022-0377'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).