Access Restriction Bypass Affecting org.opencastproject:opencast-security-aai package, versions [,9.10)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
1.46% (73rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGOPENCASTPROJECT-2320172
  • published15 Dec 2021
  • disclosed15 Dec 2021
  • creditLars Kiesow

Introduced: 15 Dec 2021

CVE-2021-43807  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade org.opencastproject:opencast-security-aai to version 9.10 or higher.

Overview

org.opencastproject:opencast-security-aai is a package for Open Source Lecture Capture & Video Management for Education.

Affected versions of this package are vulnerable to Access Restriction Bypass due to allowing HTTP method spoofing, which makes it possible to change the assumed HTTP method via URL parameter. This allows attackers, for example, to turn HTTP GET requests into PUT requests or an HTTP form to send DELETE requests.

PoC

The following GET request would create a new user:

% curl -i -u admin:opencast \
  'https://legacy.opencast.org/admin-ng/users/test.json?_method=PUT&username=test&password=attack'
HTTP/2 200
…

If an admin is logged in to legacy.opencast.org and accidentally clicks this link, a user will silently be created.

CVSS Base Scores

version 3.1