You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Snow overrides the URL.createObjectURL function to only allow creation of Blob URLs if the blob type is included in a specific whitelist that Snow keeps. However, if the blob isn't an "artificial blob" (wasn't created using the Blob() constructor), this check isn't performed, and the blob URL is created regardless of the blob type.
Because an attacker can get access to a non-artificial blobs with an arbitrary content and type using the Response.prototype.blob function, this can be exploited in order to create URLs for arbitrary blobs. Here is a short demo for that:
Snow overrides the
URL.createObjectURL
function to only allow creation of Blob URLs if the blob type is included in a specific whitelist that Snow keeps. However, if the blob isn't an "artificial blob" (wasn't created using theBlob()
constructor), this check isn't performed, and the blob URL is created regardless of the blob type.Because an attacker can get access to a non-artificial blobs with an arbitrary content and type using the
Response.prototype.blob
function, this can be exploited in order to create URLs for arbitrary blobs. Here is a short demo for that:This can be then used to bypass Snow, using a PoC such as the following:
The text was updated successfully, but these errors were encountered: