Users of the LearnPress WordPress plugin before 4.1.5 can upload an image as a profile avatar after the registration. After this process…
WPScan·CWE-327·Published 2022-02-28
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.
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.
Los usuarios del plugin LearnPress de WordPress versiones anteriores a 4.1.5, pueden subir una imagen como avatar de perfil tras el registro. Tras este proceso, el usuario recorta y guarda la imagen. A continuación, se envía al servidor una petición "POST" que contiene el nombre de la imagen suministrado por el usuario para cambiar el nombre y recortar la imagen. Como resultado de esta petición, el nombre de la imagen suministrada por el usuario es cambiada con un valor MD5. Este proceso sólo puede llevarse a cabo cuando el tipo de la imagen es JPG o PNG. Un atacante puede usar esta vulnerabilidad para cambiar el nombre de un archivo de imagen arbitrario. Al hacer esto, podrían destruir el diseño del sitio web.
| Version | Type | Source | Base | Exp | Impact | Vector |
|---|---|---|---|---|---|---|
| 2.0 | Primary | NVD | 3.5 | 6.8 | 2.9 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| 3.1 | Primary | NVD | 4.3 | 2.8 | 1.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |