Skip to main content
Legend
April 6, 2016
Answered

Security issue blocks correctly requested and permitted content in Firefox

  • April 6, 2016
  • 1 reply
  • 2323 views

Hi,

Since upgrading to Windows 10, I am frantically searching for a means to debug - currently, out of four installed browsers, only Firefox supports debugger player correctly...

Which would be ok, except...

For Firefox, and only for Firefox, when using latest debugger plugin, content requests outside of the containing domain fail with a security violation without even _attempting_ to read the valid (and available) crossdomain.xml for that resource.

In FIREFOX, I can read XML from feeds.<domainname> where I have feeds.<domainname>/crossdomain.xml in place

In FIREFOX,I CANNOT read JPG from img.<domainname> despite having img.<domainname>/crossdomain.xml in place

In _ALL_ other browsers, all assets are correctly requested and correctly displayed.

HOW CAN I FIX THIS?

G

PS: In case it matters; Win 10, 64 bit.

This topic has been closed for replies.
Correct answer Gaius Coffey

Ok, the ssl 3 thing was a red-herring.

The crossdomain.xml is now fixed.

I still cannot access the site...

It looks as if there is a caching thing going on somewhere - we have removed the HSTS that was causing the redirect to HTTPS. I have cleared all site history and tried resetting the site DBs as per https://support.mozilla.org/en-US/questions/919498

What I see now;

1. In Private, I can access http

2. In normal browsing, all requests are redirected to https

There are now probably three possibilities;

1. I need to uninstall / reinstall Firefox (quick test) to clear everything

2. The HSTS has somehow become lodged in an online system such as Akamai and needs to be flushed out

3. ... something else ...

I'll start with 1. because that's easy.


OK, so what we have done to resolve this;

1. Remove the root cause - HSTS entry on our asset domain forcing redirect to HTTPS

2. On machines where the problem HSTS was cached and could not be resolved by the Firefox KB article;

2.1. Uninstall Firefox

2.2. Remove all traces of Firefox - delete C:\Users\<username>\AppData\Local\Mozilla and C:\Users\<username>\AppData\Roaming\Mozilla

2.3 Reinstall Firefox

So...

That sucked.

1 reply

jeromiec83223024
Inspiring
April 6, 2016

The Flash Player security whitepaper has a good section on Cross-domain policy files.

White paper: Adobe Flash Player 10 security | Adobe Developer Connection

This article has good instructions on how to troubleshoot cross-domain policy failures:

Policy file changes in Flash Player 9 and Flash Player 10 | Adobe Developer Connection

See "User Logging" under the Workflows section.

The error messages are really explicit, so hopefully that's enough to get you on the right track.

If not, the error messages that you're logging, the relevant actionscript snippets and the contents of the relevant crossdomain.xml files (if they're not publicly accessible) would be really helpful in giving you useful advice.

Also, have you checked the JavaScript console?  Some browsers block things like mixed-mode content loading.  Are you doing anything else different in Firefox, like running ad blockers?

Legend
April 6, 2016

Thanks, but I am not a wet-behind-the-ears newbie and this app has been live in production for a number of years.

Unless you know of a Firefox specific crossdomain policy change that has occurred since FP12, then the crossdomain is not the problem.

1. The policy file exists and is incredibly permissive - just like for the XML request that works

2. Using bothof Security.allowDomain and Security.loadPolicyFile at startup have no effect

3. Where all other browsers request a policy for the JPG URL, Firefox does not (checked using network sniffer tools).

Please advise if there is a known Firefox issue and workaround. At this point, I am not certain whether it affects just Debug plugin or release plugin also.

One possibility is that the image URL is blocked by ad blocker (to be clear, it is_not_ an ad) as the behaviour is eerily similar to blocked domains, but currently I can neither confirm nor deny this. All I know is that XML loads using identical crossdomain and identical main domain.

There are only two differences that I am aware of at the moment;

1. JPG fails where XML succeeds

2. It only affects Firefox

Regards,

G

Sent from my iPad