Author Topic: Test for mixedcontent website...do not enforce HTTPS under all circumstances!  (Read 8032 times)

0 Members and 1 Guest are viewing this topic.

Offline polonus

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 33913
  • malware fighter
An example to test mixed content here: https://ie.microsoft.com/testdrive/browser/mixedcontent/assets/woodgrove.htm
Google chrome sitedetails: shows that the page also has sources that are not being protected
But checking here does not give that information: https://www.ssllabs.com/ssldb/analyze.html?d=https%3A%2F%2Fie.microsoft.com%2Ftestdrive%2Fbrowser%2Fmixedcontent%2Fassets%2Fwoodgrove.htm
Only that protocol support is 55 and SSL 2.0   INSECURE YES
Also tested here: https://sslanalyzer.comodoca.com/?url=https%3A%2F%2Fie.microsoft.com%2Ftestdrive%2Fbrowser%2Fmixedcontent%2Fassets%2Fwoodgrove.htm
Results: SSL v2.0   Supported   INSECURE

An HTTPS page that loads HTTP content leaves you vulnerable to Mixed Content attacks,
conclusion enforcing HTTPS leave you open to vulnerablilities,

polonus
« Last Edit: June 24, 2011, 07:31:35 PM by polonus »
Cybersecurity is more of an attitude than anything else. Avast Evangelists.

Use NoScript, a limited user account and a virtual machine and be safe(r)!

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89119
  • No support PMs thanks
In all honesty I have never been much concerned about mixed content pages as there is nothing I can do about the situation aside from blocking the mixed content. I generally avoid https other than for known sites as I have said before those who try to browse enforcing/using all https don't help themselves.

The network shield would still be working even if the original parent page is HTTPS, so if the mixed content comes from a malicious site it would still alert. As if this was intended and or a hacked site with mixed content your browser should at least warn you of the mixed content before you proceed with entering any logon details, etc.

I would also say that firefox with NoScript and Request Policy is likely to afford you some sort of protection as there is little point in trying to harvest this data if it can't be collected/sent to the originator of the scam.

Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.4.6112 (build 24.4.9067.762) UI 1.0.803/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Offline polonus

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 33913
  • malware fighter
Hi DavidR,

Thank you for pointing out to us all that the http-part of the mixed content on websites is being protected through the avast shields. That must be a reassuring thought to folks that find themselves from time to time on public networks in public places for instance at an airport, where they could fall victim to a Man in the Middle set-up that are more easily performed under such circumstances. Good to know that in-browser script protection like NoScript and RequestPolicy will protect against malicious javascript injections there. In Google Chrome the user is warned for visiting a mixedcontent site (see attached gif). Good we have pointed this out to forum users and hopefully they will watch their clicks...

polonus
Cybersecurity is more of an attitude than anything else. Avast Evangelists.

Use NoScript, a limited user account and a virtual machine and be safe(r)!

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89119
  • No support PMs thanks
Well that is an assumption on my part and not a certainty, as I don't know if it effectively being wrapped up in the parent HTTPS connection, it might get past the web shield. So that would have to be something answered by the developers.

As for the network shield, I don't believe it matters about the connection method/protocol as it is basically looking at the domain name. So hopefully that would give some limited protection.

Firefox is a little clearer in its warning about mixed content (as is IE8 and most likely IE9), which by default should be enabled.

If the capture and transmission of the data require scripts or cross site scripting then NoScript and RequestPolicy (don't know about BetterPrivacy) could well help in blocking that capture/transmission.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.4.6112 (build 24.4.9067.762) UI 1.0.803/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Offline polonus

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 33913
  • malware fighter
Hi DavidR,

Google announced that it is going to block HTTP-content on HTTPS-sites: http://googleonlinesecurity.blogspot.com/2011/06/trying-to-end-mixed-scripting.html
link from Google Online Security Blog, authors Chris Evans and Tom Sepez, Google Security Team,
From then on it is going to look like (png link taken from same source)
http://3.bp.blogspot.com/-DO9bA_NOFjQ/TfqIpU7Zb8I/AAAAAAAAIJI/ePLB8p3algc/s1600/blocked%2B%25281%2529.png

IE9 is also going to protect against mixed content: http://blogs.msdn.com/b/ie/archive/2011/06/23/internet-explorer-9-security-part-4-protecting-consumers-from-malicious-mixed-content.aspx  IEblog 16 author Eric Lawrence
Program Manager

Chrome tracks mixed scripting more precisely than Firefox or IE (as seen from the attachment in my previous posting) Here the user can install the Mixed content protection extension:
http://userscripts.org/scripts/source/69977.user.js (only works for the body tag elements)
Because of this thread I have that now installed in Google Chrome,

polonus
« Last Edit: June 25, 2011, 01:15:14 AM by polonus »
Cybersecurity is more of an attitude than anything else. Avast Evangelists.

Use NoScript, a limited user account and a virtual machine and be safe(r)!

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89119
  • No support PMs thanks
I don't see anything in the image that you posted other than a url/address bar (in the middle of a huge 800x600 white space), nada about a warning or tracking
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.4.6112 (build 24.4.9067.762) UI 1.0.803/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Offline polonus

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 33913
  • malware fighter
Hi DavidR,

Well I have the new tracking warning to come with Google Chrome 14 attached as a gif image,

polonus
Cybersecurity is more of an attitude than anything else. Avast Evangelists.

Use NoScript, a limited user account and a virtual machine and be safe(r)!

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89119
  • No support PMs thanks
That's more like it.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.4.6112 (build 24.4.9067.762) UI 1.0.803/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Offline polonus

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 33913
  • malware fighter
Here I have visited the testpage at https://ie.microsoft.com/testdrive/browser/mixedcontent/assets/woodgrove.htm
again with monkeyspawn extension showing via Firebug Lite all the insecure http elements on this mixed content page, see attachment. Please click gif image to enlarge..

Monkeyspaw, a Security Professional's WebThinger, can be found here: http://www.planb-security.net/userscripts/monkeyspaw-console.user.js to be installed into the GoogleChrome browser.

Here is a description how debug HTTPS Mixed Content Warnings using Fiddler:
http://fiddler.wikidot.com/debugmixedcontent  (link source share CreativeCommons (CC BY-SA 3.0))

polonus
« Last Edit: June 25, 2011, 04:46:54 PM by polonus »
Cybersecurity is more of an attitude than anything else. Avast Evangelists.

Use NoScript, a limited user account and a virtual machine and be safe(r)!