CVE-2021-41242: OpenOlat - Path Traversal
- Cve: CVE-2021-41242
- Name: OpenOlat - Path Traversal
- 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.
- Impact: Attackers can write files in web root or outside, potentially leading to remote code execution or system compromise.
- Remediation: Update to version 15.5.12 or 16.0.5. Alternatively, disable the REST module or restrict access via firewall or web server rules.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_write
- Requirement type: logged_in
- Requirements: Attacker needs an OpenOlat user account, enabled REST API, and rights on a business object
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- Epss score: 0.01489
- Epss percentile: 0.74741
- Assignee: [email protected]
- Published at: 2021-12-10T23:15:09Z
- Age in days: 1810
- Modified at: 2026-06-17T04:08:09Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-41242
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-23 | Relative Path Traversal |
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/OpenOLAT/OpenOLAT/commit/336d5ce80681be61a0bbf4f73d2af5d1ff67e93a | Patch, Third Party Advisory |
| https://github.com/OpenOLAT/OpenOLAT/commit/c450df7d7ffe6afde39ebca6da9136f1caa16ec4 | Patch, Third Party Advisory |
| https://jira.openolat.org/browse/OO-5819 | Permissions Required, Vendor Advisory |
| https://github.com/OpenOLAT/OpenOLAT/security/advisories/GHSA-62hv-rfp4-hmrm | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| frentix:openolat | >= 16.0.0, < 16.0.5; < 15.5.12 | no | nvd | /v1/products/frentix/openolat |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| OpenOLAT/OpenOLAT | commit, fix, security_advisory | yes | /v1/repositories/OpenOLAT/OpenOLAT |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts