Closed
Bug 1257425
Opened 10 years ago
Closed 2 years ago
Firefox "Check Your Plugins" site opens vulnerability by serving http plugin download URLs
Categories
(Plugin Check Graveyard :: General, defect)
Plugin Check Graveyard
General
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: carlos.mcevilly, Unassigned)
References
()
Details
(Keywords: reporter-external, sec-moderate, wsec-appmisconfig, Whiteboard: [reporter-external] [web-bounty-form] [verif?])
How this was discovered
I was prompted to download a plugin when using Netflix. Their "Check for Updates" button led to a URL on the mozilla.org domain (https://www.mozilla.org/en-US/plugincheck/?utm_source=firefox-browser&utm_medium=firefox-browser&utm_campaign=plugincheck-update).
On visiting that mozilla.org URL, using Firefox 45.0, I saw some prominent ("Don't Make Me Think" style) "Update Now" buttons next to names of plugins. I noted that the mozilla.org "Check Your Plugins" site is itself hosted securely with an https URL.
After visiting one of these Mozilla-provided "Update Now" button destination links, I decided to verify the domain by clicking on the favicon area. I then discovered that the provided links are http links, not https links. This is alarming given that the links are being provided for the purpose of downloading plugins which would be expected to ask for and be granted user permission to run code in the browser.
This seems like a serious vulnerability in Mozilla's online services, opening up Firefox users to potential attack.
Attack scenario
The attack scenario is for the attacker to trick the user into downloading and installing a malware binary file masquerading as a legitimate plugin. This can be easily done using the infrastructure provided by the current Firefox "Check Your Plugins" page even though that page is hosted at a secure (https) URL on mozilla.org.
Step-by-step exploit process
1) Attacker provides a WiFi or other network which is configured with a rogue DNS entry for domains that host plugins such as microsoft.com or adobe.com.
2) They then simply wait for some of the user's plugins, such as Adobe Reader or Microsoft Sliverlight, to expire, and for the user to visit a domain that a) requires a plugin, and b) is configured, as is Netflix for example, to direct the user to the Firefox "Check Your Plugins" page.
3) The plugin-requiring site prompts the user to update,.
4) The user follows the update link to the secure mozilla.org URL (which contains insecure links)
5) The user clicks the "Update Now" button provided by Mozilla which purports to link to trusted providers like microsoft.com and adobe.com
6) Instead of getting their intended trusted site, the user instead is served a fake site masquerading as the intended site. This is enabled by the attacker's rogue DNS entry, which was allowed to succeed by the fact that the links associated with the "Update Now" buttons on the https mozilla.org site are http links, not https links.
7) The user now sees what looks like a trusted site, and feeling confident because they got there via the mozilla.org site, they proceed to download and then install the offered binary files from the rogue site.
Security impact
One the one hand, this "only" impacts people who use plugins, who update their plugins, and who do so through the links provided on mozilla.org, and only those who also are unlucky enough to fall into the net of an attacker who goes to the effort to set up a network that takes advantage of the vulnerability.
On the other hand, the impact to those users who do follow that path and who do get caught in such a trap could be very serious, including complete theft of or loss of data. In my understanding the users could even end up unintentionally installing not just a sandboxed plugin, but a full app, if the attacker chooses to provide that as the download. Even if it's just a rogue plugin, though, the damage could be serious again including such issues as data theft, data corruption, data loss, misdirection, etc. so in any case this vulnerability winds up creating serious risks for users.
Comment 1•10 years ago
|
||
Thank you for reporting this issue and apology for the delayed response
We do link to some http links instead of https. For example,
http://www.java.com/en/download/manual.jsp
when https://www.java.com/en/download/manual.jsp is a valid URL.
Where possible, we should always serve the HTTPS link.
Jason: you're listed as the admin for plugincheck, can you help?
dveditz: using needinfo to alert you to issue, no action required unless you want to get involved.
Flags: needinfo?(jthomas)
Updated•10 years ago
|
Keywords: sec-moderate,
wsec-appmisconfig
Comment 2•10 years ago
|
||
(In reply to Adam Muntner [:adamm] from comment #1)
> Jason: you're listed as the admin for plugincheck, can you help?
I think the documentation is out of date, sorry. Can you reach out to IT Webops?
Flags: needinfo?(jthomas)
Comment 3•10 years ago
|
||
While I agree that we should not do that, I would like to point out that java *always* downloads over https, regardless of which download page you visit. For example, here is the OS X link:
http://sdlc-esd.oracle.com/ESD6/JSCDL/jdk/8u77-b03/jre-8u77-macosx-x64.dmg
(I believe they sign the binaries)
Updated•10 years ago
|
Flags: sec-bounty?
Comment 4•10 years ago
|
||
(Sorry, I meant to say that java always downloads over *http*.) Even if we change our link, it wouldn't make any difference for your scenario.
:adamm: how's it going for finding a person responsible?
Flags: needinfo?(amuntner)
:april That link [http://sdlc-esd.oracle.com/ESD6/JSCDL/jdk/8u77-b03/jre-8u77-macosx-x64.dmg] doesn't work for me. I assume it's tied to the user who clicked to agree to the license, or at least it's time sensitive.
You're right that the same scenario could make the Java download vulnerable. But the difference is that the Mozilla plugins page is the immediate landing page for "update your plugins" actions in the browser which I assume are generated by Firefox, so it's a juicier target by virtue of being earlier in the user funnel relative to any later steps such as a Java download. Since users likely feel some trust toward the Mozilla plugins page, it ought to justify that trust and present links that make at least that next step onward a more secure one.
I understand that despite your caveat you agree it should be addressed, so I think we agree on the important bit but just with different perspectives on the priority.
Comment 6•10 years ago
|
||
Yes, Oracle really makes it painful to download Java and what not, but it will always download over HTTP regardless of what you do.
But yes, I completely agree with you. Just because Oracle does things poorly is no excuse for us to make the same mistake.
Comment 7•10 years ago
|
||
Adam, how is this going?
Comment 8•10 years ago
|
||
Flags: needinfo?(amuntner)
Updated•10 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
>Opened https://bugzilla.mozilla.org/show_bug.cgi?id=1298648
*click*
"You are not authorized to access bug 1298648."
May I ask for access to this in order to track it? Or is it supposed to be internal and I shouldn't even bother asking?
Updated•10 years ago
|
Component: Other → General
Product: Websites → Plugin Check
Updated•10 years ago
|
Flags: sec-bounty? → sec-bounty+
Comment 10•2 years ago
|
||
According to bug 1298648 comment 8 this service is long gone, and the plugin-check URL itself redirects to a support article explaining that plugins are no longer supported in Firefox
https://support.mozilla.org/en-US/kb/npapi-plugins?utm_source=firefox-browser&utm_medium=firefox-browser&utm_campaign=plugincheck-update
Group: websites-security
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
Updated•2 years ago
|
Keywords: reporter-external
You need to log in
before you can comment on or make changes to this bug.
Description
•