Vulnerabilities > CVE-2014-9328 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in multiple products
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
PARTIAL Integrity impact
PARTIAL Availability impact
PARTIAL 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
Common Weakness Enumeration (CWE)
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 family Amazon Linux Local Security Checks NASL id ALA_ALAS-2015-486.NASL description ClamAV before 0.98.6 allows remote attackers to have unspecified impact via a crafted upack packer file, related to a last seen 2020-06-01 modified 2020-06-02 plugin id 81674 published 2015-03-09 reporter This script is Copyright (C) 2015-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/81674 title Amazon 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 family Mandriva Local Security Checks NASL id MANDRIVA_MDVSA-2015-166.NASL description Updated 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 seen 2020-06-01 modified 2020-06-02 plugin id 82419 published 2015-03-30 reporter This script is Copyright (C) 2015-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/82419 title Mandriva Linux Security Advisory : clamav (MDVSA-2015:166) NASL family Ubuntu Local Security Checks NASL id UBUNTU_USN-2488-1.NASL description 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 seen 2020-06-01 modified 2020-06-02 plugin id 81144 published 2015-02-03 reporter Ubuntu Security Notice (C) 2015-2019 Canonical, Inc. / NASL script (C) 2015-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/81144 title Ubuntu 12.04 LTS / 14.04 LTS / 14.10 : clamav vulnerability (USN-2488-1) NASL family Debian Local Security Checks NASL id DEBIAN_DLA-233.NASL description Upstream 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 seen 2020-03-17 modified 2015-05-29 plugin id 83888 published 2015-05-29 reporter This script is Copyright (C) 2015-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/83888 title Debian DLA-233-1 : clamav security and upstream version update NASL family Mandriva Local Security Checks NASL id MANDRIVA_MDVSA-2015-042.NASL description Updated 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 seen 2020-06-01 modified 2020-06-02 plugin id 81283 published 2015-02-11 reporter This script is Copyright (C) 2015-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/81283 title Mandriva Linux Security Advisory : clamav (MDVSA-2015:042) NASL family Fedora Local Security Checks NASL id FEDORA_2015-1461.NASL description ClamAV 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 seen 2020-06-05 modified 2015-02-02 plugin id 81115 published 2015-02-02 reporter This script is Copyright (C) 2015-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/81115 title Fedora 21 : clamav-0.98.6-1.fc21 (2015-1461) NASL family Gentoo Local Security Checks NASL id GENTOO_GLSA-201512-08.NASL description The 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 seen 2020-06-01 modified 2020-06-02 plugin id 87708 published 2016-01-04 reporter This script is Copyright (C) 2016 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/87708 title GLSA-201512-08 : ClamAV: Multiple vulnerabilities NASL family Ubuntu Local Security Checks NASL id UBUNTU_USN-2488-2.NASL description USN-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 seen 2020-06-01 modified 2020-06-02 plugin id 81341 published 2015-02-13 reporter Ubuntu Security Notice (C) 2015-2019 Canonical, Inc. / NASL script (C) 2015-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/81341 title Ubuntu 10.04 LTS : clamav vulnerability (USN-2488-2) NASL family Misc. NASL id CLAMAV_0_98_6.NASL description According 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 seen 2020-06-01 modified 2020-06-02 plugin id 81147 published 2015-02-03 reporter This script is Copyright (C) 2015-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/81147 title ClamAV < 0.98.6 Multiple Vulnerabilities NASL family Fedora Local Security Checks NASL id FEDORA_2015-1437.NASL description ClamAV 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 seen 2020-06-05 modified 2015-02-02 plugin id 81114 published 2015-02-02 reporter This script is Copyright (C) 2015-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/81114 title Fedora 20 : clamav-0.98.6-1.fc20 (2015-1437) NASL family SuSE Local Security Checks NASL id OPENSUSE-2015-147.NASL description clamav 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 seen 2020-06-05 modified 2015-02-16 plugin id 81372 published 2015-02-16 reporter This script is Copyright (C) 2015-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/81372 title openSUSE Security Update : clamav (openSUSE-2015-147) NASL family SuSE Local Security Checks NASL id SUSE_11_CLAMAV-150206.NASL description clamav 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 seen 2020-06-01 modified 2020-06-02 plugin id 81389 published 2015-02-17 reporter This script is Copyright (C) 2015 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/81389 title SuSE 11.3 Security Update : clamav (SAT Patch Number 10283)
References
- http://blog.clamav.net/2015/01/clamav-0986-has-been-released.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148950.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148958.html
- http://lists.opensuse.org/opensuse-security-announce/2015-02/msg00014.html
- http://lists.opensuse.org/opensuse-security-announce/2015-02/msg00020.html
- http://lists.opensuse.org/opensuse-updates/2015-05/msg00024.html
- http://secunia.com/advisories/62536
- http://secunia.com/advisories/62757
- http://securitytracker.com/id/1031672
- http://www.securityfocus.com/bid/72372
- http://www.ubuntu.com/usn/USN-2488-2
- https://security.gentoo.org/glsa/201512-08