<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mozilla Security Blog &#187; Firefox</title>
	<atom:link href="http://blog.mozilla.com/security/category/firefox/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mozilla.com/security</link>
	<description></description>
	<lastBuildDate>Mon, 16 Nov 2009 22:29:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Component Directory Lockdown &#8211; New in Firefox 3.6</title>
		<link>http://blog.mozilla.com/security/2009/11/16/component-directory-lockdown-new-in-firefox-3-6/</link>
		<comments>http://blog.mozilla.com/security/2009/11/16/component-directory-lockdown-new-in-firefox-3-6/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 22:29:02 +0000</pubDate>
		<dc:creator>Johnathan Nightingale</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Firefox]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/security/?p=213</guid>
		<description><![CDATA[[This post originally appeared on Mozilla Developer News]
We hate crashes. When Firefox crashes, we try to get you back on your feet as quickly as possible, but we&#8217;d much rather you not crash in the first place. In Firefox 3.6, we are changing the way that some third party software hooks into Firefox which should [...]]]></description>
			<content:encoded><![CDATA[<p><small><em>[This post originally appeared on <a href="https://developer.mozilla.org/devnews/index.php/2009/11/16/component-directory-lockdown-new-in-firefox-3-6/">Mozilla Developer News</a>]</em></small></p>
<p>We hate crashes. When Firefox crashes, we try to get you back on your feet as quickly as possible, but we&#8217;d much rather you not crash in the first place. In Firefox 3.6, we are changing the way that some third party software hooks into Firefox which should eliminate a good chunk of those crashes without sacrificing our extensibility in any way. In the process, we&#8217;ll also be giving you greater control over the code that runs in your browser. </p>
<h2>Background</h2>
<p>Firefox is built around the idea of extensibility &#8211; it&#8217;s part of our soul. Users can install extensions that modify the way their browser looks, the way it works, or the things it&#8217;s capable of doing. Our add-ons community is an amazing part of the Mozilla ecosystem, one we work hard to grow and improve.</p>
<p>In addition to the standard mechanism for extending the browser via add-ons and plugins, though, there has historically been another way to do it. Third-party applications installed on your machine would sometimes try extend Firefox by just adding their own code directly to the &#8220;<tt>components</tt>&#8221; directory, where much of Firefox&#8217;s own code is stored.</p>
<p>There are no special abilities that come from doing things this way, but there are some significant disadvantages.  For one thing, components installed in this way aren&#8217;t user-visible, meaning that users can&#8217;t manage them through the add-ons manager, or disable them if they&#8217;re encountering difficulties. What&#8217;s worse, components dropped blindly into Firefox in this way don&#8217;t carry version information with them, which means that when users upgrade Firefox and these components become incompatible, there&#8217;s no way to tell Firefox to disable them. This can lead to all kinds of unfortunate behaviour: lost functionality, performance woes, and outright crashing &#8211; often immediately on startup.</p>
<p>In Firefox 3.6 (including upcoming beta refreshes), we&#8217;re closing this door. Third party applications can still extend Firefox via add-ons and plugins the way they always could, but the components directory will be for Firefox only.</p>
<h2>What Does This Mean For Me?</h2>
<p>If you&#8217;re a Firefox user, this should be 100% positive. You don&#8217;t have to change anything, your regular add-ons should continue to work properly &#8211; you just might notice fewer crashes or odd bugs. If you do notice that something has stopped working, particularly a third party addition to Firefox, you might want to contact the producer of that addition to ensure they know about the change.</p>
<p>If you&#8217;re a Firefox component developer, this shouldn&#8217;t be a big change, either. If you&#8217;re already packaging your additions as an XPI, installed as an add-on it&#8217;s business as usual. If you have been dropping components directly, though, you&#8217;ll need to change to an XPI-based approach. Our <a href="https://developer.mozilla.org/en/Migrating_raw_components_to_add-ons">migration document</a> on the Mozilla Developer Connection outlines the changes you&#8217;ll need to make, and should be pretty straightforward. The good news is that once you&#8217;ve done this, your add-on will actually be visible to users and will support proper version information so that our shared users are guaranteed a more positive experience.</p>
<p>If you haven&#8217;t downloaded the new Firefox beta yet, and want to give it a spin, you can <a href="http://www.mozilla.com/en-US/firefox/all-beta.html">find a copy here</a>.</p>
<p>Johnathan Nightingale<br />
Human Shield</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/security/2009/11/16/component-directory-lockdown-new-in-firefox-3-6/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>.NET Framework Assistant &amp; Windows Presentation Foundation Plugin Blocking Update</title>
		<link>http://blog.mozilla.com/security/2009/10/19/net-framework-assistant-windows-presentation-foundation-plugin-blocking-update/</link>
		<comments>http://blog.mozilla.com/security/2009/10/19/net-framework-assistant-windows-presentation-foundation-plugin-blocking-update/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 23:17:37 +0000</pubDate>
		<dc:creator>Johnathan Nightingale</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/security/?p=207</guid>
		<description><![CDATA[Mike Shaver has posted an update on the situation surrounding our blocking of the .Net Framework Assistant and WPF plugin.
In it, he discusses the current state of affairs, the series of events that got us to this point, as well as the steps we, and Microsoft, are taking to get the situation resolved.
]]></description>
			<content:encoded><![CDATA[<p>Mike Shaver has <a title="Mike's post" href="http://shaver.off.net/diary/2009/10/19/update-on-the-net-framework-assistant-and-windows-presentation-foundation-plugin-blocking-from-this-weekend/">posted an update</a> on the situation surrounding our blocking of the .Net Framework Assistant and WPF plugin.</p>
<p>In it, he discusses the current state of affairs, the series of events that got us to this point, as well as the steps we, and Microsoft, are taking to get the situation resolved.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/security/2009/10/19/net-framework-assistant-windows-presentation-foundation-plugin-blocking-update/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Mozilla Plugin Check Now Live</title>
		<link>http://blog.mozilla.com/security/2009/10/13/mozilla-plugin-check-now-live/</link>
		<comments>http://blog.mozilla.com/security/2009/10/13/mozilla-plugin-check-now-live/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 02:35:24 +0000</pubDate>
		<dc:creator>Johnathan Nightingale</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/security/?p=186</guid>
		<description><![CDATA[A little over a month ago, I talked about a project we had started to inform users when their plugins were out of date. This is a really important project for us, because old versions of plugins can cause crashes and other stability problems, and can also be a major security risk. In the first [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">A little over a month ago, I <a href="http://blog.mozilla.com/security/2009/09/04/helping-users-keep-plugins-updated/">talked about a project</a> we had started to inform users when their plugins were out of date. This is a really important project for us, because old versions of plugins can cause crashes and other stability problems, and can also be a major security risk. In the first phase, we focused on the popular Adobe Flash Player plugin, and we were thrilled to see <a href="http://blog.mozilla.com/security/2009/09/16/plugin-updating-project-follow-up/">more than 10 million</a> Firefox users click through to Adobe&#8217;s download page to get themselves updated in the first week.</p>
<p style="text-align: left;">Today, we&#8217;re bringing the rest of the story. Our web team has just pushed the <a href="http://www.mozilla.com/en-US/plugincheck/">full plugin check page</a> live, checking the status of more than 15 popular plugins, with more still in the works. Visitors to the page can see which plugins they have installed and, for any that are outdated, follow an easy link to the update site.</p>
<p style="text-align: center;"><a href="http://www.mozilla.com/plugincheck/"><img class="size-full wp-image-190  aligncenter" title="Plugin list with update information" src="http://blog.mozilla.com/security/files/2009/10/plugin1.png" alt="Plugin list with update information" width="400" /></a></p>
<p style="text-align: left;">In the upcoming release of Firefox 3.6, we&#8217;ll also include <a href="http://theunfocused.net/2009/10/06/firefox-3-6-knows-when-your-plugins-are-out-of-date/">built-in support</a> for helping users keep up to date. When you visit a page with Firefox 3.6, we&#8217;ll use this same service to let you know if any of the plugins used on the site have updates available.</p>
<p style="text-align: left;">We&#8217;ve got a pretty strong list of plugins and versions already but we&#8217;ll continue to maintain and grow it based on our conversations with plugin authors and our users. If you want more information, or are interested in helping out, check out the <a href="http://blog.mozilla.com/webdev/2009/10/13/plugin-checker-launched/">web team&#8217;s post</a>. Did the plugin check uncover any surprises for you?</p>
<p style="text-align: left;">Johnathan Nightingale<br />
Human Shield</p>
<p style="text-align: left;">
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/security/2009/10/13/mozilla-plugin-check-now-live/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>A Glimpse Into the Future of Browser Security</title>
		<link>http://blog.mozilla.com/security/2009/09/30/a-glimpse-into-the-future-of-browser-security/</link>
		<comments>http://blog.mozilla.com/security/2009/09/30/a-glimpse-into-the-future-of-browser-security/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 21:42:30 +0000</pubDate>
		<dc:creator>Brandon Sterne</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/security/?p=176</guid>
		<description><![CDATA[As we mentioned earlier we&#8217;ve been working for the past few months on turning the Content Security Policy specification into working Firefox code.  (You&#8217;ll remember that CSP is a framework to protect websites from XSS and related attacks). We are happy to report that the work is nearly finished, and we have some preview [...]]]></description>
			<content:encoded><![CDATA[<p>As we <a href="http://blog.mozilla.com/security/2009/06/19/shutting-down-xss-with-content-security-policy/">mentioned earlier</a> we&#8217;ve been working for the past few months on turning the <a href="https://wiki.mozilla.org/Security/CSP/Spec">Content Security Policy specification</a> into working Firefox code.  (You&#8217;ll remember that CSP is a framework to protect websites from XSS and related attacks). We are happy to report that the work is nearly finished, and we have some <a href="http://people.mozilla.org/~bsterne/content-security-policy/download.html">preview builds</a> available for you to try out.</p>
<p>We&#8217;re thrilled to have received so much great feedback from other browser vendors, web site administrators, and security researchers and we&#8217;re very proud of the design that has come out of that discussion.  We would like to encourage any server administrators or web app security researchers who are interested in this project to grab a <a href="http://people.mozilla.org/~bsterne/content-security-policy/download.html">preview Firefox build</a> and help us test the new features.  Please be aware that there are still a few rough spots.  The implementation is not quite complete so you may notice some small gaps between the preview builds and the spec.  Most notably, HTTP redirects are not fully handled by CSP (but will be soon).</p>
<p>I posted a <a href="http://people.mozilla.org/~bsterne/content-security-policy/demo.cgi">demo page</a> where you can see the basic features of CSP in action, though we&#8217;re all much more excited to see all the tests and proof points our friends in the security research community are sure to turn up.  Please grab a preview build and start testing!</p>
<p>Brandon Sterne<br />
Security Program Manager</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/security/2009/09/30/a-glimpse-into-the-future-of-browser-security/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Helping users keep plugins updated</title>
		<link>http://blog.mozilla.com/security/2009/09/04/helping-users-keep-plugins-updated/</link>
		<comments>http://blog.mozilla.com/security/2009/09/04/helping-users-keep-plugins-updated/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 21:28:19 +0000</pubDate>
		<dc:creator>Johnathan Nightingale</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/security/?p=163</guid>
		<description><![CDATA[Starting with the upcoming releases of Firefox 3.5.3 and Firefox 3.0.14, Mozilla  will warn users if their version of the popular Adobe Flash Player plugin is out of date. Old versions of plugins can cause crashes and  other stability problems, and can also be a significant security risk.  For now our focus [...]]]></description>
			<content:encoded><![CDATA[<p>Starting with the upcoming releases of Firefox 3.5.3 and Firefox 3.0.14, Mozilla  will warn users if their version of the popular <a href="http://www.adobe.com/products/flashplayer/">Adobe Flash Player</a> plugin is out of date. Old versions of plugins can cause crashes and  other stability problems, and can also be a significant security risk.  For now our focus is on the Adobe Flash Player both because of its  popularity and because some studies have shown that <a href="http://www.h-online.com/security/80-per-cent-of-users-surf-with-vulnerable-versions-of-Flash--/news/114090">as many as 80% of  users currently have an out of date version</a>.</p>
<p>After installing the Firefox security  update, users with an out of date version of the Adobe Flash Player will  see this message:</p>
<div style="text-align: center;"><img class="size-full wp-image-720 aligncenter" title="Warning about out of date Flash" src="http://developer.mozilla.org/devnews/wp-content/uploads/FlashWarning.png" alt="Warning about out of date Flash" width="399" height="167" /></p>
<p style="text-align: left;">Our intent is to get the user&#8217;s attention, and direct them to the Adobe web site where they can <a href="http://get.adobe.com/flashplayer/">download the most up to date version</a>.</p>
<p style="text-align: left;">For users who are already running the latest version, or who don&#8217;t have the Adobe Flash Player installed, the  page will look very much like what they would normally see after a  Firefox security update:</p>
<div style="text-align: center;"><img class="size-full wp-image-721 aligncenter" title="Normal update page" src="http://developer.mozilla.org/devnews/wp-content/uploads/NormalPage.png" alt="Normal update page" width="400" height="131" /></p>
<p style="text-align: left;">Mozilla will work with other plugin vendors to provide similar checks for their products in the future.  Keeping your software up to date remains one of the best things you can  do to keep yourself safe online, and Mozilla will continue to look for  ways to make that process as easy as possible for its users.</p>
<p style="text-align: left;">Johnathan Nightingale<br />
Human Shield</p>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/security/2009/09/04/helping-users-keep-plugins-updated/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
		<item>
		<title>Why some Firefox users choose not to update</title>
		<link>http://blog.mozilla.com/security/2009/08/25/why-some-firefox-users-choose-not-to-update/</link>
		<comments>http://blog.mozilla.com/security/2009/08/25/why-some-firefox-users-choose-not-to-update/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 22:29:15 +0000</pubDate>
		<dc:creator>jruderman</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Security Updates]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/security/?p=160</guid>
		<description><![CDATA[The best way for users to stay safe online is to use an updated browser.  While most Firefox users get updated quickly, some fall behind for various reasons.  We&#8217;re looking for ways to increase uptake while still preserving user choice.
Ken Kovash and Eric Hergenrader surveyed users who have update-checking enabled but repeatedly chose [...]]]></description>
			<content:encoded><![CDATA[<p>The best way for users to stay safe online is to use an updated browser.  While most Firefox users get updated quickly, some fall behind for various reasons.  We&#8217;re looking for ways to increase uptake while still preserving user choice.</p>
<p>Ken Kovash and Eric Hergenrader surveyed users who have update-checking enabled but repeatedly chose not to update from Firefox 2 to Firefox 3.  Read their posts: <a href="http://blog.mozilla.com/metrics/2009/08/21/why-people-dont-upgrade-their-browser-part-i/">Why People Don’t Upgrade Their Browser – Part I</a> and <a href="http://blog.mozilla.com/metrics/2009/08/24/why-people-dont-upgrade-their-browser-part-ii/">Part II</a>.  It&#8217;s great to understand why these people continue to use Firefox 2 even when it is no longer receiving security updates.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/security/2009/08/25/why-some-firefox-users-choose-not-to-update/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
		<item>
		<title>URL bar spoofing vulnerability</title>
		<link>http://blog.mozilla.com/security/2009/07/28/url-bar-spoofing-vulnerability/</link>
		<comments>http://blog.mozilla.com/security/2009/07/28/url-bar-spoofing-vulnerability/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 22:40:43 +0000</pubDate>
		<dc:creator>Lucas Adamski</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Vulnerabilities]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/security/?p=155</guid>
		<description><![CDATA[Issue
The URL in the address bar can be spoofed when a new window or tab is opened by a malicious web page.
Impact to users
If a user visits a page hosting this malicious code, a new window or tab can be opened with a faked URL.  There is no way of determining if the URL is [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Issue</strong></p>
<p>The URL in the address bar can be spoofed when a new window or tab is opened by a malicious web page.</p>
<p><strong>Impact to users</strong></p>
<p>If a user visits a page hosting this malicious code, a new window or tab can be opened with a faked URL.  There is no way of determining if the URL is authentic.  This could result in the user disclosing confidential information to the malicious site, known as a phishing attack.</p>
<p><strong>Status</strong></p>
<p>This vulnerability is known to affect all current versions of Firefox.  Mozilla is actively working on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=451898" target="_blank">fixing this vulnerability</a>.  Users can mitigate this vulnerability by only sharing confidential information with websites that were opened from a bookmark, a trusted source, or by manually opening a new tab or window and entering a URL.</p>
<p><strong>Credit</strong></p>
<p>This issue was originally reported by Juan Pablo Lopez Yacubian.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/security/2009/07/28/url-bar-spoofing-vulnerability/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Locking up the valuables: Opt-in security with ForceTLS</title>
		<link>http://blog.mozilla.com/security/2009/07/27/locking-up-the-valuables-opt-in-security-with-forcetls/</link>
		<comments>http://blog.mozilla.com/security/2009/07/27/locking-up-the-valuables-opt-in-security-with-forcetls/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 00:17:54 +0000</pubDate>
		<dc:creator>Sid Stamm</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[forcetls]]></category>
		<category><![CDATA[https]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/security/?p=143</guid>
		<description><![CDATA[Computers are increasingly mobile and, to serve them, more and more public spaces (cafes, airports, libraries, etc.) offer their customers WiFi access. When a web browser on such a network requests a resource, it is implicitly trusting the hotspot not to interfere with the communication.  A malicious computer hooked up to the network could alter [...]]]></description>
			<content:encoded><![CDATA[<p>Computers are increasingly mobile and, to serve them, more and more public spaces (cafes, airports, libraries, etc.) offer their customers WiFi access. When a web browser on such a network requests a resource, it is implicitly trusting the hotspot not to interfere with the communication.  A malicious computer hooked up to the network could alter the traffic, however, and this can have some unpleasant consequences.</p>
<h3><strong>HTTP Man-In-The-Middle (MITM) attacks</strong></h3>
<p>Consider your typical online banking session:  you type &#8220;www.mybank.com&#8221; into the address bar, hit enter, and wait for the site to load.  When it shows up, you enter your password, do your banking, then log out.  This process is more-or-less automatic for many people, and the subtleties of the process disappear in the background.  More specifically, these are the steps for logging into the bank&#8217;s site:</p>
<ol>
<li>  You type &#8220;www.mybank.com&#8221; into the address bar and hit enter.
<li>  The browser assumes &#8220;www.mybank.com&#8221; should be requested over HTTP by default, so the initial request is unencrypted.
<li>  The server at &#8220;http://www.mybank.com&#8221; responds with an HTTP redirect to &#8220;https://www.mybank.com&#8221;
<li>  The secure connection is established, and a login page is served via HTTPS.
<li>  You enter your password and do your banking.
</ol>
<p>It is only after the first few swift (and often unnoticed) steps that the user is presented with a secure connection.  In a rogue hotspot, &#8220;www.mybank.com&#8221; might resolve to an attacker&#8217;s server (instead of the real thing) and the HTTPS connection may never happen.  Many users might not notice this and end up logging into an attacker&#8217;s website.</p>
<p>HTTPS is intended for both channel encryption, to thwart eavesdroppers, and for server authentication.  In the hotspot banking MITM situation, you may simply assume that no errors indicates a safe connection but in all reality the server has not been authenticated!   After all, you&#8217;re not presented with any warnings or UI indicators saying the site is an attack site.  If you&#8217;re a diligent user, you can always click Firefox&#8217;s site identity button to find out whether or not the site has authenticated itself and whether it&#8217;s encrypting to prevent eavesdropping, of course.  It&#8217;s hard to remember (and time consuming) to do that every time, especially when you&#8217;re used to logging into certain trustworthy sites automatically.  And in fact, a fake bank&#8217;s site may even have a little lock icon next to the login box that assures the user he is logging into a secure site &#8211;  many legitimate banking sites unfortunately do the same thing.</p>
<h3><strong>Asking the Browser to use HTTPS Only</strong></h3>
<p>To stop this kind of man-in-the-middle attack, where an HTTPS site is mimicked over HTTP, Collin Jackson and Adam Barth proposed <a href="https://crypto.stanford.edu/forcehttps/">something called ForceHTTPS</a> in 2008.  This is a browser feature that allows web sites to tell a browser to always request it via HTTPS, and never unencrypted HTTP.  It was intended to help eliminate the redirect from HTTP to HTTPS and minimize the chance of an insecure attack as described above.</p>
<p>We like the idea of ForceHTTPS and are working on implementing it as &#8220;ForceTLS&#8221; in Firefox with hopes it will reduce occurrences of MITM attacks and generally improve user security.  We built an add-on as a first step prototype of the feature that works in a similar fashion to the original design by Jackson and Barth.  Instead of using cookies, however, we&#8217;re asking sites to send an HTTP header &#8220;X-Force-TLS&#8221; with any securely-transmitted response.  The name of this header <em>will change in the future,</em> but for now we&#8217;re using &#8220;X-Force-TLS&#8221; as the experimental header that, when present, means:</p>
<ol>
<li> The browser should <em>only</em> attempt to access that domain via HTTPS
<li> How long this requirement should last. For example, a server can ask the HTTPS-only request to expire after three days.  This expiration timer can be reset or changed every time data is served to the client by providing a new HTTP header.
<li> Whether or not subdomains of the requested site (images.mybank.com, or login.mybank.com for example) should also be forced into HTTPS
</ol>
<p>ForceTLS can be used for more than just protection against evil hotspots; it can also be used to harden web applications against accidental unencrypted requests.  Many popular web apps can be used over both secure HTTPS and insecure HTTP connections; while you&#8217;re given the choice to pick HTTPS instead of HTTP, it&#8217;s possible that a large web app might have a HTTP URI referenced from some subtle corner of its code (by accident of course), and with Force TLS employed, this would quietly get upgraded to HTTPS and prevent exposing any unencrypted data on the network.</p>
<p>Check out our prototype, and tell us what you think!  The browser extension and source code are available on AMO (<a href="https://addons.mozilla.org/en-US/firefox/addon/12714">https://addons.mozilla.org/en-US/firefox/addon/12714</a>).</p>
<p>Sid Stamm<br />
Securinator</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/security/2009/07/27/locking-up-the-valuables-opt-in-security-with-forcetls/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>How Mozilla finds crash bugs</title>
		<link>http://blog.mozilla.com/security/2009/07/20/how-mozilla-finds-crash-bugs/</link>
		<comments>http://blog.mozilla.com/security/2009/07/20/how-mozilla-finds-crash-bugs/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 00:36:01 +0000</pubDate>
		<dc:creator>jruderman</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/security/?p=131</guid>
		<description><![CDATA[This Tuesday (2009-07-21), I&#8217;m organizing a crash bug triage day where anyone interested can help us classify the swamp of open crash bugs. Join us in #bugday on irc.mozilla.org if you&#8217;d like to help.
Crashes and security
Some Firefox crash bugs are severe security bugs.  A crash bug is likely to be exploitable if it can [...]]]></description>
			<content:encoded><![CDATA[<p>This Tuesday (2009-07-21), I&#8217;m organizing a crash bug triage day where anyone interested can help us classify the swamp of open crash bugs. Join us in <a href="irc://irc.mozilla.org/bugday">#bugday on irc.mozilla.org</a> if you&#8217;d like to help.</p>
<h3 id="fcb-crashes-and-security">Crashes and security</h3>
<p>Some Firefox crash bugs are severe security bugs.  A crash bug is likely to be exploitable if it can be triggered by a web page <em>and</em> the bug is a <a href="http://www.squarefree.com/2006/11/01/memory-safety-bugs-in-c-code/">memory safety bug</a> such as calling a virtual method on a dangling pointer.</p>
<p>Although only a fraction of our crashes are exploitable, two thirds of our <a href="https://wiki.mozilla.org/Security_Severity_Ratings">most severe security bugs</a> are crashes.  We&#8217;re striving to improve how we find and fix crash bugs, since the better we can find and fix the bugs, the more stable and secure Firefox will be.</p>
<h3 id="fcb-bug-reports">Bug reports</h3>
<p>When a user reports a bug, a loose team of volunteers tries to reproduce the bug, improve the bug report, and inform the correct developers about the bug.</p>
<p>The history of <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=503286">bug 503286</a> demonstrates the variety of skills involved in fixing crash bugs.  Soon after zbyte filed the bug, Ria Klaassen reproduced the bug on her machine, captured a stack trace, and determined when the bug had been introduced.  Volunteers Lucas and Natch reduced the web page to a <a href="view-source:https://bugzilla.mozilla.org/attachment.cgi?id=387752">simple testcase</a> that demonstrated the bug.  Using this information, JavaScript engine developers Andreas Gal and Blake Kaplan had little trouble creating a patch.  All of this happened within 14 hours of the bug being reported.</p>
<p>Our current bug triage process is not perfect, and sometimes leaves valid bugs unprocessed.  During this Tuesday&#8217;s crash bug triage day, we will experiment with a <a href="https://developer.mozilla.org/En/Triaging_crash_bugs">new triage workflow</a> that should be both more efficient and more effective.  If you&#8217;d like to help clear the crash bug backlog, please join us in <a href="irc://irc.mozilla.org/bugday">#bugday</a> this Tuesday (2009-07-21).</p>
<p>Reporting bugs requires substantial effort from users, and requires both <a href="http://www.squarefree.com/2009/07/18/language-barriers-and-bugs/">English-language</a> and technical skills, so we prefer not to rely exclusively on user-reported bugs.  Luckily, crashes are easier to detect automatically than most other types of bugs, so we can find many of them using other methods.</p>
<h3 id="fcb-crash-reports">Crash reports</h3>
<p>Whenever Firefox crashes, <a href="http://www.squarefree.com/blogimages/crashreportdialog.png">a dialog appears</a> that allows users to submit information about the crash to Mozilla.  Although the average Firefox user only sends 1.5 crash reports per year, this information is valuable in aggregate.</p>
<p>Currently, our main use for these crash reports is to <a href="http://crash-stats.mozilla.com/">identify the most common crashes</a>.  If a crash is common but has not been reported in Bugzilla, we can look at the comments that come with some crash reports to get an idea of what triggers the crash.</p>
<p>Fixing common crashes is enough to make Firefox stable for most users, but even a rare crash could be a security hole, so we need to do more.  To address this issue, Mozilla is creating a &#8220;crash reproduction farm&#8221; of computers that will <a href="https://wiki.mozilla.org/QA/TDAI/Crash_URL_Analysis">automatically load URLs that come with crash reports</a>.  This will let us identify and fix most crashes that result from simply loading a web page.</p>
<h3 id="fcb-fuzzing">Fuzz testing</h3>
<p><a href="http://en.wikipedia.org/wiki/Fuzz_testing">Fuzz testing</a> is the art of creating random input for software in order to find bugs.  We do <a href="http://www.squarefree.com/categories/fuzzing/">extensive fuzz testing</a> of our most complex components, such as the JavaScript engine.  Fuzz testing finds two thirds of the exploitable crashes we fix, including many that are too obscure for normal web sites to trigger.</p>
<h3 id="fcb-fixing">Fixing crash bugs</h3>
<p>For developers who are familiar with the relevant code, crashes are often easier to <a href="https://developer.mozilla.org/En/Debugging">debug</a> and <a href="https://developer.mozilla.org/En/developer_Guide">fix</a> than they are to find.  To identify the developers familiar with the code, you can click the source code links in crash reports and see who last touched each line of code.</p>
<p>Jesse Ruderman<br />
Security bug hunter</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/security/2009/07/20/how-mozilla-finds-crash-bugs/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>milw0rm 9158 &#8220;stack overflow&#8221; crash not exploitable (CVE-2009-2479)</title>
		<link>http://blog.mozilla.com/security/2009/07/19/milw0rm-9158-stack-overflow-crash-not-exploitable-cve-2009-2479/</link>
		<comments>http://blog.mozilla.com/security/2009/07/19/milw0rm-9158-stack-overflow-crash-not-exploitable-cve-2009-2479/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 21:44:12 +0000</pubDate>
		<dc:creator>shaver</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Vulnerabilities]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/security/?p=120</guid>
		<description><![CDATA[In the last few days, there have been several reports (including one via SANS) of a bug in Firefox related to handling of certain very long Unicode strings.  While these strings can result in crashes of some versions of Firefox, the reports by press and various security agencies have incorrectly indicated that this is [...]]]></description>
			<content:encoded><![CDATA[<p>In the last few days, there have been several reports (including one <a href="http://isc.sans.org/diary.html?storyid=6829">via SANS</a>) of a bug in Firefox related to handling of certain very long Unicode strings.  While these strings can result in crashes of some versions of Firefox, the reports by press and various security agencies have incorrectly indicated that this is an exploitable bug.  Our analysis indicates that it is not, and we have seen no example of exploitability.</p>
<h2>Details</h2>
<p>On Windows, Firefox 3.0.x and Firefox 3.5.x are terminated due to an uncaught exception during an attempt to allocate a very large string buffer; this termination is safe and immediate, and does not permit the execution of attacker code.</p>
<p>On the Macintosh in Firefox 3.0.x and 3.5.x, a crash occurs inside the ATSUI system library (part of OS X), due to what appears to be a failure to check allocation results.  This issue is likely to affect any application using the recommended text-handling libraries on OS X.  We have reported this issue to Apple, but in the event that they do not provide a fix we will look to implement mitigations in Mozilla code.  We recommend that other developers who use these libraries consider a similar practice, and we have added mitigations in the past for similar bugs in these libraries.</p>
<p>On Linux, the problem is similar to that on Mac: there is an abort in system libraries (pango, glib, libc).  Due to the wide variation of Linux libraries and versions deployed, and different compilation options chosen by Linux distributors for Firefox, the details of the crash report may vary between machines.</p>
<p>As a result of our analysis, we do not believe that this represents an exploitable vulnerability in Firefox. Further, we believe that the <a href="http://xforce.iss.net/xforce/xfdb/51729">IBM</a> report is in error, and that the severity rating in the <a href="http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2009-2479">National Vulnerability Database report</a> is incorrect.  We have contacted them and hope to resolve the inaccuracies shortly.</p>
<p>[Updated (July 19, 8:50pm EDT): thanks to Larry Seltzer for bringing to our attention that Firefox 3.5.x will indeed still crash using the provided PoC on Windows, at least for some users.]</p>
<p>[Updated (July 20, 8:50am EDT): the <a href="http://www.securityfocus.com/bid/35707">SecurityFocus</a> report has been updated to indicate that it is only a denial of service issue.  This is consistent with our analysis; thanks to SecurityFocus for correcting their error.]</p>
<p>[Updated (July 20, 9:15am EDT): added results for Linux, thanks to Kevin Brosnan.]</p>
<p>Mike Shaver<br />
VP Engineering, Mozilla Corporation</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/security/2009/07/19/milw0rm-9158-stack-overflow-crash-not-exploitable-cve-2009-2479/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
	</channel>
</rss>
