CVE-2022-0377
An attacker can use this vulnerability in order to rename an arbitrary image file.
Does this matter?
A public exploit is published in Exploit-DB, so the technical barrier is gone even though the severity is medium and EPSS is 3.2%. Treat it as high on anything reachable from the internet.
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.
- CVSS 3.1
- 4.3 MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- EPSS
- 3.21% probability · 89th percentile
- Public exploits
- 1 in Exploit-DB · first 2 February 2022
- CISA KEV
- Not listed
- Weakness
- CWE-327: Use of a broken or risky cryptographic algorithm
- Affected
- thimpress/learnpress
- Source
- contact@wpscan.com
In plain terms
It can be reached over a network, but only by someone who already has an account, so stolen or shared credentials are the usual way in.
- Reached from
- Over a network. If the affected system can be reached from the internet, so can the flaw.
- Effort
- Nothing outside the attacker's control has to line up, so an attack can be repeated reliably.
- Login needed
- An ordinary user account.
- Someone else involved
- No. Nobody has to click, open or approve anything.
- At risk
- Reading data: none. Changing data: limited. Stopping the service: none.
Read from the CVSS 3.1 vector above. It describes the flaw itself, not how your own systems are set up.
The first public exploit in Exploit-DB is dated 2 February 2022, 26 days before the record was published.
EPSS 3.2% since 5 December 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
Public exploits (1)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
Where to go from here
One vulnerability is rarely the whole question. These are free, and none of them asks for an account.
By email
Our briefing by email: what changed, what to patch and what it means for a UK organisation. Written for the people who have to act on it.
References
- https://bozogullarindan.com/en/2022/01/wordpress-learnpress-plugin-4.1.4.1-arbitrary-image-renaming/Exploit, Third Party Advisory
- https://github.com/LearnPress/learnpress/commit/d1dc4af7ef2950f1000abc21bd9520fb3eb98fafPatch, Third Party Advisory
- https://wpscan.com/vulnerability/0d95ada6-53e3-4a80-a395-eacd7b090f26Exploit, Third Party Advisory
- https://bozogullarindan.com/en/2022/01/wordpress-learnpress-plugin-4.1.4.1-arbitrary-image-renaming/Exploit, Third Party Advisory
- https://github.com/LearnPress/learnpress/commit/d1dc4af7ef2950f1000abc21bd9520fb3eb98fafPatch, Third Party Advisory
- https://wpscan.com/vulnerability/0d95ada6-53e3-4a80-a395-eacd7b090f26Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.