{"vuid":"VU#943633","idnumber":"943633","name":"FreeBSD can be compromised locally via signal handlers","keywords":["freebsd","bsd","root","rfork","exec()","setuid"],"overview":"The FreeBSD operating system does not adequately clear signal handlers subsequent to a process calling exec() on a setuid program. This vulnerability can allow a local attacker to execute arbitrary code as root.","clean_desc":"The unix fork() function's purpose is to create a new process from an existing process. The new process is called the child process, and the existing process is called the parent. When a process forks, it inherits the parent's signal handling settings. The unix exec() function's purpose is to replace the current process image with a new process image. After this has occured, the kernel should clear the signal handlers because they are no longer valid. Because the FreeBSD operating system does not adequately clear signal handlers subsequent to a process calling exec(), an attacker can execute arbitrary code as root.","impact":"An local attacker may be able to execute arbitrary code as root.","resolution":"Apply a patch from your vendor or upgrade your operating system to FreeBSD 4.3-STABLE.","workarounds":"","sysaffected":"","thanks":"The CERT Coordination Center thanks \nGeorgi Guninski for discovering this vulnerability and the FreeBSD project for providing a patch to address the vulnerability.","author":"This document was written by Ian A. Finlay.","public":["ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-01:42.signal.v1.1.asc","http://www.guninski.com/vvfreebsd.html","http://www.securityfocus.com/bid/3007"],"cveids":["CVE-2001-1180"],"certadvisory":"","uscerttechnicalalert":null,"datecreated":"2001-07-10T19:55:37Z","publicdate":"2001-07-10T00:00:00Z","datefirstpublished":"2001-09-14T15:25:43Z","dateupdated":"2002-12-12T18:39:28Z","revision":30,"vrda_d1_directreport":"","vrda_d1_population":"","vrda_d1_impact":"","cam_widelyknown":"20","cam_exploitation":"0","cam_internetinfrastructure":"10","cam_population":"13","cam_impact":"20","cam_easeofexploitation":"20","cam_attackeraccessrequired":"10","cam_scorecurrent":"29.25","cam_scorecurrentwidelyknown":"29.25","cam_scorecurrentwidelyknownexploited":"48.75","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":29.25,"vulnote":null}