ID CVE-2014-8962
Summary Stack-based buffer overflow in stream_decoder.c in libFLAC before 1.3.1 allows remote attackers to execute arbitrary code via a crafted .flac file.
References
Vulnerable Configurations
  • cpe:2.3:a:flac:libflac:1.3.0
    cpe:2.3:a:flac:libflac:1.3.0
CVSS
Base: 7.5 (as of 01-11-2016 - 13:05)
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 LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
nessus via4
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2014-16258.NASL
    description Security fix for CVE-2014-9028, CVE-2014-8962 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora 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 2015-10-19
    plugin id 79792
    published 2014-12-07
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=79792
    title Fedora 20 : flac-1.3.1-1.fc20 (2014-16258)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_FLAC-141201.NASL
    description flac was updated to fix two security issues : - Stack overflow may result in arbitrary code execution. (CVE-2014-8962) - Heap overflow via specially crafted .flac files. (CVE-2014-9028)
    last seen 2018-09-01
    modified 2014-12-06
    plugin id 79761
    published 2014-12-06
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=79761
    title SuSE 11.3 Security Update : flac (SAT Patch Number 10029)
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2015-188.NASL
    description Multiple vulnerabilities has been discovered and corrected in flac : Heap-based buffer overflow in stream_decoder.c in libFLAC before 1.3.1 allows remote attackers to execute arbitrary code via a crafted .flac file (CVE-2014-9028). Stack-based buffer overflow in stream_decoder.c in libFLAC before 1.3.1 allows remote attackers to execute arbitrary code via a crafted .flac file (CVE-2014-8962). The updated packages provides a solution for these security issues.
    last seen 2019-02-21
    modified 2018-11-15
    plugin id 82559
    published 2015-04-03
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=82559
    title Mandriva Linux Security Advisory : flac (MDVSA-2015:188)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2015-13145.NASL
    description Update flac to fix security issue in xmms-flac plugin (previously an independent subpackage that was out of date). Note that Tenable Network Security has extracted the preceding description block directly from the Fedora 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 2015-10-19
    plugin id 85424
    published 2015-08-17
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=85424
    title Fedora 22 : flac-1.3.1-5.fc22 (2015-13145)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201412-40.NASL
    description The remote host is affected by the vulnerability described in GLSA-201412-40 (FLAC: User-assisted execution of arbitrary code) A stack-based buffer overflow flaw has been discovered in FLAC. Impact : A remote attacker could entice a user to open a specially crafted .flac file using an application linked against FLAC, 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 80245
    published 2014-12-26
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=80245
    title GLSA-201412-40 : FLAC: User-assisted execution of arbitrary code
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2014-16272.NASL
    description Security fix for CVE-2014-9028, CVE-2014-8962 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora 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 2015-10-19
    plugin id 80131
    published 2014-12-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=80131
    title Fedora 19 : flac-1.3.1-1.fc19 (2014-16272)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2014-16251.NASL
    description Security fix for CVE-2014-9028, CVE-2014-8962 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora 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 2015-10-19
    plugin id 79925
    published 2014-12-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=79925
    title Fedora 19 : mingw-flac-1.3.1-1.fc19 (2014-16251)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-3082.NASL
    description Michele Spagnuolo, of Google Security Team, and Miroslav Lichvar, of Red Hat, discovered two issues in flac, a library handling Free Lossless Audio Codec media: by providing a specially crafted FLAC file, an attacker could execute arbitrary code.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 79636
    published 2014-12-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=79636
    title Debian DSA-3082-1 : flac - security update
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2014-16270.NASL
    description Security fix for CVE-2014-9028, CVE-2014-8962 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora 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 2015-10-19
    plugin id 79929
    published 2014-12-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=79929
    title Fedora 20 : mingw-flac-1.3.1-1.fc20 (2014-16270)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2014-16148.NASL
    description Security fix for CVE-2014-9028, CVE-2014-8962 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora 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 2015-10-19
    plugin id 79916
    published 2014-12-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=79916
    title Fedora 21 : mingw-flac-1.3.1-1.fc21 (2014-16148)
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-2426-1.NASL
    description Michele Spagnuolo discovered that FLAC incorrectly handled certain malformed audio files. An attacker could use this issue to cause FLAC 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 2019-02-21
    modified 2018-12-01
    plugin id 79622
    published 2014-11-28
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=79622
    title Ubuntu 10.04 LTS / 12.04 LTS / 14.04 LTS / 14.10 : flac vulnerabilities (USN-2426-1)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2015-0767.NASL
    description Updated flac packages that fix two security issues are now available for Red Hat Enterprise Linux 6 and 7. Red Hat Product Security has rated this update as having Important 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 flac packages contain a decoder and an encoder for the FLAC (Free Lossless Audio Codec) audio file format. A buffer overflow flaw was found in the way flac decoded FLAC audio files. An attacker could create a specially crafted FLAC audio file that could cause an application using the flac library to crash or execute arbitrary code when the file was read. (CVE-2014-9028) A buffer over-read flaw was found in the way flac processed certain ID3v2 metadata. An attacker could create a specially crafted FLAC audio file that could cause an application using the flac library to crash when the file was read. (CVE-2014-8962) All flac users are advised to upgrade to these updated packages, which contain backported patches to correct these issues. After installing the update, all applications linked against the flac library must be restarted for this update to take effect.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 82478
    published 2015-04-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=82478
    title CentOS 6 / 7 : flac (CESA-2015:0767)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2015-13160.NASL
    description Update flac to fix security issue in xmms-flac plugin (previously an independent subpackage that was out of date). Note that Tenable Network Security has extracted the preceding description block directly from the Fedora 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 2015-10-19
    plugin id 85477
    published 2015-08-18
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=85477
    title Fedora 21 : flac-1.3.1-5.fc21 (2015-13160)
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2014-756.NASL
    description flac was updated to fix two security issues. These security issues were fixed : - Stack overflow may result in arbitrary code execution (CVE-2014-8962). - Heap overflow via specially crafted .flac files (CVE-2014-9028).
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 79818
    published 2014-12-09
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=79818
    title openSUSE Security Update : flac (openSUSE-SU-2014:1588-1)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20150401_FLAC_ON_SL6_X.NASL
    description A buffer overflow flaw was found in the way flac decoded FLAC audio files. An attacker could create a specially crafted FLAC audio file that could cause an application using the flac library to crash or execute arbitrary code when the file was read. (CVE-2014-9028) A buffer over-read flaw was found in the way flac processed certain ID3v2 metadata. An attacker could create a specially crafted FLAC audio file that could cause an application using the flac library to crash when the file was read. (CVE-2014-8962) After installing the update, all applications linked against the flac library must be restarted for this update to take effect.
    last seen 2019-02-21
    modified 2018-12-28
    plugin id 82521
    published 2015-04-02
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=82521
    title Scientific Linux Security Update : flac on SL6.x, SL7.x i386/x86_64
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2015-0767.NASL
    description From Red Hat Security Advisory 2015:0767 : Updated flac packages that fix two security issues are now available for Red Hat Enterprise Linux 6 and 7. Red Hat Product Security has rated this update as having Important 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 flac packages contain a decoder and an encoder for the FLAC (Free Lossless Audio Codec) audio file format. A buffer overflow flaw was found in the way flac decoded FLAC audio files. An attacker could create a specially crafted FLAC audio file that could cause an application using the flac library to crash or execute arbitrary code when the file was read. (CVE-2014-9028) A buffer over-read flaw was found in the way flac processed certain ID3v2 metadata. An attacker could create a specially crafted FLAC audio file that could cause an application using the flac library to crash when the file was read. (CVE-2014-8962) All flac users are advised to upgrade to these updated packages, which contain backported patches to correct these issues. After installing the update, all applications linked against the flac library must be restarted for this update to take effect.
    last seen 2019-02-21
    modified 2018-07-18
    plugin id 82489
    published 2015-04-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=82489
    title Oracle Linux 6 / 7 : flac (ELSA-2015-0767)
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2014-239.NASL
    description Updated flac packages fix security vulnerabilities : In libFLAC before 1.3.1, a stack overflow (CVE-2014-8962) and a heap overflow (CVE-2014-9028), which may result in arbitrary code execution, can be triggered by passing a maliciously crafted .flac file to the libFLAC decoder.
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 79984
    published 2014-12-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=79984
    title Mandriva Linux Security Advisory : flac (MDVSA-2014:239)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DLA-99.NASL
    description Michele Spagnuolo, of Google Security Team, and Miroslav Lichvar, of Red Hat, discovered two issues in flac, a library handling Free Lossless Audio Codec media: by providing a specially crafted FLAC file, an attacker could execute arbitrary code. CVE-2014-8962 heap-based buffer overflow in stream_decoder.c, allowing remote attackers to execute arbitrary code via a specially crafted .flac file. CVE-2014-9028 stack-based buffer overflow in stream_decoder.c, allowing remote attackers to execute arbitrary code via a specially crafted .flac file. 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 2019-02-21
    modified 2018-07-09
    plugin id 82244
    published 2015-03-26
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=82244
    title Debian DLA-99-1 : flac security update
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2015-13353.NASL
    description Update flac to fix security issue in xmms-flac plugin (previously an independent subpackage that was out of date). Note that Tenable Network Security has extracted the preceding description block directly from the Fedora 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 2015-10-19
    plugin id 85479
    published 2015-08-18
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=85479
    title Fedora 23 : flac-1.3.1-5.fc23 (2015-13353)
  • NASL family Amazon Linux Local Security Checks
    NASL id ALA_ALAS-2015-505.NASL
    description A buffer overflow flaw was found in the way flac decoded FLAC audio files. An attacker could create a specially crafted FLAC audio file that could cause an application using the flac library to crash or execute arbitrary code when the file was read. (CVE-2014-9028) A buffer over-read flaw was found in the way flac processed certain ID3v2 metadata. An attacker could create a specially crafted FLAC audio file that could cause an application using the flac library to crash when the file was read. (CVE-2014-8962)
    last seen 2019-02-21
    modified 2018-04-18
    plugin id 82833
    published 2015-04-17
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=82833
    title Amazon Linux AMI : flac (ALAS-2015-505)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2014-16175.NASL
    description Security fix for CVE-2014-9028, CVE-2014-8962 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora 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 2015-10-19
    plugin id 79918
    published 2014-12-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=79918
    title Fedora 21 : flac-1.3.1-1.fc21 (2014-16175)
  • NASL family FreeBSD Local Security Checks
    NASL id FREEBSD_PKG_A33ADDF674E611E4A615F8B156B6DCC8.NASL
    description Erik de Castro Lopo reports : Google Security Team member, Michele Spagnuolo, recently found two potential problems in the FLAC code base. They are : - CVE-2014-9028: Heap buffer write overflow. - CVE-2014-8962: Heap buffer read overflow.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 79567
    published 2014-11-26
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=79567
    title FreeBSD : flac -- Multiple vulnerabilities (a33addf6-74e6-11e4-a615-f8b156b6dcc8)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2015-0767.NASL
    description Updated flac packages that fix two security issues are now available for Red Hat Enterprise Linux 6 and 7. Red Hat Product Security has rated this update as having Important 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 flac packages contain a decoder and an encoder for the FLAC (Free Lossless Audio Codec) audio file format. A buffer overflow flaw was found in the way flac decoded FLAC audio files. An attacker could create a specially crafted FLAC audio file that could cause an application using the flac library to crash or execute arbitrary code when the file was read. (CVE-2014-9028) A buffer over-read flaw was found in the way flac processed certain ID3v2 metadata. An attacker could create a specially crafted FLAC audio file that could cause an application using the flac library to crash when the file was read. (CVE-2014-8962) All flac users are advised to upgrade to these updated packages, which contain backported patches to correct these issues. After installing the update, all applications linked against the flac library must be restarted for this update to take effect.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 82496
    published 2015-04-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=82496
    title RHEL 6 / 7 : flac (RHSA-2015:0767)
redhat via4
advisories
rhsa
id RHSA-2015:0767
rpms
  • flac-0:1.2.1-7.el6_6
  • flac-devel-0:1.2.1-7.el6_6
  • flac-0:1.3.0-5.el7_1
  • flac-devel-0:1.3.0-5.el7_1
  • flac-libs-0:1.3.0-5.el7_1
refmap via4
bid 71280
bugtraq 20141125 [oCERT 2014-008] libFLAC multiple issues
confirm
debian DSA-3082
mandriva
  • MDVSA-2014:239
  • MDVSA-2015:188
misc
suse openSUSE-SU-2014:1588
ubuntu USN-2426-1
Last major update 25-10-2016 - 22:00
Published 26-11-2014 - 10:59
Last modified 09-10-2018 - 15:54
Back to Top