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
the solution to this will probably be around an important initiative Snow is about to go through where we'd have to recommend some basic level of CSP to be integrated with Snow for Snow to be as secure as possible.
It will for sure address specifically the javascript: catastrophe...
Hm, in both cases (form and anchor tag) it uses javascript:, so maybe all properties have to be scanned, just like you suggested for data uris, so scripts can be prefixed with SNOW?
Definitely! 3-4 months ago, that would be exactly what I would have done.
But in those 3-4 months I was introduced to so many vulns in Snow involving non-sufficient HTML sanitization (mostly by @arxenix and @mmndaniel), that I got convinced that Snow cannot achieve its goal without the help of CSP (which btw circles back to your thread on twitter).
So atm, we're investigating what is the perfect balance of SNOW&CSP between "CSP too strict to use" and "CSP isn't strict enough to actually help Snow".
But the bottom line is that if we can find a good CSP balance that users will feel ok with adopting to use Snow security, it'll allow us to drop support for HTML based Snow vulns, as I'm losing hope for defending against those correctly..
Activity
[-]a click bypass[/-][+]more javascript uri bypasses[/+][-]more javascript uri bypasses[/-][+]more javascript uri bypasses with target attr[/+]weizman commentedon May 21, 2023
fml
weizman commentedon Jun 19, 2023
also
(making sure it is clear this isn't just in
htmlscope)weizman commentedon Jun 19, 2023
the solution to this will probably be around an important initiative Snow is about to go through where we'd have to recommend some basic level of CSP to be integrated with Snow for Snow to be as secure as possible.
It will for sure address specifically the
javascript:catastrophe...serapath commentedon Jul 4, 2023
Hm, in both cases (form and anchor tag) it uses
javascript:, so maybe all properties have to be scanned, just like you suggested for data uris, so scripts can be prefixed with SNOW?weizman commentedon Jul 10, 2023
Definitely! 3-4 months ago, that would be exactly what I would have done.
But in those 3-4 months I was introduced to so many vulns in Snow involving non-sufficient HTML sanitization (mostly by @arxenix and @mmndaniel), that I got convinced that Snow cannot achieve its goal without the help of CSP (which btw circles back to your thread on twitter).
So atm, we're investigating what is the perfect balance of SNOW&CSP between "CSP too strict to use" and "CSP isn't strict enough to actually help Snow".
You're welcome to jump in on this at #109!
But the bottom line is that if we can find a good CSP balance that users will feel ok with adopting to use Snow security, it'll allow us to drop support for HTML based Snow vulns, as I'm losing hope for defending against those correctly..