CVE-2021-41152
JSON

7.7high

Path Traversal in Folder Component Leading to Local File Inclusion

Severity
7.7high CVSS:3.1 by GitHub_M
Exploit likelihood
1.24% (higher than 69% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

OpenOlat is a web-based e-learning platform for teaching, learning, assessment and communication, an LMS, a learning management system. In affected versions by manipulating the HTTP request an attacker can modify the path of a requested file download in the folder component to point to anywhere on the target system. The attack could be used to read any file accessible in the web root folder or outside, depending on the configuration of the system and the properly configured permission of the application server user. The attack requires an OpenOlat user account or the enabled guest user feature together with the usage of the folder component in a course. The attack does not allow writing of arbitrary files, it allows only reading of files and also only ready of files that the attacker knows the exact path which is very unlikely at least for OpenOlat data files. The problem is fixed in version 15.5.8 and 16.0.1 It is advised to upgrade to version 16.0.x. There are no known workarounds to fix this problem, an upgrade is necessary.

Affected

Product or packageVersionsReported by
OpenOLAT OpenOLAT< 15.5.8CVE List
frentix openolatbefore 15.5.8NVD

All scores

GitHub_M7.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
NVD7.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
NVD4.0medium CVSS:2.0AV:N/AC:L/Au:S/C:P/I:N/A:N

Classification

What each source says

CVE List

OpenOlat is a web-based e-learning platform for teaching, learning, assessment and communication, an LMS, a learning management system. In affected versions by manipulating the HTTP request an attacker can modify the path of a requested file download in the folder component to point to anywhere on the target system. The attack could be used to read any file accessible in the web root folder or outside, depending on the configuration of the system and the properly configured permission of the application server user. The attack requires an OpenOlat user account or the enabled guest user feature together with the usage of the folder component in a course. The attack does not allow writing of arbitrary files, it allows only reading of files and also only ready of files that the attacker knows the exact path which is very unlikely at least for OpenOlat data files. The problem is fixed in version 15.5.8 and 16.0.1 It is advised to upgrade to version 16.0.x. There are no known workarounds to fix this problem, an upgrade is necessary.

NVD (es)

OpenOlat es una plataforma de e-learning basada en la web para la enseñanza, el aprendizaje, la evaluación y la comunicación, un LMS, un sistema de administración de aprendizaje. En las versiones afectadas, al manipular la petición HTTP, un atacante puede modificar la ruta de descarga de un archivo solicitado en el componente de carpetas para que apunte a cualquier lugar del sistema de destino. El ataque podría ser usado para leer cualquier archivo accesible en la carpeta root de la web o fuera de ella, dependiendo de la configuración del sistema y del permiso debidamente configurado del usuario del servidor de aplicaciones. El ataque requiere una cuenta de usuario de OpenOlat o la función de usuario invitado habilitada junto con el uso del componente de la carpeta en un curso. El ataque no permite la escritura de archivos arbitrarios, sólo permite la lectura de archivos y también sólo lista de archivos que el atacante conoce la ruta exacta, lo cual es muy poco probable al menos para los archivos de datos de OpenOlat. El problema se ha corregido en las versiones 15.5.8 y 16.0.1. Se aconseja actualizar a la versión 16.0.x. No se presentan soluciones conocidas para corregir este problema, es necesario actualizar

References

Sources

SourceRecordLicence
CVE ListCVE-2021-41152 changed 2024-08-04CVE Terms of Use
NVDCVE-2021-41152 changed 2026-06-17Public domain