Relative Path Traversal in OpenOlat - CVE-2021-41242

 

Relative Path Traversal in OpenOlat - CVE-2021-41242

Published: December 10, 2021 / Updated: April 27, 2026


Vulnerability identifier: #VU128160
CSH Severity: Low
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2021-41242
CWE-ID: CWE-23
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
OpenOlat
Software vendor:
OpenOlat

Description

The vulnerability allows a remote user to write files to arbitrary locations on the target system.

The vulnerability exists due to relative path traversal in some REST methods when processing a filename parameter containing a relative path. A remote user can supply a crafted filename parameter to write files to arbitrary locations on the target system.

Exploitation requires an enabled REST API and rights on a business object to call the vulnerable REST methods.


Remediation

Install security update from vendor's website.

External links