ID CVE-2011-1778
Summary Buffer overflow in libarchive through 2.8.5 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted TAR archive.
References
Vulnerable Configurations
  • cpe:2.3:a:freebsd:libarchive:2.0
    cpe:2.3:a:freebsd:libarchive:2.0
  • cpe:2.3:a:freebsd:libarchive:2.1
    cpe:2.3:a:freebsd:libarchive:2.1
  • cpe:2.3:a:freebsd:libarchive:2.2
    cpe:2.3:a:freebsd:libarchive:2.2
  • FreeBSD libarchive 2.2.3
    cpe:2.3:a:freebsd:libarchive:2.2.3
  • cpe:2.3:a:freebsd:libarchive:2.3
    cpe:2.3:a:freebsd:libarchive:2.3
  • cpe:2.3:a:freebsd:libarchive:2.4
    cpe:2.3:a:freebsd:libarchive:2.4
  • cpe:2.3:a:freebsd:libarchive:2.5
    cpe:2.3:a:freebsd:libarchive:2.5
  • cpe:2.3:a:freebsd:libarchive:2.6
    cpe:2.3:a:freebsd:libarchive:2.6
  • cpe:2.3:a:freebsd:libarchive:2.6.1
    cpe:2.3:a:freebsd:libarchive:2.6.1
  • cpe:2.3:a:freebsd:libarchive:2.6.2
    cpe:2.3:a:freebsd:libarchive:2.6.2
  • cpe:2.3:a:freebsd:libarchive:2.7.0
    cpe:2.3:a:freebsd:libarchive:2.7.0
  • cpe:2.3:a:freebsd:libarchive:2.7.1
    cpe:2.3:a:freebsd:libarchive:2.7.1
  • cpe:2.3:a:freebsd:libarchive:2.8.0
    cpe:2.3:a:freebsd:libarchive:2.8.0
  • cpe:2.3:a:freebsd:libarchive:2.8.1
    cpe:2.3:a:freebsd:libarchive:2.8.1
  • cpe:2.3:a:freebsd:libarchive:2.8.2
    cpe:2.3:a:freebsd:libarchive:2.8.2
  • cpe:2.3:a:freebsd:libarchive:2.8.3
    cpe:2.3:a:freebsd:libarchive:2.8.3
  • cpe:2.3:a:freebsd:libarchive:2.8.4
    cpe:2.3:a:freebsd:libarchive:2.8.4
  • cpe:2.3:a:freebsd:libarchive:2.8.5
    cpe:2.3:a:freebsd:libarchive:2.8.5
CVSS
Base: 6.8 (as of 16-04-2012 - 10:34)
Impact:
Exploitability:
CWE CWE-119
CAPEC
  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
Access
VectorComplexityAuthentication
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
nessus via4
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2011-190.NASL
    description Two heap-based buffer overflow flaws were discovered in libarchive. If a user were tricked into expanding a specially crafted ISO 9660 CD-ROM image or tar archive with an application using libarchive, it could cause the application to crash or, potentially, execute arbitrary code with the privileges of the user running the application (CVE-2011-1777, CVE-2011-1778). The updated packages have been patched to correct these issues.
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 57332
    published 2011-12-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=57332
    title Mandriva Linux Security Advisory : libarchive (MDVSA-2011:190)
  • NASL family MacOS X Local Security Checks
    NASL id MACOSX_SECUPD2012-002.NASL
    description The remote host is running a version of Mac OS X 10.6 that does not have Security Update 2012-002 applied. This update contains multiple security-related fixes for the following components : - curl - Directory Service - ImageIO - libarchive - libsecurity - libxml - Quartz Composer - QuickTime - Ruby - Samba - Security Framework
    last seen 2019-02-21
    modified 2018-07-14
    plugin id 59067
    published 2012-05-10
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=59067
    title Mac OS X Multiple Vulnerabilities (Security Update 2012-002) (BEAST)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-2413.NASL
    description Two buffer overflows have been discovered in libarchive, a library providing a flexible interface for reading and writing archives in various formats. The possible buffer overflows while reading ISO 9660 or tar streams allow remote attackers to execute arbitrary code depending on the application that makes use of this functionality.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 58043
    published 2012-02-21
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=58043
    title Debian DSA-2413-1 : libarchive - buffer overflows
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2011-1507.NASL
    description From Red Hat Security Advisory 2011:1507 : Updated libarchive packages that fix two security issues are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. The libarchive programming library can create and read several different streaming archive formats, including GNU tar and cpio. It can also read ISO 9660 CD-ROM images. Two heap-based buffer overflow flaws were discovered in libarchive. If a user were tricked into expanding a specially crafted ISO 9660 CD-ROM image or tar archive with an application using libarchive, it could cause the application to crash or, potentially, execute arbitrary code with the privileges of the user running the application. (CVE-2011-1777, CVE-2011-1778) All libarchive users should upgrade to these updated packages, which contain backported patches to correct these issues. All running applications using libarchive must be restarted for this update to take effect.
    last seen 2019-02-21
    modified 2015-12-01
    plugin id 68396
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=68396
    title Oracle Linux 6 : libarchive (ELSA-2011-1507)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2011-1507.NASL
    description Updated libarchive packages that fix two security issues are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. The libarchive programming library can create and read several different streaming archive formats, including GNU tar and cpio. It can also read ISO 9660 CD-ROM images. Two heap-based buffer overflow flaws were discovered in libarchive. If a user were tricked into expanding a specially crafted ISO 9660 CD-ROM image or tar archive with an application using libarchive, it could cause the application to crash or, potentially, execute arbitrary code with the privileges of the user running the application. (CVE-2011-1777, CVE-2011-1778) All libarchive users should upgrade to these updated packages, which contain backported patches to correct these issues. All running applications using libarchive must be restarted for this update to take effect.
    last seen 2019-02-21
    modified 2018-11-26
    plugin id 56990
    published 2011-12-02
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=56990
    title RHEL 6 : libarchive (RHSA-2011:1507)
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-1310-1.NASL
    description It was discovered that libarchive incorrectly handled certain ISO 9660 image files. If a user were tricked into using a specially crafted ISO 9660 image file, a remote attacker could cause libarchive to crash or possibly execute arbitrary code with user privileges. (CVE-2011-1777) It was discovered that libarchive incorrectly handled certain tar archive files. If a user were tricked into using a specially crafted tar file, a remote attacker could cause libarchive to crash or possibly execute arbitrary code with user privileges. (CVE-2011-1778). Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-12-01
    plugin id 57341
    published 2011-12-20
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=57341
    title Ubuntu 10.04 LTS / 10.10 / 11.04 / 11.10 : libarchive vulnerabilities (USN-1310-1)
  • NASL family MacOS X Local Security Checks
    NASL id MACOSX_10_7_4.NASL
    description The remote host is running a version of Mac OS X 10.7.x that is prior to 10.7.4. The newer version contains numerous security-related fixes for the following components : - Login Window - Bluetooth - curl - HFS - Kernel - libarchive - libsecurity - libxml - LoginUIFramework - PHP - Quartz Composer - QuickTime - Ruby - Security Framework - Time Machine - X11 Note that this update addresses the recent FileVault password vulnerability, in which user passwords are stored in plaintext to a system-wide debug log if the legacy version of FileVault is used to encrypt user directories after a system upgrade to Lion. Since the patch only limits further exposure, though, we recommend that all users on the system change their passwords if user folders were encrypted using the legacy version of FileVault prior to and after an upgrade to OS X 10.7.
    last seen 2019-02-21
    modified 2018-07-16
    plugin id 59066
    published 2012-05-10
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=59066
    title Mac OS X 10.7.x < 10.7.4 Multiple Vulnerabilities (BEAST)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201406-02.NASL
    description The remote host is affected by the vulnerability described in GLSA-201406-02 (libarchive: Multiple vulnerabilities) Multiple vulnerabilities have been discovered in libarchive. Please review the CVE identifiers referenced below for details. Impact : A remote attacker could entice a user or automated process to open a specially crafted archive using an application linked against libarchive, possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2015-04-13
    plugin id 74259
    published 2014-06-02
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=74259
    title GLSA-201406-02 : libarchive: Multiple vulnerabilities
redhat via4
advisories
bugzilla
id 705849
title CVE-2010-4666 CVE-2011-1777 CVE-2011-1778 CVE-2011-1779 Libarchive multiple security issues
oval
AND
  • OR
    • comment Red Hat Enterprise Linux 6 Client is installed
      oval oval:com.redhat.rhba:tst:20111656001
    • comment Red Hat Enterprise Linux 6 Server is installed
      oval oval:com.redhat.rhba:tst:20111656002
    • comment Red Hat Enterprise Linux 6 Workstation is installed
      oval oval:com.redhat.rhba:tst:20111656003
    • comment Red Hat Enterprise Linux 6 ComputeNode is installed
      oval oval:com.redhat.rhba:tst:20111656004
  • OR
    • AND
      • comment libarchive is earlier than 0:2.8.3-3.el6_1
        oval oval:com.redhat.rhsa:tst:20111507005
      • comment libarchive is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20111507006
    • AND
      • comment libarchive-devel is earlier than 0:2.8.3-3.el6_1
        oval oval:com.redhat.rhsa:tst:20111507007
      • comment libarchive-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20111507008
rhsa
id RHSA-2011:1507
released 2011-12-01
severity Moderate
title RHSA-2011:1507: libarchive security update (Moderate)
rpms
  • libarchive-0:2.8.3-3.el6_1
  • libarchive-devel-0:2.8.3-3.el6_1
refmap via4
apple APPLE-SA-2012-05-09-1
confirm
debian DSA-2413
secunia 48034
Last major update 11-05-2012 - 23:38
Published 13-04-2012 - 16:55
Last modified 09-01-2018 - 21:29
Back to Top