Todd Miller sudo up to 1.6.8 P1 Bash Scripts Remote Code Execution
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.9 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Vendor
Name
Version
- 1.5.6
- 1.5.7
- 1.5.8
- 1.5.9
- 1.6
- 1.6.1
- 1.6.2
- 1.6.3
- 1.6.3 P1
- 1.6.3 P2
- 1.6.3 P3
- 1.6.3 P4
- 1.6.3 P5
- 1.6.3 P6
- 1.6.3 P7
- 1.6.4
- 1.6.4 P1
- 1.6.4 P2
- 1.6.5
- 1.6.5 P1
- 1.6.5 P2
- 1.6.6
- 1.6.7
- 1.6.8
- 1.6.8 P1
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.8VulDB Meta Temp Score: 7.9
VulDB Base Score: 8.8
VulDB Temp Score: 7.9
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: Remote Code ExecutionCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Exploit Delay Time: 🔍
Upgrade: sudo 1.6.8p2
Patch: sudo.ws
Timeline
11/11/2004 🔍11/12/2004 🔍
11/12/2004 🔍
11/13/2004 🔍
11/13/2004 🔍
11/16/2004 🔍
11/17/2004 🔍
11/17/2004 🔍
03/01/2005 🔍
06/12/2024 🔍
Sources
Advisory: sudo.wsResearcher: 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: 🔍
Entry
Created: 11/16/2004 14:30Updated: 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.
No comments yet. Languages: en.
Please log in to comment.