CVE-2021-41242
JSON

8.1high

Path Traversal in some REST methods leading to file upload to arbitrary places

Severity
8.1high CVSS:3.1 by GitHub_M
Exploit likelihood
1.49% (higher than 74% of CVEs)
Published
Last changed
Assigned by
GitHub_M

Description

OpenOlat is a web-basedlearning management system. A path traversal vulnerability exists in OpenOlat prior to versions 15.5.12 and 16.0.5. By providing a filename that contains a relative path as a parameter in some REST methods, it is possible to create directory structures and write files anywhere on the target system. The attack could be used to write files anywhere 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, an enabled REST API and the rights on a business object to call the vulnerable REST calls. The problem is fixed in version 15.5.12 and 16.0.5. There is a workaround available. The vulnerability requires the REST module to be enabled. Disabling the REST module or limiting the REST module via some firewall or web-server access rules to be accessed only be trusted systems will mitigate the risk.

Affected

Product or packageVersionsReported by
OpenOLAT OpenOLAT< 15.5.12, >= 16.0.0, < 16.0.5CVE List
frentix openolatbefore 15.5.12, from 16.0.0 before 16.0.5NVD

All scores

GitHub_M8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
NVD7.9high CVSS:2.0AV:N/AC:M/Au:S/C:N/I:C/A:C

Classification

What each source says

CVE List

OpenOlat is a web-basedlearning management system. A path traversal vulnerability exists in OpenOlat prior to versions 15.5.12 and 16.0.5. By providing a filename that contains a relative path as a parameter in some REST methods, it is possible to create directory structures and write files anywhere on the target system. The attack could be used to write files anywhere 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, an enabled REST API and the rights on a business object to call the vulnerable REST calls. The problem is fixed in version 15.5.12 and 16.0.5. There is a workaround available. The vulnerability requires the REST module to be enabled. Disabling the REST module or limiting the REST module via some firewall or web-server access rules to be accessed only be trusted systems will mitigate the risk.

NVD (es)

OpenOlat es un sistema de administración de aprendizaje basado en la web. Se presenta una vulnerabilidad de salto de ruta en OpenOlat versiones anteriores a 15.5.12 y 16.0.5. Al proporcionar un nombre de archivo que contiene una ruta relativa como parámetro en algunos métodos REST, es posible crear estructuras de directorio y escribir archivos en cualquier lugar del sistema de destino. El ataque podría ser usado para escribir archivos en cualquier lugar de la carpeta root de la web o fuera de ella, dependiendo de la configuración del sistema y del permiso correctamente configurado del usuario del servidor de aplicaciones. El ataque requiere una cuenta de usuario OpenOlat, una API REST habilitada y los derechos sobre un objeto de negocio para llamar a las llamadas REST vulnerables. El problema ha sido corregido en las versiones 15.5.12 y 16.0.5. Se presenta una solución disponible. La vulnerabilidad requiere que el módulo REST esté habilitado. Deshabilitar el módulo REST o limitar el módulo REST por medio de algún firewall o regla de acceso al servidor web para que sólo sea accedido a sistemas confiables mitigará el riesgo

References

Sources

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