Vulnerabilities > CVE-2012-6303 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in multiple products
Attack vector
NETWORK Attack complexity
MEDIUM Privileges required
NONE Confidentiality impact
PARTIAL Integrity impact
PARTIAL Availability impact
PARTIAL 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.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 2 | |
OS | 2 |
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.
Exploit-Db
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
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 2020-03-17 modified 2013-01-14 plugin id 63504 published 2013-01-14 reporter This script is Copyright (C) 2013-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/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 2020-03-17 modified 2013-01-14 plugin id 63503 published 2013-01-14 reporter This script is Copyright (C) 2013-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/63503 title Fedora 17 : tcl-snack-2.2.10-17.fc17 (2013-0098) 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 2020-06-01 modified 2020-06-02 plugin id 69850 published 2013-09-12 reporter This script is Copyright (C) 2013-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/69850 title GLSA-201309-04 : Snack: User-assisted execution of arbitrary code 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 2020-03-17 modified 2013-01-14 plugin id 63502 published 2013-01-14 reporter This script is Copyright (C) 2013-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/63502 title Fedora 18 : tcl-snack-2.2.10-17.fc18 (2013-0083) 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 2020-06-01 modified 2020-06-02 plugin id 66138 published 2013-04-20 reporter This script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/66138 title Mandriva Linux Security Advisory : snack (MDVSA-2013:126) 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 2020-06-05 modified 2015-02-27 plugin id 81563 published 2015-02-27 reporter This script is Copyright (C) 2015-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/81563 title openSUSE Security Update : snack (openSUSE-2015-183) 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 2020-06-05 modified 2017-11-16 plugin id 104616 published 2017-11-16 reporter This script is Copyright (C) 2017-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/104616 title openSUSE Security Update : snack (openSUSE-2017-1277)
References
- http://lists.opensuse.org/opensuse-security-announce/2015-02/msg00034.html
- http://secunia.com/advisories/49889
- http://security.gentoo.org/glsa/glsa-201309-04.xml
- http://www.exploit-db.com/exploits/19772
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:126
- http://www.openwall.com/lists/oss-security/2012/12/10/2