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-2005-0758

zgrep in gzip before 1.3.5 does not properly sanitize arguments, which allows local users to execute arbitrary commands via filenames that are injected into a sed script.
Publish Date : 2005-05-13 Last Update Date : 2010-08-21
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
4.6
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
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 User
Vulnerability Type(s) Execute Code
CWE ID CWE id is not defined for this vulnerability

- Vendor Statements

Red Hat Enterprise Linux 5 is not vulnerable to this issue as it contains a backported patch.
Source: Redhat

- Additional Vendor Supplied Data

Vendor Impact CVSS Score CVSS Vector Report Date Publish Date
Redhat low 2004-04-22 2005-04-22
If you are a vendor and you have additional data which can be automatically imported into our database, please contact admin @ cvedetails.com

- Related OVAL Definitions

Title Definition Id Class Family
gzip Argument Sanitation Vulnerability oval:org.mitre.oval:def:1081 unix
gzip zgrep Sanitation Vulnerability oval:org.mitre.oval:def:1107 unix
RHSA-2005:357: gzip security update (Low) oval:com.redhat.rhsa:def:2005357 unix
RHSA-2005:357: gzip security update (Low) oval:com.redhat.rhsa:def:20050357 unix
RHSA-2005:474: bzip2 security update (Low) oval:com.redhat.rhsa:def:2005474 unix
RHSA-2005:474: bzip2 security update (Low) oval:com.redhat.rhsa:def:20050474 unix
zgrep in gzip before 1.3.5 does not properly sanitize arguments, which allows local users to execute arbitrary commands ... oval:org.mitre.oval:def:9797 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2005-0758

# Product Type Vendor Product Version Update Edition Language
1 Application GNU Gzip Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
GNU Gzip 1

- References For CVE-2005-0758

http://docs.info.apple.com/article.html?artnum=306172 CONFIRM
http://secunia.com/advisories/22033
SECUNIA 22033
http://lists.apple.com/archives/security-announce//2007/Jul/msg00004.html
APPLE APPLE-SA-2007-07-31
http://slackware.com/security/viewer.php?l=slackware-security&y=2006&m=slackware-security.555852
SLACKWARE SSA:2006-262
http://secunia.com/advisories/26235
SECUNIA 26235
http://www.frsirt.com/english/advisories/2007/2732
VUPEN ADV-2007-2732
http://www.mandriva.com/security/advisories?name=MDKSA-2006:026
MANDRIVA MDKSA-2006:026
http://www.mandriva.com/security/advisories?name=MDKSA-2006:027
MANDRIVA MDKSA-2006:027
http://www.securityfocus.com/bid/25159
BID 25159 Apple Mac OS X 2007-007 Multiple Security Vulnerabilities Release Date:2007-08-08
http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.002.html
OPENPKG OpenPKG-SA-2007.002
http://rhn.redhat.com/errata/RHSA-2005-357.html
REDHAT RHSA-2005:357
http://bugs.gentoo.org/show_bug.cgi?id=90626
ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2005.58/SCOSA-2005.58.txt
SCO SCOSA-2005.58
ftp://patches.sgi.com/support/free/security/advisories/20060301-01.U.asc
SGI 20060301-01-U
http://secunia.com/advisories/18100
SECUNIA 18100
http://secunia.com/advisories/19183
SECUNIA 19183
http://www.fedoralegacy.org/updates/FC2/2005-11-14-FLSA_2005_158801__Updated_bzip2_packages_fix_security_issues.html
FEDORA FLSA:158801
http://www.securityfocus.com/bid/13582
BID 13582 Gzip Zgrep Arbitrary Command Execution Vulnerability Release Date:2007-08-01
http://securitytracker.com/id?1013928
SECTRACK 1013928
http://www.gentoo.org/security/en/glsa/glsa-200505-05.xml
GENTOO GLSA-200505-05
http://www.osvdb.org/16371
OSVDB 16371
http://www.redhat.com/support/errata/RHSA-2005-474.html
REDHAT RHSA-2005:474
http://www.ubuntu.com/usn/usn-158-1
UBUNTU USN-158-1
http://xforce.iss.net/xforce/xfdb/20539
XF gzip-zgrep-file-installation(20539)

- Metasploit Modules Related To CVE-2005-0758

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.