CVE-2021-41242CWE-23

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

High · published December 10, 2021

CVSS v3.1
8.1
EPSS
1%
Percentile
73.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01489 · 73.9th percentile
Weakness
CWE-23 · Relative Path Traversal
Published
2021-12-10T22:25Z
EPSS history
Timeline
  • 10 DEC 22:25Z
    Path Traversal in some REST methods leading to file upload to arbitrary places
    cvelistv5