Vulnerabilities > CVE-2014-9328 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in multiple products

047910
CVSS 7.5 - HIGH
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
PARTIAL
Availability impact
PARTIAL
network
low complexity
fedoraproject
clamav
CWE-119
nessus

Summary

ClamAV before 0.98.6 allows remote attackers to have unspecified impact via a crafted upack packer file, related to a "heap out of bounds condition."

Vulnerable Configurations

Part Description Count
OS
Fedoraproject
2
Application
Clamav
153

Common Attack Pattern Enumeration and Classification (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.

Nessus

  • NASL familyAmazon Linux Local Security Checks
    NASL idALA_ALAS-2015-486.NASL
    descriptionClamAV before 0.98.6 allows remote attackers to have unspecified impact via a crafted upack packer file, related to a
    last seen2020-06-01
    modified2020-06-02
    plugin id81674
    published2015-03-09
    reporterThis script is Copyright (C) 2015-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/81674
    titleAmazon Linux AMI : clamav (ALAS-2015-486)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from Amazon Linux AMI Security Advisory ALAS-2015-486.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(81674);
      script_version("1.2");
      script_cvs_date("Date: 2018/04/18 15:09:35");
    
      script_cve_id("CVE-2014-9328");
      script_xref(name:"ALAS", value:"2015-486");
    
      script_name(english:"Amazon Linux AMI : clamav (ALAS-2015-486)");
      script_summary(english:"Checks rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Amazon Linux AMI host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "ClamAV before 0.98.6 allows remote attackers to have unspecified
    impact via a crafted upack packer file, related to a 'heap out of
    bounds condition.'"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://alas.aws.amazon.com/ALAS-2015-486.html"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Run 'yum update clamav' to update your system."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:clamav");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:clamav-data");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:clamav-data-empty");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:clamav-db");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:clamav-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:clamav-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:clamav-filesystem");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:clamav-lib");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:clamav-milter");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:clamav-milter-sysvinit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:clamav-scanner");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:clamav-scanner-sysvinit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:clamav-server");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:clamav-server-sysvinit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:clamav-update");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:clamd");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:amazon:linux");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2015/03/04");
      script_set_attribute(attribute:"plugin_publication_date", value:"2015/03/09");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2015-2018 Tenable Network Security, Inc.");
      script_family(english:"Amazon Linux Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/AmazonLinux/release", "Host/AmazonLinux/rpm-list");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    
    release = get_kb_item("Host/AmazonLinux/release");
    if (isnull(release) || !strlen(release)) audit(AUDIT_OS_NOT, "Amazon Linux");
    os_ver = pregmatch(pattern: "^AL(A|\d)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Amazon Linux");
    os_ver = os_ver[1];
    if (os_ver != "A")
    {
      if (os_ver == 'A') os_ver = 'AMI';
      audit(AUDIT_OS_NOT, "Amazon Linux AMI", "Amazon Linux " + os_ver);
    }
    
    if (!get_kb_item("Host/AmazonLinux/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    
    flag = 0;
    if (rpm_check(release:"ALA", reference:"clamav-0.98.6-1.11.amzn1")) flag++;
    if (rpm_check(release:"ALA", reference:"clamav-data-0.98.6-1.11.amzn1")) flag++;
    if (rpm_check(release:"ALA", reference:"clamav-data-empty-0.98.6-1.11.amzn1")) flag++;
    if (rpm_check(release:"ALA", reference:"clamav-db-0.98.6-1.11.amzn1")) flag++;
    if (rpm_check(release:"ALA", reference:"clamav-debuginfo-0.98.6-1.11.amzn1")) flag++;
    if (rpm_check(release:"ALA", reference:"clamav-devel-0.98.6-1.11.amzn1")) flag++;
    if (rpm_check(release:"ALA", reference:"clamav-filesystem-0.98.6-1.11.amzn1")) flag++;
    if (rpm_check(release:"ALA", reference:"clamav-lib-0.98.6-1.11.amzn1")) flag++;
    if (rpm_check(release:"ALA", reference:"clamav-milter-0.98.6-1.11.amzn1")) flag++;
    if (rpm_check(release:"ALA", reference:"clamav-milter-sysvinit-0.98.6-1.11.amzn1")) flag++;
    if (rpm_check(release:"ALA", reference:"clamav-scanner-0.98.6-1.11.amzn1")) flag++;
    if (rpm_check(release:"ALA", reference:"clamav-scanner-sysvinit-0.98.6-1.11.amzn1")) flag++;
    if (rpm_check(release:"ALA", reference:"clamav-server-0.98.6-1.11.amzn1")) flag++;
    if (rpm_check(release:"ALA", reference:"clamav-server-sysvinit-0.98.6-1.11.amzn1")) flag++;
    if (rpm_check(release:"ALA", reference:"clamav-update-0.98.6-1.11.amzn1")) flag++;
    if (rpm_check(release:"ALA", reference:"clamd-0.98.6-1.11.amzn1")) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get());
      else security_hole(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "clamav / clamav-data / clamav-data-empty / clamav-db / etc");
    }
    
  • NASL familyMandriva Local Security Checks
    NASL idMANDRIVA_MDVSA-2015-166.NASL
    descriptionUpdated clamav packages fix security vulnerabilities : ClamAV 0.98.6 is a maintenance release to fix some bugs, some of them being security bugs : Certain JavaScript files causes ClamAV to segfault when scanned with the -a (list archived files) (CVE-2013-6497). A heap buffer overflow was reported in ClamAV when scanning a specially crafted y0da Crypter obfuscated PE file (CVE-2014-9050). Fix a heap out of bounds condition with crafted Yoda
    last seen2020-06-01
    modified2020-06-02
    plugin id82419
    published2015-03-30
    reporterThis script is Copyright (C) 2015-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/82419
    titleMandriva Linux Security Advisory : clamav (MDVSA-2015:166)
  • NASL familyUbuntu Local Security Checks
    NASL idUBUNTU_USN-2488-1.NASL
    descriptionSebastian Andrzej Siewior discovered that ClamAV incorrectly handled certain upack packer files. An attacker could possibly use this issue to cause ClamAV to crash, resulting in a denial of service, or possibly execute arbitrary code. 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 seen2020-06-01
    modified2020-06-02
    plugin id81144
    published2015-02-03
    reporterUbuntu Security Notice (C) 2015-2019 Canonical, Inc. / NASL script (C) 2015-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/81144
    titleUbuntu 12.04 LTS / 14.04 LTS / 14.10 : clamav vulnerability (USN-2488-1)
  • NASL familyDebian Local Security Checks
    NASL idDEBIAN_DLA-233.NASL
    descriptionUpstream published version 0.98.7. This update updates sqeeze-lts to the latest upstream release in line with the approach used for other Debian releases. The changes are not strictly required for operation, but users of the previous version in Squeeze may not be able to make use of all current virus signatures and might get warnings. The bug fixes that are part of this release include security fixes related to packed or crypted files (CVE-2014-9328, CVE-2015-1461, CVE-2015-1462, CVE-2015-1463, CVE-2015-2170, CVE-2015-2221, CVE-2015-2222, and CVE-2015-2668) and several fixes to the embedded libmspack library, including a potential infinite loop in the Quantum decoder (CVE-2014-9556). If you use clamav, we strongly recommend that you upgrade to this version. NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-03-17
    modified2015-05-29
    plugin id83888
    published2015-05-29
    reporterThis script is Copyright (C) 2015-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/83888
    titleDebian DLA-233-1 : clamav security and upstream version update
  • NASL familyMandriva Local Security Checks
    NASL idMANDRIVA_MDVSA-2015-042.NASL
    descriptionUpdated clamav packages fix security vulnerabilities : ClamAV 0.98.6 is a maintenance release to fix some bugs, some of them being security bugs : Fix a heap out of bounds condition with crafted Yoda
    last seen2020-06-01
    modified2020-06-02
    plugin id81283
    published2015-02-11
    reporterThis script is Copyright (C) 2015-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/81283
    titleMandriva Linux Security Advisory : clamav (MDVSA-2015:042)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2015-1461.NASL
    descriptionClamAV 0.98.6 ============= ClamAV 0.98.6 is a bug fix release correcting the following : - library shared object revisions. - installation issues on some Mac OS X and FreeBSD platforms. - includes a patch from Sebastian Andrzej Siewior making ClamAV pid files compatible with systemd. - Fix a heap out of bounds condition with crafted Yoda
    last seen2020-06-05
    modified2015-02-02
    plugin id81115
    published2015-02-02
    reporterThis script is Copyright (C) 2015-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/81115
    titleFedora 21 : clamav-0.98.6-1.fc21 (2015-1461)
  • NASL familyGentoo Local Security Checks
    NASL idGENTOO_GLSA-201512-08.NASL
    descriptionThe remote host is affected by the vulnerability described in GLSA-201512-08 (ClamAV: Multiple vulnerabilities) Multiple vulnerabilities have been discovered in ClamAV. Please review the CVE identifiers referenced below for details. Impact : A remote attacker could cause ClamAV to scan a specially crafted file, possibly resulting in a Denial of Service condition or other unspecified impact. Workaround : There is no known workaround at this time.
    last seen2020-06-01
    modified2020-06-02
    plugin id87708
    published2016-01-04
    reporterThis script is Copyright (C) 2016 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/87708
    titleGLSA-201512-08 : ClamAV: Multiple vulnerabilities
  • NASL familyUbuntu Local Security Checks
    NASL idUBUNTU_USN-2488-2.NASL
    descriptionUSN-2488-1 fixed a vulnerability in ClamAV for Ubuntu 14.10, Ubuntu 14.04 LTS, and Ubuntu 12.04 LTS. This update provides the corresponding update for Ubuntu 10.04 LTS. Sebastian Andrzej Siewior discovered that ClamAV incorrectly handled certain upack packer files. An attacker could possibly use this issue to cause ClamAV to crash, resulting in a denial of service, or possibly execute arbitrary code. 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 seen2020-06-01
    modified2020-06-02
    plugin id81341
    published2015-02-13
    reporterUbuntu Security Notice (C) 2015-2019 Canonical, Inc. / NASL script (C) 2015-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/81341
    titleUbuntu 10.04 LTS : clamav vulnerability (USN-2488-2)
  • NASL familyMisc.
    NASL idCLAMAV_0_98_6.NASL
    descriptionAccording to its version, the ClamAV clamd antivirus daemon on the remote host is prior to 0.98.6. It is, therefore, affected by the following vulnerabilities : - An out-of-bounds access flaw exists in the unupack() function that is triggered when parsing a specially crafted Upack packer file. A remote attacker can exploit this to crash the application, resulting in a denial of service condition. (CVE-2014-9328) - An out-of-bounds access flaw exists that is triggered when parsing maliciously crafted Yoda Crypter and MEW packer files. A remote attacker can exploit this to crash the application, resulting in a denial of service condition. (CVE-2015-1461) - An out-of-bounds access flaw exists that is triggered when parsing a specially crafted UPX packer file. A remote attacker can exploit this to crash the application, resulting in a denial of service condition. (CVE-2015-1462) - A signedness flaw exists in the petite_inflate2x_1to9() function in
    last seen2020-06-01
    modified2020-06-02
    plugin id81147
    published2015-02-03
    reporterThis script is Copyright (C) 2015-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/81147
    titleClamAV < 0.98.6 Multiple Vulnerabilities
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2015-1437.NASL
    descriptionClamAV 0.98.6 ============= ClamAV 0.98.6 is a bug fix release correcting the following : - library shared object revisions. - installation issues on some Mac OS X and FreeBSD platforms. - includes a patch from Sebastian Andrzej Siewior making ClamAV pid files compatible with systemd. - Fix a heap out of bounds condition with crafted Yoda
    last seen2020-06-05
    modified2015-02-02
    plugin id81114
    published2015-02-02
    reporterThis script is Copyright (C) 2015-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/81114
    titleFedora 20 : clamav-0.98.6-1.fc20 (2015-1437)
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2015-147.NASL
    descriptionclamav was updated to version 0.98.6 that fixes bugs and several security issues : - bsc#916217, CVE-2015-1461: Remote attackers can have unspecified impact via Yoda
    last seen2020-06-05
    modified2015-02-16
    plugin id81372
    published2015-02-16
    reporterThis script is Copyright (C) 2015-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/81372
    titleopenSUSE Security Update : clamav (openSUSE-2015-147)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_CLAMAV-150206.NASL
    descriptionclamav was updated to version 0.98.6 to fix four security issues. These security issues have been fixed : - ClamAV allowed remote attackers to have unspecified impact via a crafted upx packer file, related to a heap out of bounds condition. (bnc#916214). (CVE-2015-1462) - ClamAV allowed remote attackers to cause a denial of service (crash) via a crafted petite packer file, related to an incorrect compiler optimization. (bnc#916215). (CVE-2015-1463) - ClamAV allowed remote attackers to have unspecified impact via a crafted upack packer file, related to a heap out of bounds condition. (bnc#915512). (CVE-2014-9328) - ClamAV allowed remote attackers to have unspecified impact via a crafted (1) Yoda
    last seen2020-06-01
    modified2020-06-02
    plugin id81389
    published2015-02-17
    reporterThis script is Copyright (C) 2015 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/81389
    titleSuSE 11.3 Security Update : clamav (SAT Patch Number 10283)