Inappropriate implementation in WebRTC (CVE-2026-11200)
A logic flaw in WebRTC's handling of BUNDLE groups in provisional answers lets a malicious peer skip DTLS fingerprint validation for a Data Channel. The Data Channel is then placed on a standalone transport with DTLS disabled, so SCTP data could be sent in plaintext.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 44 days
Project Fortify, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports without the Chrome Security team. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.
Overview: A logic flaw in WebRTC's SDP processing creates a desynchronization between security validation and transport assignment when handling BUNDLE groups in provisional answers (kPrAnswer). This allows a malicious peer to bypass fingerprint checks and force a Data Channel onto a standalone, unencrypted transport. Consequently, SCTP traffic may be transmitted in plaintext over the network.
Affected files:
third_party/webrtc/pc/jsep_transport_collection.ccthird_party/webrtc/pc/sdp_offer_answer.ccthird_party/webrtc/media/sctp/dcsctp_transport.ccthird_party/webrtc/pc/jsep_transport.ccthird_party/webrtc/pc/jsep_transport_controller.ccthird_party/webrtc/p2p/dtls/dtls_transport.cc
Estimated timestamp from git blame: 2021-08-11
Summary
A potential vulnerability exists in WebRTC's Session Description Protocol (SDP) processing that allows a malicious peer to downgrade the security of SCTP Data Channels, causing them to transmit data in plaintext. This occurs due to a desynchronization between the SDP validation layer (VerifyCrypto) and the transport management layer (BundleManager) when processing a provisional answer (kPrAnswer).
Root Cause Analysis
The issue stems from how BUNDLE groups are handled during a kPrAnswer under the default kBundlePolicyBalanced policy:
- Validation Bypass (
VerifyCrypto): Inthird_party/webrtc/pc/sdp_offer_answer.cc, theVerifyCryptofunction verifies DTLS fingerprints. It relies on BUNDLE groups parsed directly from the incoming SDP. If a media section is part of a BUNDLE group but is not the first section (the leader),VerifyCryptoassumes it will share the leader's transport and explicitly skips the fingerprint check (continue;at line 439). - Transport Desync (
BundleManager): Inthird_party/webrtc/pc/jsep_transport_collection.cc,BundleManager::Updatemanages the internal transport grouping. Under the default balanced policy, this function explicitly ignores BUNDLE groups inkPrAnswermessages (a known limitation marked byTODO(bugs.webrtc.org/3349)). Therefore, the transport layer does not establish the BUNDLE group. - Unencrypted Transport Creation: Because the BUNDLE group is not established internally,
JsepTransportController::ApplyDescription_ntreats the Data Channel as unbundled and creates a standalone transport for it. SinceVerifyCryptobypassed the validation, the standalone transport is created without a remote fingerprint. InJsepTransport::NegotiateAndSetDtlsParameters, the missing remote fingerprint results in the underlying DTLS transport explicitly disabling DTLS (dtls_active_ = false). - Plaintext Transmission:
DcSctpTransportchecks only if the transport iswritable(), entirely unaware of thedtls_active_state. The underlyingDtlsTransportInternalImplhandlesdtls_active_ == falseby bypassing encryption and sending the SCTP payload directly to the raw ICE transport.
Potential Steps to Reproduce
Note: These are suggested steps based on source code analysis; a working PoC has not been executed.
- A victim application initiates a connection with an attacker.
- The attacker ensures the initial negotiation uses a
kAnswerwithout a BUNDLE group to keep the victim's internalBundleManagerstate empty. - The victim subsequently initiates a renegotiation (e.g., via
createOffer()), which defaults to generating an offer with a BUNDLE group containing an audio/video track and the Data Channel. - The attacker intercepts the renegotiation and responds with a malicious
kPrAnswer. - In the
kPrAnswer, the attacker specifies the BUNDLE group but deliberately omits thea=fingerprintattribute for the Data Channel's media section. - The victim calls
setRemoteDescription(pranswer). Validation succeeds, but the Data Channel is assigned to a standalone transport with DTLS disabled. - When the victim attempts to send data via the Data Channel, the SCTP packets are transmitted over the network in plaintext.
Suggested Fix
- Fix BUNDLE Handling in kPrAnswer: Address the TODO in
BundleManager::Update(jsep_transport_collection.cc:40) so that internal BUNDLE groups are properly established and tracked for provisional answers, ensuring consistency withVerifyCrypto. - Harden Transport Layer: Modify
DtlsTransportInternalImplorJsepTransportto enforce that DTLS cannot be disabled (dtls_active_ = false) for SCTP Data Channels, or modifyDcSctpTransportto explicitly require an active, secure DTLS connection before marking itself as ready to send.
Evaluated with Chrome root at commit: 7353d249d9cacf9c7218e1d7b8a39cf39c72d646
Results so far have been promising, but there can be wrong deductions. If this proves to be a false positive, please close as WAI; data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the SDP validation layer skips the fingerprint check for non-leader BUNDLE members while the transport layer ignores BUNDLE groups in provisional answers, so the two disagree and an unvalidated standalone transport is created.
Impact
SCTP Data Channel traffic could be sent unencrypted over the network, exposing it to anyone who can observe the traffic; the report notes no working proof of concept was executed.
What the attacker needed
Attacker controls the remote peer; victim accepts a crafted provisional answer; victim app uses Data Channels
The fix
BUNDLE groups should be tracked properly for provisional answers so validation and transport agree, and the transport layer should refuse to disable DTLS for SCTP Data Channels.
How it was found
- A victim application connects to an attacker.
- The attacker keeps the first negotiation free of a BUNDLE group so the victim's internal state stays empty.
- The victim starts a renegotiation that includes a BUNDLE group with media and a Data Channel.
- The attacker replies to the renegotiation with a crafted provisional answer.
- That provisional answer lists the BUNDLE group but leaves out the fingerprint for the Data Channel section.
- The victim accepts the provisional answer; validation passes and the Data Channel gets a standalone transport with DTLS off, so later data goes out in plaintext.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
WebRTC is the technology browsers use for video calls and peer-to-peer data. Normally the two sides prove who they are with a fingerprint and encrypt everything with a protocol called DTLS. Here the code checked the fingerprint in one place but set up the connection in another, so a crafted negotiation message could make the browser send data without encryption.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.