CVE-2021-41242

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:frentix:openolat:*:*:*:*:*:*:*:*
cpe:2.3:a:frentix:openolat:*:*:*:*:*:*:*:*

History

21 Nov 2024, 06:25

Type Values Removed Values Added
References () https://github.com/OpenOLAT/OpenOLAT/commit/336d5ce80681be61a0bbf4f73d2af5d1ff67e93a - Patch, Third Party Advisory () https://github.com/OpenOLAT/OpenOLAT/commit/336d5ce80681be61a0bbf4f73d2af5d1ff67e93a - Patch, Third Party Advisory
References () https://github.com/OpenOLAT/OpenOLAT/commit/c450df7d7ffe6afde39ebca6da9136f1caa16ec4 - Patch, Third Party Advisory () https://github.com/OpenOLAT/OpenOLAT/commit/c450df7d7ffe6afde39ebca6da9136f1caa16ec4 - Patch, Third Party Advisory
References () https://github.com/OpenOLAT/OpenOLAT/security/advisories/GHSA-62hv-rfp4-hmrm - Third Party Advisory () https://github.com/OpenOLAT/OpenOLAT/security/advisories/GHSA-62hv-rfp4-hmrm - Third Party Advisory
References () https://jira.openolat.org/browse/OO-5819 - Permissions Required, Vendor Advisory () https://jira.openolat.org/browse/OO-5819 - Permissions Required, Vendor Advisory

Information

Published : 2021-12-10 23:15

Updated : 2024-11-21 06:25


NVD link : CVE-2021-41242

Mitre link : CVE-2021-41242

CVE.ORG link : CVE-2021-41242


JSON object : View

Products Affected

frentix

  • openolat
CWE
CWE-23

Relative Path Traversal

CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')