{"id":"CVE-2009-0641","sourceIdentifier":"cve@mitre.org","published":"2009-02-20T06:47:48.250","lastModified":"2026-06-16T23:05:28.637","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"sys_term.c in telnetd in FreeBSD 7.0-RELEASE and other 7.x versions deletes dangerous environment variables with a method that was valid only in older FreeBSD distributions, which might allow remote attackers to execute arbitrary code by passing a crafted environment variable from a telnet client, as demonstrated by an LD_PRELOAD value that references a malicious library."},{"lang":"es","value":"sys_term.c en telnetd en FreeBSD v7.0-RELEASE y otras v7.x borra variables de entorno peligrosas con un método que solo fue valido en distribuciones antiguas de FreeBSD, lo que permite a atacantes remotos ejecutar código de su elección a través de un cliente de telnet de una variable de entorno manipulada, como se demuestra mediante el valor LD_PRELOAD que hace referencia a una librería maliciosa."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:C/I:C/A:C","baseScore":9.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":8.6,"impactScore":10.0,"acInsufInfo":false,"obtainAllPrivilege":true,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-16"},{"lang":"en","value":"CWE-264"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:freebsd:freebsd:7.0:*:*:*:*:*:*:*","matchCriteriaId":"47E0A416-733A-4616-AE08-150D67FCEA70"},{"vulnerable":true,"criteria":"cpe:2.3:o:freebsd:freebsd:7.0:beta_4:*:*:*:*:*:*","matchCriteriaId":"CDFA5AA9-E73F-448D-9754-41AF9AECB93A"},{"vulnerable":true,"criteria":"cpe:2.3:o:freebsd:freebsd:7.0:current:*:*:*:*:*:*","matchCriteriaId":"C4E775BA-6DC1-4006-83A4-D30EA57417FC"},{"vulnerable":true,"criteria":"cpe:2.3:o:freebsd:freebsd:7.0-release:*:*:*:*:*:*:*","matchCriteriaId":"EC290462-4364-464F-8CE9-6F5E5BE6F246"},{"vulnerable":true,"criteria":"cpe:2.3:o:freebsd:freebsd:7.0_beta4:*:*:*:*:*:*:*","matchCriteriaId":"F06B831E-D8F2-4380-B279-559CE103210F"},{"vulnerable":true,"criteria":"cpe:2.3:o:freebsd:freebsd:7.0_releng:*:*:*:*:*:*:*","matchCriteriaId":"3ACC9072-4A33-4F1F-B790-2F9D5A52F71B"},{"vulnerable":true,"criteria":"cpe:2.3:o:freebsd:freebsd:7.1:*:*:*:*:*:*:*","matchCriteriaId":"803EFA9F-B7CB-4511-B1C1-381170CA9A23"},{"vulnerable":true,"criteria":"cpe:2.3:o:freebsd:freebsd:7.1:rc1:*:*:*:*:*:*","matchCriteriaId":"52DBF406-9C77-4DDA-AB7D-40FAE40023D0"}]}]}],"references":[{"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2009-February/067954.html","source":"cve@mitre.org","tags":["Exploit"]},{"url":"http://security.freebsd.org/advisories/FreeBSD-SA-09:05.telnetd.asc","source":"cve@mitre.org","tags":["Patch"]},{"url":"http://www.securityfocus.com/bid/33777","source":"cve@mitre.org","tags":["Exploit"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48780","source":"cve@mitre.org"},{"url":"https://www.exploit-db.com/exploits/8055","source":"cve@mitre.org"},{"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2009-February/067954.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"]},{"url":"http://security.freebsd.org/advisories/FreeBSD-SA-09:05.telnetd.asc","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"http://www.securityfocus.com/bid/33777","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48780","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.exploit-db.com/exploits/8055","source":"af854a3a-2127-422b-91ae-364da2661108"}]}