CVE-2020-5228: Unauthenticated Access Via OAI-PMH in org.opencastproject:opencast-oaipmh-api

Summary

30/01/2020
Yes i
High
7.6

CVE-2020-5228: Unauthenticated Access Via OAI-PMH. Affects org.opencastproject:opencast-oaipmh-api across 2 version ranges.

< 7.6 >= 8.0, < 8.1

Fixed in 7.6 or 8.1, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The org.opencastproject:opencast-oaipmh-api package is a component of the Opencast project, an open-source platform for managing and publishing audiovisual content. It provides functionality for media publication via OAI-PMH (Open Archives Initiative Protocol for Metadata Harvesting). OAI-PMH allows for the retrieval of metadata and media resources from Opencast. However, due to a vulnerability, unauthenticated public access is granted to all media and metadata by default, potentially exposing sensitive information.

Vulnerability Detail

The vulnerability (CVE-2020-5228) arises from the default configuration of OAI-PMH in Opencast. By default, OAI-PMH is activated and allows unauthenticated access to media and metadata. This means that anyone can access and retrieve media resources without any authentication or authorization. This can lead to unintended public access to events and media content without the knowledge of the users. The impact of this vulnerability is significant as it compromises the confidentiality and privacy of the media and metadata stored in Opencast.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 7.6 7.6
  • >= 8.0, < 8.1 8.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

If updating to the recommended versions is not immediately feasible, a workaround can be implemented by modifying the organization security configuration file 'etc/security/mh_default_org.xml'. In this file, the roles required for accessing '/oaipmh' can be changed from 'ROLE_ANONYMOUS' to 'ROLE_ADMIN'. This will restrict access to the OAI-PMH endpoint to only users with administrative privileges.

Conclusion

The vulnerability (CVE-2020-5228) in the org.opencastproject:opencast-oaipmh-api package allows unauthenticated access to media and metadata in Opencast. To mitigate this vulnerability, it is recommended to update to Opencast version 7.6 or 8.1, or modify the organization security configuration. Additional access controls can also be implemented at the network or infrastructure level. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for org.opencastproject:opencast-oaipmh-api →

Share this vulnerability

FAQ

The impact of this vulnerability is that unauthenticated users can access and retrieve media and metadata from Opencast, potentially exposing sensitive information without the knowledge of the users.

To fix this vulnerability, update to Opencast version 7.6 or 8.1. Alternatively, modify the organization security configuration file to restrict access to the OAI-PMH endpoint.

OAI-PMH (Open Archives Initiative Protocol for Metadata Harvesting) is a protocol for sharing metadata and resources between repositories. In Opencast, it is used for media publication and retrieval.

Yes, starting from Opencast version 9, OAI-PMH publication is removed from the default workflow. Users have to update their workflows to enable OAI-PMH publication.

Yes, if updating to the recommended versions or modifying the security configuration is not feasible, additional access controls can be implemented at the network or infrastructure level to restrict access to the OAI-PMH endpoint.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 7.6 7.6
  • >= 8.0, < 8.1 8.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback