{"vuid":"VU#580124","idnumber":"580124","name":"MIT Kerberos (krb5) krshd and v4rcp do not properly validate setuid() or seteuid() calls","keywords":["Kerberos","MIT implementation","local privilege escalation","krshd","v4rcp"],"overview":"Privilege escalation vulnerabilities in MIT krb5 krshd and v4rcp may allow an authenticated attacker to execute arbitrary code.","clean_desc":"The MIT krb 5 krshd and v4rcp programs contain multiple privilege escalation vulnerabilities. MIT krb5 Security Advisory 2006-001 states that the vulnerabilities \"...result when the OS implementations of setuid() or seteuid() can fail due to resource exhaustion when changing to an unprivileged user ID.\" From MIT krb5 Security Advisory 2006-001: The following vulnerabilities may result from unchecked calls to setuid(), and are believed to only exist on Linux and AIX: Unchecked calls to setuid() in krshd may allow a local privilege escalation leading to execution of programs as root. Unchecked calls to setuid() in the v4rcp may allow a local privilege escalation leading to reading, writing, or creating files as root. v4rcp is the remote end of a krb4-authenticated rcp operation, but may be executed directly by an attacker, as it is a setuid program.","impact":"An authenticated, remote attacker may be able to execute arbitrary code with root privileges.","resolution":"Apply a patch or upgrade\nFrom MIT krb5 Security Advisory 2006-001:  \"The upcoming krb5-1.5.1 and krb5-1.4.4 releases will include fixes for these vulnerabilities.\"  MIT has also released patches for krb 5-1.5 and krb5-1.4.3. See the Systems Affected section of this document for information about specific vendors.","workarounds":"Disable vulnerable programs From MIT krb5 Security Advisory 2006-001:  \"Disable krshd and v4rcp, and remove the setuid bit from the ksu binary and the ftpd binary.\"","sysaffected":"","thanks":"These vulnerabilities were reported by the MIT Kerberos Development Team.","author":"This document was written by Ryan Giobbi and Art Manion.","public":["http://web.mit.edu/Kerberos/advisories/MITKRB5-SA-2006-001-setuid.txt","http://www.die.net/doc/linux/man/man8/kshd.8.html","http://www.die.net/doc/linux/man/man1/v4rcp.1.html"],"cveids":["CVE-2006-3083"],"certadvisory":"","uscerttechnicalalert":null,"datecreated":"2006-07-26T15:06:54Z","publicdate":"2006-07-26T00:00:00Z","datefirstpublished":"2006-08-08T23:46:19Z","dateupdated":"2006-08-24T20:07:13Z","revision":42,"vrda_d1_directreport":"1","vrda_d1_population":"3","vrda_d1_impact":"3","cam_widelyknown":"15","cam_exploitation":"0","cam_internetinfrastructure":"9","cam_population":"16","cam_impact":"16","cam_easeofexploitation":"6","cam_attackeraccessrequired":"10","cam_scorecurrent":"6.912","cam_scorecurrentwidelyknown":"8.352","cam_scorecurrentwidelyknownexploited":"14.112","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":6.912,"vulnote":null}