CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register   Reset Password   Activate Account
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2004-1051

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.
Publish Date : 2005-03-01 Last Update Date : 2008-09-10
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
7.2
Confidentiality Impact Complete (There is total information disclosure, resulting in all system files being revealed.)
Integrity Impact Complete (There is a total compromise of system integrity. There is a complete loss of system protection, resulting in the entire system being compromised.)
Availability Impact Complete (There is a total shutdown of the affected resource. The attacker can render the resource completely unavailable.)
Access Complexity Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required to exploit. )
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access Admin
Vulnerability Type(s) Execute Code
CWE ID CWE id is not defined for this vulnerability

- Vendor Statements

We do not consider this to be a security issue: http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=139478#c1
Source: Redhat

- Products Affected By CVE-2004-1051

# Product Type Vendor Product Version Update Edition Language
1 OS Debian Debian Linux 3.0 Ia-32 Version Details Vulnerabilities
2 OS Debian Debian Linux 3.0 S-390 Version Details Vulnerabilities
3 OS Debian Debian Linux 3.0 Ia-64 Version Details Vulnerabilities
4 OS Debian Debian Linux 3.0 Sparc Version Details Vulnerabilities
5 OS Debian Debian Linux 3.0 M68k Version Details Vulnerabilities
6 OS Debian Debian Linux 3.0 Alpha Version Details Vulnerabilities
7 OS Debian Debian Linux 3.0 Mips Version Details Vulnerabilities
8 OS Debian Debian Linux 3.0 ARM Version Details Vulnerabilities
9 OS Debian Debian Linux 3.0 Mipsel Version Details Vulnerabilities
10 OS Debian Debian Linux 3.0 Hppa Version Details Vulnerabilities
11 OS Debian Debian Linux 3.0 PPC Version Details Vulnerabilities
12 OS Mandrakesoft Mandrake Linux 9.2 Version Details Vulnerabilities
13 OS Mandrakesoft Mandrake Linux 9.2 Amd64 Version Details Vulnerabilities
14 OS Mandrakesoft Mandrake Linux 10.0 Version Details Vulnerabilities
15 OS Mandrakesoft Mandrake Linux 10.0 Amd64 Version Details Vulnerabilities
16 OS Mandrakesoft Mandrake Linux 10.1 X86 64 Version Details Vulnerabilities
17 OS Mandrakesoft Mandrake Linux 10.1 Version Details Vulnerabilities
18 OS Mandrakesoft Mandrake Linux Corporate Server 2.1 Version Details Vulnerabilities
19 OS Mandrakesoft Mandrake Linux Corporate Server 2.1 X86 64 Version Details Vulnerabilities
20 Application Mandrakesoft Mandrake Multi Network Firewall 8.2 Version Details Vulnerabilities
21 Application Todd Miller Sudo 1.5.6 Version Details Vulnerabilities
22 Application Todd Miller Sudo 1.5.7 Version Details Vulnerabilities
23 Application Todd Miller Sudo 1.5.8 Version Details Vulnerabilities
24 Application Todd Miller Sudo 1.5.9 Version Details Vulnerabilities
25 Application Todd Miller Sudo 1.6 Version Details Vulnerabilities
26 Application Todd Miller Sudo 1.6.1 Version Details Vulnerabilities
27 Application Todd Miller Sudo 1.6.2 Version Details Vulnerabilities
28 Application Todd Miller Sudo 1.6.3 P5 Version Details Vulnerabilities
29 Application Todd Miller Sudo 1.6.3 Version Details Vulnerabilities
30 Application Todd Miller Sudo 1.6.3 P6 Version Details Vulnerabilities
31 Application Todd Miller Sudo 1.6.3 P1 Version Details Vulnerabilities
32 Application Todd Miller Sudo 1.6.3 P7 Version Details Vulnerabilities
33 Application Todd Miller Sudo 1.6.3 P2 Version Details Vulnerabilities
34 Application Todd Miller Sudo 1.6.3 P3 Version Details Vulnerabilities
35 Application Todd Miller Sudo 1.6.3 P4 Version Details Vulnerabilities
36 Application Todd Miller Sudo 1.6.4 Version Details Vulnerabilities
37 Application Todd Miller Sudo 1.6.4 P1 Version Details Vulnerabilities
38 Application Todd Miller Sudo 1.6.4 P2 Version Details Vulnerabilities
39 Application Todd Miller Sudo 1.6.5 Version Details Vulnerabilities
40 Application Todd Miller Sudo 1.6.5 P1 Version Details Vulnerabilities
41 Application Todd Miller Sudo 1.6.5 P2 Version Details Vulnerabilities
42 Application Todd Miller Sudo 1.6.6 Version Details Vulnerabilities
43 Application Todd Miller Sudo 1.6.7 Version Details Vulnerabilities
44 Application Todd Miller Sudo 1.6.8 Version Details Vulnerabilities
45 Application Todd Miller Sudo 1.6.8 P1 Version Details Vulnerabilities
46 OS Trustix Secure Linux 1.5 Version Details Vulnerabilities
47 OS Trustix Secure Linux 2.0 Version Details Vulnerabilities
48 OS Trustix Secure Linux 2.1 Version Details Vulnerabilities
49 OS Trustix Secure Linux 2.2 Version Details Vulnerabilities
50 OS Ubuntu Ubuntu Linux 4.1 Ia64 Version Details Vulnerabilities
51 OS Ubuntu Ubuntu Linux 4.1 PPC Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Debian Debian Linux 11
Mandrakesoft Mandrake Linux 6
Mandrakesoft Mandrake Linux Corporate Server 2
Mandrakesoft Mandrake Multi Network Firewall 1
Todd Miller Sudo 25
Trustix Secure Linux 4
Ubuntu Ubuntu Linux 2

- References For CVE-2004-1051

http://marc.theaimsgroup.com/?l=bugtraq&m=110073149111410&w=2
UBUNTU USN-28-1
http://marc.theaimsgroup.com/?l=bugtraq&m=110598298225675&w=2
OPENPKG OpenPKG-SA-2005.002
http://www.mandriva.com/security/advisories?name=MDKSA-2004:133
MANDRAKE MDKSA-2004:133
http://lists.apple.com/archives/security-announce/2005/May/msg00001.html
APPLE APPLE-SA-2005-05-03
http://www.debian.org/security/2004/dsa-596
DEBIAN DSA-596
http://www.sudo.ws/sudo/alerts/bash_functions.html CONFIRM
http://www.trustix.org/errata/2004/0061/
TRUSTIX 2004-0061
http://www.securityfocus.com/bid/11668
BID 11668 GratiSoft Sudo Restricted Command Execution Bypass Vulnerability Release Date:2009-07-12
http://xforce.iss.net/xforce/xfdb/18055
XF sudo-bash-command-execution(18055)
http://marc.theaimsgroup.com/?l=bugtraq&m=110028877431192&w=2
BUGTRAQ 20041112 Sudo version 1.6.8p2 now available (fwd)

- Metasploit Modules Related To CVE-2004-1051

There are not any metasploit modules related to this vulnerability (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.