apps.owncloud.com: Mixed Active Scripting Issue
The page at apps.owncloud.com loaded an image over plain HTTP while served over HTTPS, a mixed content issue; an attacker on the same network could intercept and rewrite it.
Originally disclosed on HackerOne
- Triaged in 1 hour
- Fixed in 3 days
- Disclosed after 43 days
I come across HTTPS security issue - compromises HTTPS security by loading images from non secure source in https://apps.owncloud.com/.
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://apps.owncloud.com/
- 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: : Google Chrome = Mixed Content: The page at 'https://apps.owncloud.com/' was loaded over HTTPS, but requested an insecure image 'http://gnome-look.org/img/message_info.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
Let me know if you need more details.
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 referenced an image using an http:// URL instead of https://, so that resource was fetched insecurely.
Impact
An attacker on the same network could intercept the HTTP request and rewrite the response to run malicious script, potentially stealing credentials or sensitive data; the report rates this as medium.
What the attacker needed
Attacker on the same network; victim visits the page
The fix
All page resources, including images, scripts and fonts, should be loaded from HTTPS sources.
How it was found
- Open the apps.owncloud.com site in a browser.
- Open the browser developer tools and view the console.
- Observe the mixed content security error about the insecure image.
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 also loads some things over insecure HTTP, someone on the same network can tamper with those insecure requests. Here the page pulled an image over HTTP, and the report argues an attacker could swap it for harmful code. The fix is to load every resource over HTTPS.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.