Todd Miller sudo up to 1.6.8 P1 Bash Scripts Remote Code Execution

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.9$0-$5k0.00

Summaryinfo

A vulnerability described as problematic has been identified in Todd Miller sudo. This affects an unknown part of the component Bash Scripts. Such manipulation leads to Remote Code Execution. This vulnerability is uniquely identified as CVE-2004-1051. The attack can only be initiated within the local network. Moreover, an exploit is present. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability, which was classified as critical, has been found in Todd Miller sudo (Operating System Utility Software). Affected by this issue is an unknown code block of the component Bash Scripts. The manipulation with an unknown input leads to a remote code execution vulnerability. Impacted is confidentiality, integrity, and availability. CVE summarizes:

sudo before 1.6.8p2 allows local users to execute arbitrary commands by using "()" style environment variables to create functions that have the same name as any program within the bash script that is called without using the program s full pathname.

The weakness was disclosed 11/11/2004 by Liam Helmer (Website). The advisory is shared for download at sudo.ws. This vulnerability is handled as CVE-2004-1051 since 11/17/2004. Access to the local network is required for this attack. No form of authentication is required for exploitation. Technical details are unknown but a public exploit is available.

After 1 days, there has been an exploit disclosed. The exploit is available at d2sec.com. It is declared as proof-of-concept. As 0-day the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 15738 (Mandrake Linux Security Advisory : sudo (MDKSA-2004:133)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Mandriva Local Security Checks.

Upgrading to version 1.6.8p2 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at sudo.ws. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at X-Force (18055), Tenable (15738), SecurityFocus (BID 11668†), OSVDB (11716†) and Secunia (SA13199†). The entries VDB-458, VDB-1454, VDB-2668 and VDB-2995 are pretty similar. VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.8
VulDB Meta Temp Score: 7.9

VulDB Base Score: 8.8
VulDB Temp Score: 7.9
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Remote Code Execution
CWE: Unknown
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 15738
Nessus Name: Mandrake Linux Security Advisory : sudo (MDKSA-2004:133)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 53284
OpenVAS Name: Debian Security Advisory DSA 596-1 (sudo)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍
Exploit Delay Time: 🔍

Upgrade: sudo 1.6.8p2
Patch: sudo.ws

Timelineinfo

11/11/2004 🔍
11/12/2004 +0 days 🔍
11/12/2004 +0 days 🔍
11/13/2004 +1 days 🔍
11/13/2004 +0 days 🔍
11/16/2004 +2 days 🔍
11/17/2004 +1 days 🔍
11/17/2004 +0 days 🔍
03/01/2005 +104 days 🔍
06/12/2024 +7043 days 🔍

Sourcesinfo

Advisory: sudo.ws
Researcher: Liam Helmer
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2004-1051 (🔍)
GCVE (CVE): GCVE-0-2004-1051
GCVE (VulDB): GCVE-100-992
X-Force: 18055 - Sudo bash command execution, High Risk
SecurityFocus: 11668
Secunia: 13199 - Sudo Environment Cleaning Privilege Escalation Vulnerability, Less Critical
OSVDB: 11716 - sudo Bash Script Subversion Arbitrary Command Execution
SecurityTracker: 1012224 - Sudo Environment Variable Validation Error May Let Local Users Run Arbitrary Commands
Vulnerability Center: 8037

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 11/16/2004 14:30
Updated: 06/12/2024 23:43
Changes: 11/16/2004 14:30 (82), 06/16/2017 09:02 (2), 03/10/2021 10:48 (7), 03/10/2021 10:53 (2), 03/10/2021 10:58 (1), 06/12/2024 23:43 (16)
Complete: 🔍
Cache ID: 216:26F:103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!