CVE-2021-43821

CRITICAL LAB

Opencast <9.10-10.6 - Path Traversal

Title source: llm

Description

Opencast is an Open Source Lecture Capture & Video Management for Education. Opencast before version 9.10 or 10.6 allows references to local file URLs in ingested media packages, allowing attackers to include local files from Opencast's host machines and making them available via the web interface. Before Opencast 9.10 and 10.6, Opencast would open and include local files during ingests. Attackers could exploit this to include most local files the process has read access to, extracting secrets from the host machine. An attacker would need to have the privileges required to add new media to exploit this. But these are often widely given. The issue has been fixed in Opencast 10.6 and 11.0. You can mitigate this issue by narrowing down the read access Opencast has to files on the file system using UNIX permissions or mandatory access control systems like SELinux. This cannot prevent access to files Opencast needs to read though and we highly recommend updating.

Exploits (1)

nomisec WRITEUP 3 stars
by Jackey0 · poc
https://github.com/Jackey0/opencast-CVE-2021-43821-env

Scores

CVSS v3 9.9
EPSS 0.0104
EPSS Percentile 77.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Lab Environment

COMMUNITY
Community Lab
docker pull webcenter/activemq:5.14.3
docker pull docker.elastic.co/elasticsearch/elasticsearch:7.10.2
docker pull jackey0/opencast_cve-2021-43821:10.5

Details

CWE
CWE-552
Status published
Products (2)
apereo/opencast < 10.6
org.opencastproject/opencast-ingest-service-impl 0 - 10.6Maven
Published Dec 14, 2021
Tracked Since Feb 18, 2026