I don't see what this has anything to do with Web RTC, a normal ajax requests would have worked if the server define CORS, and even without, you can push a POST form button cross domains anyway.
Unless the site just forgot to add Web RTC in their connect-src CSP?
In which case it's not about WebRTC, it's about the site owner not securing their website.
I just tried, and you cannot block it reliably. Even window.RTCPeerConnection = undefined can be undone, you can create an iframe and set it back to iframe.contentWindow.RTCPeerConnection.
Unless the site just forgot to add Web RTC in their connect-src CSP?
In which case it's not about WebRTC, it's about the site owner not securing their website.
Replies (1)
Replies (1)
I just tried, and you cannot block it reliably. Even window.RTCPeerConnection = undefined can be undone, you can create an iframe and set it back to iframe.contentWindow.RTCPeerConnection.
Thanks for the heads up.