CVE-2021-41242: Path Traversal in some REST methods leading to file upload to arbitrary places

Published Dec 10, 2021
·
Updated

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 Software

2 affected components
Frentix OpenOlat<15.5.12
Frentix OpenOlat>=16.0.0<16.0.5

Event History

Dec 10, 2021
CVE Published
via MITRE·10:25 PM
Data Sourced
via MITRE·10:25 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is CVE-2021-41242?

CVE-2021-41242 is a path traversal vulnerability in OpenOlat, a web-based learning management system.

2

What is the severity of CVE-2021-41242?

The severity of CVE-2021-41242 is high with a CVSS score of 8.1.

3

Which software versions are affected by CVE-2021-41242?

OpenOlat versions up to 15.5.12 and between 16.0.0 to 16.0.5 are affected by CVE-2021-41242.

4

How does CVE-2021-41242 work?

CVE-2021-41242 allows an attacker to perform path traversal by providing a filename with a relative path as a parameter in some REST methods, enabling them to create directory structures and write files anywhere on the system.

5

How can I fix CVE-2021-41242?

To fix CVE-2021-41242, users should update their OpenOlat installations to versions 15.5.12 or 16.0.5, which contain the necessary security patches.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203