ID CVE-2012-6303
Summary Heap-based buffer overflow in the GetWavHeader function in generic/jkSoundFile.c in the Snack Sound Toolkit, as used in WaveSurfer 1.8.8p4, allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a large chunk size in a WAV file.
References
Vulnerable Configurations
  • KTH Royal Institute of Technoloy Snack Sound Toolkit 2.2.10
    cpe:2.3:a:kth:snack_sound_toolkit:2.2.10
  • KTH Royal Institute of Technology WaveSurfer 1.8.8p4
    cpe:2.3:a:kth:wavesurfer:1.8.8:p4
  • OpenSUSE 13.1
    cpe:2.3:o:opensuse:opensuse:13.1
  • OpenSUSE 13.2
    cpe:2.3:o:opensuse:opensuse:13.2
CVSS
Base: 6.8 (as of 02-09-2016 - 16:27)
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
exploit-db via4
description WaveSurfer 1.8.8p4 - Memory Corruption PoC. CVE-2012-6303. Dos exploit for windows platform
file exploits/windows/dos/19772.txt
id EDB-ID:19772
last seen 2016-02-02
modified 2012-07-12
platform windows
port
published 2012-07-12
reporter Jean Pascal Pereira
source https://www.exploit-db.com/download/19772/
title WaveSurfer 1.8.8p4 - Memory Corruption PoC
type dos
nessus via4
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2013-126.NASL
    description Updated snack packages fix security vulnerability : Two vulnerabilities have been discovered in Snack Sound Toolkit, which are caused due to missing boundary checks in the GetWavHeader() function (generic/jkSoundFile.c) when parsing either format sub-chunks or unknown sub-chunks. This can be exploited to cause a heap-based buffer overflow via specially crafted WAV files with overly large chunk sizes specified (CVE-2012-6303).
    last seen 2019-02-21
    modified 2019-01-02
    plugin id 66138
    published 2013-04-20
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=66138
    title Mandriva Linux Security Advisory : snack (MDVSA-2013:126)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2013-0083.NASL
    description Apply fix for CVE-2012-6303, where a crafted WAV file could cause a buffer overflow. Thanks to Michael Karcher for the patch. 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 63502
    published 2013-01-14
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=63502
    title Fedora 18 : tcl-snack-2.2.10-17.fc18 (2013-0083)
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2015-183.NASL
    description snack was updated to fix one security issue. This security issue was fixed : - CVE-2012-6303: Heap-based buffer overflow in the GetWavHeader function in generic/jkSoundFile.c in the Snack Sound Toolkit, as used in WaveSurfer 1.8.8p4, allowed remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a large chunk size in a WAV file (bnc#793860).
    last seen 2019-02-21
    modified 2015-03-11
    plugin id 81563
    published 2015-02-27
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=81563
    title openSUSE Security Update : snack (openSUSE-2015-183)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201309-04.NASL
    description The remote host is affected by the vulnerability described in GLSA-201309-04 (Snack: User-assisted execution of arbitrary code) The GetWavHeader() function in jkSoundFile.c does not have boundary checks when parsing format sub-chunks or unknown sub-chunks. Impact : A remote attacker could entice a user to open a specially crafted WAV file with an application using Snack, possibly resulting in execution of arbitrary code or a Denial of Service condition. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2018-07-11
    plugin id 69850
    published 2013-09-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=69850
    title GLSA-201309-04 : Snack: User-assisted execution of arbitrary code
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2013-0110.NASL
    description Apply fix for CVE-2012-6303, where a crafted WAV file could cause a buffer overflow. Thanks to Michael Karcher for the patch. 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 63504
    published 2013-01-14
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=63504
    title Fedora 16 : tcl-snack-2.2.10-17.fc16 (2013-0110)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2013-0098.NASL
    description Apply fix for CVE-2012-6303, where a crafted WAV file could cause a buffer overflow. Thanks to Michael Karcher for the patch. 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 63503
    published 2013-01-14
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=63503
    title Fedora 17 : tcl-snack-2.2.10-17.fc17 (2013-0098)
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2017-1277.NASL
    description This update for snack fixes the following issues : Security issue fixed : - CVE-2012-6303: Heap-based buffer overflow in the GetWavHeader function in generic/jkSoundFile.c in the Snack Sound Toolkit, as used in WaveSurfer 1.8.8p4, allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a large chunk size in a WAV file. (bnc#793860)
    last seen 2019-02-21
    modified 2017-11-16
    plugin id 104616
    published 2017-11-16
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=104616
    title openSUSE Security Update : snack (openSUSE-2017-1277)
refmap via4
exploit-db 19772
gentoo GLSA-201309-04
mandriva MDVSA-2013:126
mlist [oss-secuirty] 20131210 CVE-2012-6303 WaveSurfer and Snack Sound Toolkit buffer overflows
secunia 49889
suse openSUSE-SU-2015:0382
Last major update 02-09-2016 - 16:37
Published 28-10-2013 - 18:55
Last modified 30-10-2018 - 12:27
Back to Top