Test Blob URLs for origin recovery
When a web application uses Blob URLs, test if you can recover the origin by copying and pasting the URL into a new tab. If the window.origin changes from 'null' to the application's origin, you may be able to execute arbitrary JavaScript on that origin. To automate this, use JavaScript to access location.href and exfiltrate the Blob URL using WebRTC's STUN protocol, which can bypass Content Security Policy restrictions. Then, navigate to the leaked Blob URL in a new tab to recover the origin.
Follow #blob-url, #sandbox or #xss for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.
Comments
No comments yet.