{"id":"CVE-2009-0641","published":"2009-02-18T17:00:00Z","modified":"2024-08-07T04:40:05Z","title":"sys_term.c in telnetd in FreeBSD 7.0-RELEASE and other 7.x versions deletes dangerous environment variables with a…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.09321,"percentile":0.95497,"provenance":"source"},"cwes":[],"references":[{"url":"http://security.freebsd.org/advisories/FreeBSD-SA-09:05.telnetd.asc","tags":["vendor-advisory","x_refsource_FREEBSD"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48780","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.securityfocus.com/bid/33777","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2009-February/067954.html","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"https://www.exploit-db.com/exploits/8055","tags":["exploit","x_refsource_EXPLOIT-DB"]}],"priority":{"score":24.1,"factors":[{"name":"EPSS percentile","points":19.1},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2009-02-16"},"first":{"date":"2009-02-16","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/8055"},"provenance":"source"},"summary":{"text":"The flaw is in sys_term.c within telnetd in FreeBSD 7.0-RELEASE and other 7.x versions, where dangerous environment variables are removed using a method that only worked in older FreeBSD distributions. An attacker who can reach the telnet service remotely may be able to execute arbitrary code by sending a crafted environment variable from a telnet client, such as an LD_PRELOAD value pointing to a malicious library.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:53:23Z"},"euvd":{"id":"EUVD-2009-0644","exploited":false,"provenance":"source"},"exploits":[{"id":8055,"url":"https://www.exploit-db.com/exploits/8055","title":"FreeBSD 7.0-RELEASE - Telnet Daemon Privilege Escalation","date":"2009-02-16","verified":true,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/8055"]}