(no title)
owenthejumper | 2 months ago
Unfortunately OWASP rules the world. Not because it's the best way to protect your apps, but because the corporate overloads in infosec teams need to check the box with "Complies with OWASP Top 10"
owenthejumper | 2 months ago
Unfortunately OWASP rules the world. Not because it's the best way to protect your apps, but because the corporate overloads in infosec teams need to check the box with "Complies with OWASP Top 10"
miguelgrinberg|2 months ago
This was actually a mistake. If you look at the OWASP cheat sheet today you will see that Fetch Metadata is a top-level alternative to the traditional token-based protection.
I'm not sure I understand why, but the cheat sheet page was modified twice. First it entered the page with a top-level mention. Then someone slipped a revision that downgraded it to defense in depth without anyone noticing. It has now been reverted back to the original version.
Some details on what happened are in this other discussion from a couple of days ago: https://news.ycombinator.com/item?id=46347280.
8n4vidtmkvmk|2 months ago
It's possible for a server to treat them as case sensitive, but that seems like a bad idea.
thomascountz|2 months ago
HTTP/2, headers are not unique if they only differ by casing, but they must be encoded as lowercase.
HTTP/1.X, headers are insensitive to casing for reasons of comparison and encoding. So, if Sec-Fetch-Site is sensitive at all, it would be sec-fetch-site when sending via HTTP/2 and you're responsive for encoding/decoding.[1]: https://datatracker.ietf.org/doc/html/rfc7540#section-8.1.2
[2]: https://datatracker.ietf.org/doc/html/rfc2616#section-4.2
thatwasunusual|2 months ago
> Since when are they case sensitive?
[...]
jonway|2 months ago
nchmy|2 months ago
tptacek|2 months ago
scott_w|2 months ago
Unfortunately, the customer purchasing your product doesn’t know this and (naturally) trusts their own internal experts over you. Especially given all their other suppliers are more than happy to state they’re certified!
ozim|2 months ago
flomo|2 months ago
unknown|2 months ago
[deleted]