by divtxt · 14y ago · 0 comments
What I don't get is how arbitrary cross-site POSTs with malicious values are allowed. As far as I can tell, anyone can post this form:
<form action="http://bank.com/send_money><input name="to_account" value="SCAMMER-1234"></form>
Worse, one article will tell you to only allow Referrer == "bank.com", and then another will tell you that even that is no longer enough?!!!
Why can't we change the browser or the web server layer to prevent this by default?!
So, in the context of this discussion, why don't the browsers make X-Frame-Origin: DENY the default behavior?????
It's user input. Don't trust user input.