GitHub Advisoryadvisory · Maven

GHSA-6f54-3qr9-pjgj Unauthenticated Access Via OAI-PMH

HIGH Published 2020-01-30 Modified 2021-01-08 Official page ↗
Aliases
CVE-2020-5228
Ecosystem
Maven
Packages
org.opencastproject:opencast-oaipmh-api
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
Weaknesses
CWE-862
Reviewed
2020-01-30

Affected packages

• Maven org.opencastproject:opencast-oaipmh-api: < 7.6 → fixed in 7.6 • Maven org.opencastproject:opencast-oaipmh-api: >= 8.0, < 8.1 → fixed in 8.1

Description

Impact Media publication via OAI-PMH allows unauthenticated public access to all media and metadata by default. OAI-PMH is part of the default workflow and is activated by default, requiring active user intervention of users to protect media. This leads to users unknowingly handing out public access to events without their knowledge. Patches The problem has been addressed in Opencast 7.6 and 8.1 where the OAI-PMH endpoint is configured to require users with `ROLE_ADMIN` by default. In addition to this, Opencast 9 removes the OAI-PMH publication from the default workflow, making the publication a conscious decision users have to make by updating their workflows. Workarounds In the organization security configuration (`etc/security/mh_default_org.xml`), change the roles required for accessing `/oaipmh` from `ROLE_ANONYMOUS` to `ROLE_ADMIN`. References • Public access configuration in the organization's security configuration For more information If you have any questions or comments about this advisory: • Open an issue in opencast/opencast • For security-relevant information, email us at [email protected]

Related

Alias · CVE (1)

  • CVE-2020-5228 Opencast before 8.1 and 7.6 allows unauthorized public access to all media and metadata by default via OAI-PMH. vulnerability

Weakness · CWE (1)

  • CWE-862 Missing Authorization weakness

References