{"vuid":"VU#537223","idnumber":"537223","name":"GNU C library dynamic linker expands $ORIGIN in setuid library search path","keywords":["Linux","GNU C","Library Loader","privilege escalation"],"overview":"Certain versions of glibc unsafely handle the $ORIGIN ELF substitution sequence which can be exploited to gain local privilege escalation.","clean_desc":"Tavis Ormandy's advisory states: \"$ORIGIN is an ELF substitution sequence representing the location of the executable being loaded in the filesystem hierarchy. The intention is to allow executables to specify a search path for libraries that is relative to their location, to simplify packaging without spamming the standard search paths with single-use libraries.\" \"$ORIGIN is only expanded if it is alone and first in the path. This makes little sense, and does not appear to be useful even if there were no security impact. This was most likely the result of an attempt to re-use the existing DT_NEEDED resolution infrastructure for LD_AUDIT support, accidentally introducing this error. Perhaps surprisingly, this error is exploitable.\" Versions 2.12.1 on Fedora Core 13 and 2.5 on RHEL5 and CENTOS5 are known to be affected. Other versions and Linux distributions are probably affected but have not been confirmed at this time. Full details are available in Tavis Ormandy's advisory.","impact":"A local unprivileged attacker can escalate their privileges to root.","resolution":"Apply an update for the glibc packages from distribution vendors.","workarounds":"","sysaffected":"","thanks":"Thanks to Tavis Ormandy for researching and publishing the details of this vulnerability.","author":"This document was written by Jared Allar.","public":["h","t","t","p",":","/","/","s","e","c","l","i","s","t","s",".","o","r","g","/","f","u","l","l","d","i","s","c","l","o","s","u","r","e","/","2","0","1","0","/","O","c","t","/","2","5","7"],"cveids":["CVE-2010-3847"],"certadvisory":"","uscerttechnicalalert":null,"datecreated":"2010-10-25T14:19:53Z","publicdate":"2010-10-18T00:00:00Z","datefirstpublished":"2010-10-25T19:08:57Z","dateupdated":"2010-10-26T11:35:38Z","revision":17,"vrda_d1_directreport":"0","vrda_d1_population":"3","vrda_d1_impact":"3","cam_widelyknown":"15","cam_exploitation":"5","cam_internetinfrastructure":"5","cam_population":"15","cam_impact":"19","cam_easeofexploitation":"10","cam_attackeraccessrequired":"10","cam_scorecurrent":"13.359375","cam_scorecurrentwidelyknown":"16.03125","cam_scorecurrentwidelyknownexploited":"24.046875","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":13.359375,"vulnote":null}