[MAVEN:GHSA-59G4-HPG3-3GCP] Files Accessible to External Parties in Opencast

Severity Critical
Affected Packages 1
Fixed Packages 1
CVEs 1

Opencast before version 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.

Impact

Before Opencast 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.

For example, to expose the custom.properties of develop.opencast.org via the asset manager, an attacker could have run:


curl -f -i -u admin:opencast \
https://develop.opencast.org/ingest/addMediaPackage/fast \
-F 'flavor=presenter/source'\
-F mediaUri=file:///srv/opencast/opencast-dist-allinone/etc/custom.properties\
-F title="custom.properties"

An attacker would need to have the privileges required to add new media to exploit this. But these are often widely given.

Patches

The issue has been fixed in Opencast 10.6 and 11.0.

Workarounds

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.

References

For more information

If you have any questions or comments about this advisory:
* Open an issue in our issue tracker
* Email us at security@opencast.org

ID
MAVEN:GHSA-59G4-HPG3-3GCP
Severity
critical
URL
https://github.com/advisories/GHSA-59g4-hpg3-3gcp
Published
2021-12-14T21:44:03
(2 years ago)
Modified
2023-02-01T05:07:03
(19 months ago)
Rights
Maven Security Team
Type Package URL Namespace Name / Product Version Distribution / Platform Arch Patch / Fix
Affected pkg:maven/org.opencastproject/opencast-ingest-service-impl org.opencastproject opencast-ingest-service-impl < 10.6
Fixed pkg:maven/org.opencastproject/opencast-ingest-service-impl org.opencastproject opencast-ingest-service-impl = 10.6
# CVE Description CVSS EPSS EPSS Trend (30 days) Affected Products Weaknesses Security Advisories Exploits PoC Pubblication Date Modification Date
# CVE Description CVSS EPSS EPSS Trend (30 days) Affected Products Weaknesses Security Advisories PoC Pubblication Date Modification Date
Loading...