[deleted]
-
LouiseRBaldwin
- Posts: 3
- Joined: Mon Apr 07, 2014 3:14 pm
[deleted]
[deleted]
Last edited by LouiseRBaldwin on Sun Jun 28, 2015 1:00 pm, edited 1 time in total.
Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0
- Giorgio Maone
- Site Admin
- Posts: 9530
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: InjectionChecker same-origin policy flaw
This has been deliberated design choice, based on:
[Edit]
Sorry, I wrote the above defense assuming you actually checked your statement, but it looks we already treat different schemes with same host name as different origins for cross-site request checks purposes, see my follow-up post below for a POC...
In facts, the false positives I mentioned are (safely) managed as ad-hoc exceptions.
[Edit 2]
The POC below failed on me because of some extra paranoid settings of mine, but it generally works. Sorry for the late night mistake.
Please check my 2nd post below, too.
- The availability of effective countermeasures against MITM attacks like the one you described (HSTS, ForceHTTPS, NoScript's built-in HTTPS options...)
- Known false positive issues which would be caused by the stricter policy you're descibing
[Edit]
Sorry, I wrote the above defense assuming you actually checked your statement, but it looks we already treat different schemes with same host name as different origins for cross-site request checks purposes, see my follow-up post below for a POC...
In facts, the false positives I mentioned are (safely) managed as ad-hoc exceptions.
[Edit 2]
The POC below failed on me because of some extra paranoid settings of mine, but it generally works. Sorry for the late night mistake.
Please check my 2nd post below, too.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
- Giorgio Maone
- Site Admin
- Posts: 9530
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: InjectionChecker same-origin policy flaw
Please try this.
Am I missing something?
[Edit]
Yes, I was missing my extra-paranoid settings.
In the general case (without HSTS etc.), my own "PoC" above succeeds. Trying the work-around hinted above, stay tuned
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
-
LouiseRBaldwin
- Posts: 3
- Joined: Mon Apr 07, 2014 3:14 pm
[deleted]
[deleted]
Last edited by LouiseRBaldwin on Sun Jun 28, 2015 1:00 pm, edited 2 times in total.
Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0
- Giorgio Maone
- Site Admin
- Posts: 9530
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: InjectionChecker same-origin policy flaw
Please check latest development build 2.6.8.20rc1, thank you.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0