CVE-2021-39180

Published on: 08/31/2021 12:00:00 AM UTC

Last Modified on: 09/09/2021 12:31:00 PM UTC

CVE-2021-39180 - advisory for GHSA-x95v-2pgj-9x8j

Source: Mitre Source: Nist Print: PDF PDF
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Certain versions of Openolat from Frentix contain the following vulnerability:

OpenOLAT is a web-based learning management system (LMS). A path traversal vulnerability exists in versions prior to 15.3.18, 15.5.3, and 16.0.0. Using a specially prepared ZIP file, it is possible to overwrite any file that is writable by the application server user (e.g. the tomcat user). Depending on the configuration this can be limited to files of the OpenOlat user data directory, however, if not properly set up, the attack could also be used to overwrite application server config files, java code or even operating system files. The attack could be used to corrupt or modify any OpenOlat file such as course structures, config files or temporary test data. Those attack would require in-depth knowledge of the installation and thus more theoretical. If the app server configuration allows the execution of jsp files and the path to the context is known, it is also possible to execute java code. If the app server runs with the same user that is used to deploy the OpenOlat code or has write permissions on the OpenOlat code files and the path to the context is know, code injection is possible. The attack requires an OpenOlat user account to upload a ZIP file and trigger the unzip method. It can not be exploited by unregistered users. The problem is fixed in versions 15.3.18, 15.5.3 and 16.0.0. There are no known workarounds aside from upgrading.

  • CVE-2021-39180 has been assigned by URL Logo [email protected] to track the vulnerability - currently rated as HIGH severity.
  • Affected Vendor/Software: URL Logo OpenOLAT - OpenOLAT version < 15.3.18
  • Affected Vendor/Software: URL Logo OpenOLAT - OpenOLAT version >= 15.4.0, < 15.5.3

CVSS3 Score: 8.8 - HIGH

Attack
Vector
Attack
Complexity
Privileges
Required
User
Interaction
NETWORK LOW LOW NONE
Scope Confidentiality
Impact
Integrity
Impact
Availability
Impact
UNCHANGED HIGH HIGH HIGH

CVSS2 Score: 9 - HIGH

Access
Vector
Access
Complexity
Authentication
NETWORK LOW SINGLE
Confidentiality
Impact
Integrity
Impact
Availability
Impact
COMPLETE COMPLETE COMPLETE

CVE References

Description Tags Link
Log in - OpenOlat Issue Management jira.openolat.org
text/html
URL Logo MISC jira.openolat.org/browse/OO-5549
OO-5549: check parent by unzip · OpenOLAT/[email protected] · GitHub github.com
text/html
URL Logo MISC github.com/OpenOLAT/OpenOLAT/commit/5668a41ab3f1753102a89757be013487544279d5
OO-5549: fix the wiki import and add some unit tests · OpenOLAT/[email protected] · GitHub github.com
text/html
URL Logo MISC github.com/OpenOLAT/OpenOLAT/commit/699490be8e931af0ef1f135c55384db1f4232637
Path Traversal in Archive Handling Leading to Code Execution · Advisory · OpenOLAT/OpenOLAT · GitHub github.com
text/html
URL Logo CONFIRM github.com/OpenOLAT/OpenOLAT/security/advisories/GHSA-x95v-2pgj-9x8j
OO-5549: replace the wildfly assert by a junit one · OpenOLAT/[email protected] · GitHub github.com
text/html
URL Logo MISC github.com/OpenOLAT/OpenOLAT/commit/2cf73c972e23ccd69cc1e103e43c2c8253571d3e

Known Affected Configurations (CPE V2.3)

Type Vendor Product Version Update Edition Language
ApplicationFrentixOpenolatAllAllAllAll
  • cpe:2.3:a:frentix:openolat:*:*:*:*:*:*:*:*:

Social Mentions

Source Title Posted (UTC)
Twitter Icon @CVEreport CVE-2021-39180 : OpenOLAT is a web-based learning management system LMS . A path traversal vulnerability exists in… twitter.com/i/web/status/1… 2021-08-31 18:01:51
Twitter Icon @LinInfoSec Tomcat - CVE-2021-39180: github.com/OpenOLAT/OpenO… 2021-08-31 21:16:31
© CVE.report 2021 Twitter Nitter Twitter Viewer |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report