Skip to content

Path Traversal in Folder Component Leading to Local File Inclusion

High
gnaegi published GHSA-m8j5-837g-2p3f Oct 15, 2021

Package

No package listed

Affected versions

< 15.5.8

Patched versions

15.5.8

Description

Impact

By manipulating the HTTP request an attacker can modify the path of a requested file download in the folder component to point to anywhere on the target system.

The attack could be used to read any file accessible 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 or the enabled guest user feature together with the usage of the folder component in a course. The attack does not allow writing of arbitrary files, it allows only reading of files and also only ready of files that the attacker knows the exact path which is very unlikely at least for OpenOlat data files.

Patches

The problem is fixed in version 15.5.8 and 16.0.1 It is advised to upgrade to version 16.0.x

Workarounds

There are no known workarounds to fix this problem, an upgrade is necessary.

References

https://jira.openolat.org/browse/OO-5696 (only visible to members of the OpenOlat partner program)

For more information

If you have any questions or comments about this advisory:
Email us at contact@openolat.org

Severity

High

CVE ID

CVE-2021-41152

Weaknesses