{"vuid":"VU#377812","idnumber":"377812","name":"Mozilla Network Security Services (NSS) fails to properly process malformed SSLv2 server messages","keywords":["Mozilla","Network Security Services","NSS","integer underflow","arbitrary code execution","SSLv2 server messages"],"overview":"A vulnerability in the way Mozilla Network Security Services (NSS) handles malformed SSLv2 server messages may lead to execution of arbitrary code.","clean_desc":"The SSLv2 protocol uses a client master key to generate all subsequent session keys. The client master key is created using a public key recieved from the server during phase one of the SSL handshake. Mozilla NSS library contains a vulnerability in the way malformed SSLv2 server messages related to the public key are handled that may result in a buffer overflow. According to  the Mozilla Foundation Security Advisory 2007-06: SSL clients such as Firefox and Thunderbird can suffer a buffer overflow if a malicious server presents a certificate with a public key that is too small to encrypt the entire \"Master Secret\". Exploiting this overflow appears to be unreliable but possible if the SSLv2 protocol is enabled. Note that this vulnerability may affect any application that uses the Mozilla NSS library.","impact":"A remote, unauthenticated attacker may be able to execute arbitrary code with the privileges of the user who is running the vulnerable application or cause a denial of service.","resolution":"Apply an update\nAccording to the Mozilla Foundation Security Advisory 2007-06, this vulnerability is addressed in Firefox 2.0.0.2, Firefox 1.5.0.10, SeaMonkey 1.0.8, and NSS 3.11.5.","workarounds":"Disable SSLv2 Disabling support for the SSLv2 protocol appears to prevent exploitation of this vulnerability. Instructions for disabling the SSLv2 protocol support in Firefox and Thunderbird can be found in  the Mozilla Foundation Security Advisory 2007-06.","sysaffected":"","thanks":"This vulnerability was reported in Mozilla Foundation Security\n Advisory \n2007-06\n. Mozilla credits iDefense with reporting this issue.","author":"This document was written by Chris Taschner.","public":["http://www.mozilla.org/security/announce/2007/mfsa2007-06.html","http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=482","http://www.mozilla.org/projects/security/pki/nss/","http://www.mozilla.org/projects/security/pki/nss/ssl/draft02.html","http://www.mozilla.com/en-US/firefox/releases/1.5.0.10.html","http://www.mozilla.com/en-US/firefox/2.0.0.2/releasenotes/","http://www.mozilla.org/projects/seamonkey/releases/","http://secunia.com/advisories/24238/","http://secunia.com/advisories/24287/","http://secunia.com/advisories/24205/","http://secunia.com/advisories/24290/","http://secunia.com/advisories/24253/","http://secunia.com/advisories/24252/","http://secunia.com/advisories/24320/","http://secunia.com/advisories/24328/","http://secunia.com/advisories/24293/","http://secunia.com/advisories/24327/","http://secunia.com/advisories/24277/","http://secunia.com/advisories/24289/","http://secunia.com/advisories/24343/","http://secunia.com/advisories/24333/","http://www.ciac.org/ciac/bulletins/r-164.shtml","http://secunia.com/advisories/24406/","http://secunia.com/advisories/24384/","http://secunia.com/advisories/24410/","http://secunia.com/advisories/24389/","http://secunia.com/advisories/24455/","http://secunia.com/advisories/24456/","http://secunia.com/advisories/24457/","http://www.securityfocus.com/bid/22694","http://secunia.com/advisories/24703/"],"cveids":["CVE-2007-0008"],"certadvisory":"","uscerttechnicalalert":null,"datecreated":"2007-02-23T20:56:01Z","publicdate":"2007-02-23T00:00:00Z","datefirstpublished":"2007-03-07T15:13:54Z","dateupdated":"2007-04-05T18:39:19Z","revision":60,"vrda_d1_directreport":"0","vrda_d1_population":"3","vrda_d1_impact":"3","cam_widelyknown":"15","cam_exploitation":"0","cam_internetinfrastructure":"4","cam_population":"15","cam_impact":"17","cam_easeofexploitation":"7","cam_attackeraccessrequired":"20","cam_scorecurrent":"12.718125","cam_scorecurrentwidelyknown":"16.065","cam_scorecurrentwidelyknownexploited":"29.4525","ipprotocol":"","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":12.718125,"vulnote":null}