The analysis of the security advisory and the associated patch commit 8067d6b reveals two vulnerable functions in server/handlers_api.go. The primary vulnerability, and the focus of the CVE, is the complete lack of authentication in the Server.handleWebRTCSourceOffer function. This allowed unauthenticated attackers to hijack broadcast streams. The patch rectifies this by adding robust authentication and rate-limiting mechanisms, mirroring the security controls on other ingest paths.
A secondary, but also significant, vulnerability was addressed in the Server.handleGoLiveChunk function. This function was vulnerable to Cross-Site Request Forgery (CSRF) and lacked proper authorization checks. An attacker could exploit this to force an authenticated administrator's browser to broadcast malicious content to any mount. The patch mitigates this by adding explicit CSRF and access control checks. Both functions are critical as they handle the ingestion of media streams, and their exploitation has a high impact on the integrity of the service.