Mixed Active Scripting Issue on stats.owncloud.org
The page at stats.owncloud.org loads an image over plain HTTP, a mixed content issue. An attacker on the same network could intercept it and inject malicious code, potentially stealing data.
Originally disclosed on HackerOne
- Triaged in 5 hours
- Fixed in 35 hours
- Disclosed after 31 days
I have come across with a HTTPS security issue - compromises HTTPS security by loading images from non secure source in stats.owncloud.org Vulnerability Type: Mixed Active Scripting Issue
Description: Mixed Active Content is content that has access to and can affect all or parts of the Document Object Model (DOM) of an HTTPS page. This type of mixed content can alter the behavior of an HTTPS page and potentially steal sensitive data from the user. Hence, in addition to the risks for Mixed Passive Content, Mixed Active Content is also exposed to a number of additional attack vectors. A MITM attacker can intercept requests for HTTP active content. The attacker can then re-write the response to include malicious JavaScript /fonts code. Malicious script can steal the user’s credentials, acquire sensitive data about the user, or attempt to install malware on the user’s system (by leveraging vulnerable plugins the user has installed, for example).
Criticality level: Medium
Criticality level justification: Data which is transmitted in this link could be read by An attacker who is in Same network in some cases this could help to steal information.
Steps:
- Visit link https://stats.owncloud.org
- Press F12 to open Developers tool in Google Chrome OR IE OR in Firefox browser and observe console. You will come across security error - "A Secure Hypertext Transfer Protocol (HTTPS) page has content from a non-secure source.
Mixed content security error messages: : Firefox= 'Loading mixed (insecure) display content "http://stats.owncloud.org/misc/user/logo.png' . This content should also be served over HTTPS.
Scenario: There are 3 easy steps to attack the user through a mixed content vulnerability…
- Set-up a Man-in-the-Middle attack. These are most easily done on public networks such as those in coffee shops or airports.
- Use a mixed content vulnerability to inject a malicious javascript file. Malicious code will run in an HTTPS website that the user browsers to. The key point is that the HTTPS site has a mixed content vulnerability on it, which means that it executes content downloaded over HTTP. This is where the Man-in-the-Middle attack and Mixed Content vulnerability combine into a dangerous scenario.
“If some attacker is able to either tamper with Javascript or stylesheet files he can effectively also tamper with the other content on your page (e.g. by modifying the DOM ). So it’s either all or nothing. Either all of your elements are served using SSL, then you are secure. Or you load some Javascript or stylesheet files from a plain HTTP connection, then you aren’t secure anymore.” 3) Steal the user’s identity (or do other bad things).
Solution :: Make sure all content in the page including images, js, fonts are from HTTPS sources.
Reference : http://msdn.microsoft.com/en-us/library/ie/dn423949(v=vs.85).aspx Video :: http://www.youtube.com/watch?v=zEV3HOuM_Vw
Thanks.
Attachments

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the page includes an image using an http:// URL instead of https://, causing mixed content.
Impact
An attacker on the same network could intercept the HTTP request and inject malicious JavaScript, potentially stealing user credentials or sensitive data.
What the attacker needed
Attacker on same network; victim visits the page
The fix
All content on the page, including images, JavaScript, and fonts, should be loaded over HTTPS.
How it was found
- Visit the stats.owncloud.org page.
- Open the browser developer tools console.
- Observe the mixed content security error.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
When a secure (HTTPS) page loads some content over insecure HTTP, it is called mixed content. Here, an image is loaded over HTTP, so someone on the same network (like public Wi-Fi) could tamper with that request and inject harmful code. This could let them steal information from the user.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.