{"vuid":"VU#358017","idnumber":"358017","name":"Mozilla Firefox URL protocol handling vulnerability","keywords":["Mozilla","Firefox","Microsoft","Internet Explorer","remote code execution","URL process handler","FirefoxURL","MFSA 2007-23","Mozilla_20070717"],"overview":"Mozilla Firefox protocol handlers may allow remotely supplied JavaScript to execute with elevated privileges. This may allow a remote, unauthenticated attacker to execute arbitrary code on a vulnerable system.","clean_desc":"On Microsoft Windows systems, Mozilla Firefox installs protocol handlers for Mozilla-specific protocols, such as the FirefoxURL and FirefoxHTML protocols. If Microsoft Windows encounters a URL protocol it cannot handle natively it searches the Windows registry for the appropriate protocol handler. When the correct protocol handler is found, Windows passes it the URL string. By design Windows passes the URL string to the protocol handler as it was received without performing any sanitization. Mozilla Firefox URL protocol handlers are constructed in a way that may allow a remote attacker to execute arbitrary JavaScript with elevated (chrome) privileges. Mozilla Firefox security restrictions detect and prevent the execution of such JavaScript. However, if a remote attacker can persuade a user with Firefox installed to access a specially crafted web page using Internet Explorer, and perhaps other Windows applications, the malicious JavaScript will be executed. Reports claim this vulnerability is introduced when Firefox versions 2.0.0.2 and later are installed. Exploit code is publicly available for this vulnerability.","impact":"This vulnerability may allow a remote, unauthenticated attacker to execute JavaScript with elevated (chrome) privileges. This essentially means that the attacker can execute arbitrary code with the privileges of the user.","resolution":"Update\nMozilla has addressed this vulnerability in Firefox 2.0.0.5.","workarounds":"Unregister the Firefox protocols\nDisabling the Mozilla Firefox protocol handlers will mitigate this vulnerability. To unregister the protocol handlers, delete or rename the following registry keys: HKEY_CLASSES_ROOT\\FirefoxURL\nHKEY_CLASSES_ROOT\\FirefoxHTML\nModifying the Windows registry may have unintended consequences and should be done with care.","sysaffected":"","thanks":"This vulnerability was publicly disclosed by Thor Larholm.","author":"This document was written by Jeff Gennari.","public":["http://www.virusbtn.com/news/virus_news/2007/07_11.xml","http://blog.mozilla.com/security/2007/07/10/security-issue-in-url-protocol-handling-on-windows/","http://secunia.com/advisories/25984/","http://www.securityfocus.com/bid/24837","http://www.frsirt.com/english/advisories/2007/2473","http://www.securitytracker.com/id?1018351","http://www.securitytracker.com/id?1018360","https://bugzilla.mozilla.org/show_bug.cgi?id=384384","http://www.mozilla.org/security/announce/2007/mfsa2007-23.html","http://wiki.mozilla.org/Firefox:2.0.0.5","http://secunia.com/advisories/26096/","http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=565"],"cveids":["CVE-2007-3670"],"certadvisory":"","uscerttechnicalalert":null,"datecreated":"2007-07-10T11:33:26Z","publicdate":"2007-07-10T00:00:00Z","datefirstpublished":"2007-07-11T14:53:35Z","dateupdated":"2007-07-19T16:09:37Z","revision":68,"vrda_d1_directreport":"0","vrda_d1_population":"4","vrda_d1_impact":"3","cam_widelyknown":"20","cam_exploitation":"5","cam_internetinfrastructure":"0","cam_population":"15","cam_impact":"20","cam_easeofexploitation":"7","cam_attackeraccessrequired":"20","cam_scorecurrent":"19.6875","cam_scorecurrentwidelyknown":"19.6875","cam_scorecurrentwidelyknownexploited":"31.5","ipprotocol":"tcp","cvss_accessvector":"","cvss_accesscomplexity":"","cvss_authentication":null,"cvss_confidentialityimpact":"","cvss_integrityimpact":"","cvss_availabilityimpact":"","cvss_exploitablity":null,"cvss_remediationlevel":"","cvss_reportconfidence":"","cvss_collateraldamagepotential":"","cvss_targetdistribution":"","cvss_securityrequirementscr":"","cvss_securityrequirementsir":"","cvss_securityrequirementsar":"","cvss_basescore":"","cvss_basevector":"","cvss_temporalscore":"","cvss_environmentalscore":"","cvss_environmentalvector":"","metric":19.6875,"vulnote":null}