An unofficial, read-only Hacker News reader.

Credit card skimming scripts using WebRTC found on popular shopping sites (opens external site)

621 points by scanr 2 days ago | www.infohawk.com | 381 comments on HN

View full thread · View on Hacker News

Comment thread (3)

  1. 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.

    Replies (1)
    1. Connect-src 'none' does not actually block webrtc, only the setup.
      Replies (1)
      1. Wow, TIL. So this is about WebRTC.

        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.