Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXZtbTYtdzRjZi03ZjN4

Authentication Bypass For Endpoints With Anonymous Access in Opencast

Impact

Using a remember-me cookie with an arbitrary username can cause Opencast to assume proper authentication for that user even if the remember-me cookie was incorrect given that the attacked endpoint also allows anonymous access.

This way, an attacker can, for example, fake a remember-me token, assume the identity of the global system administrator and request non-public content from the search service without ever providing any proper authentication.

Patches

This problem is fixed in Opencast 7.6 and Opencast 8.1

Workarounds

As a workaround for older, unpatched versions, disabling remember-me cookies in etc/security/mh_default_org.xml will mitigate the problem but will obviously also disable this feature without obvious indication. To deactivate this, remove the following line from the security configuration:

<sec:remember-me … />

References

For more information

If you have any questions or comments about this advisory:

Permalink: https://github.com/advisories/GHSA-vmm6-w4cf-7f3x
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXZtbTYtdzRjZi03ZjN4
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: over 4 years ago
Updated: over 1 year ago


CVSS Score: 8.7
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Identifiers: GHSA-vmm6-w4cf-7f3x, CVE-2020-5206
References: Repository: https://github.com/opencast/opencast
Blast Radius: 13.3

Affected Packages

maven:org.opencastproject:opencast-kernel
Dependent packages: 19
Dependent repositories: 34
Downloads:
Affected Version Ranges: >= 8.0, < 8.1, < 7.6
Fixed in: 8.1, 7.6
All affected versions:
All unaffected versions: