FreeBSD 7.0/7.0 Beta4/7.0 Releng/7.0-release/7.1 Telnet Client sys_term.c access control
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
9.0 | $0-$5k | 0.00 |
A vulnerability has been found in FreeBSD 7.0/7.0 Beta4/7.0 Releng/7.0-release/7.1 (Operating System) and classified as critical. This vulnerability affects an unknown code block of the file sys_term.c of the component Telnet Client. The manipulation with an unknown input leads to a access control vulnerability. The CWE definition for the vulnerability is CWE-264. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
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.
The bug was discovered 02/16/2009. The weakness was published 02/20/2009 by kingcope (Website). The advisory is shared for download at security.freebsd.org. This vulnerability was named CVE-2009-0641 since 02/18/2009. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details and also a public exploit are known. The MITRE ATT&CK project declares the attack technique as T1068.
A public exploit has been developed in ANSI C. It is possible to download the exploit at securityfocus.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 1 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 35700 (FreeBSD telnetd sys_term.c Environment Variable Handling Privilege Escalation (FreeBSD-SA-09:05)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Gain a shell remotely and running in the context r.
Upgrading eliminates this vulnerability.
The vulnerability is also documented in the databases at Tenable (35700) and Exploit-DB (8055).
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 10.0VulDB Meta Temp Score: 9.0
VulDB Base Score: 10.0
VulDB Temp Score: 9.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Access controlCWE: CWE-264
ATT&CK: T1068
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Programming Language: 🔍
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Nessus ID: 35700
Nessus Name: FreeBSD telnetd sys_term.c Environment Variable Handling Privilege Escalation (FreeBSD-SA-09:05)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Timeline
02/14/2009 🔍02/14/2009 🔍
02/16/2009 🔍
02/17/2009 🔍
02/18/2009 🔍
02/20/2009 🔍
02/20/2009 🔍
02/22/2009 🔍
03/17/2015 🔍
08/04/2021 🔍
Sources
Product: freebsd.orgAdvisory: security.freebsd.org
Researcher: kingcope
Status: Not defined
CVE: CVE-2009-0641 (🔍)
X-Force: 48780
Vulnerability Center: 21003 - FreeBSD 7.1-STABLE, 7.0-STABLE and 7.0-RELEASE Remote Arbitrary Code Execution Vulnerability, Critical
SecurityFocus: 33777 - FreeBSD 'telnetd' Daemon Remote Code Execution Vulnerability
OSVDB: 52315 - FreeBSD - 'telnetd' Daemon Remote Code Execution Issue
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 03/17/2015 16:11Updated: 08/04/2021 15:44
Changes: 03/17/2015 16:11 (69), 08/28/2019 07:40 (6), 08/04/2021 15:44 (3)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.