1. CVE archive
  2. 2007
  3. CVE-2007-0018

CVE-2007-0018

9.3 Critical severity CVSS v2.0 · source NVD AV:N/AC:M/Au:N/C:C/I:C/A:C 9.3 – Critical

Description

Stack-based buffer overflow in the NCTAudioFile2.AudioFile ActiveX control (NCTAudioFile2.dll), as used by multiple products, allows remote attackers to execute arbitrary code via a long argument to the SetFormatLikeSample function. NOTE: the products include (1) NCTsoft NCTAudioStudio, NCTAudioEditor, and NCTDialogicVoice; (2) Magic Audio Recorder, Music Editor, and Audio Converter; (3) Aurora Media Workshop; DB Audio Mixer And Editor; (4) J. Hepple Products including Fx Audio Editor and others; (5) EXPStudio Audio Editor; (6) iMesh; (7) Quikscribe; (8) RMBSoft AudioConvert and SoundEdit Pro 2.1; (9) CDBurnerXP; (10) Code-it Software Wave MP3 Editor and aBasic Editor; (11) Movavi VideoMessage, DVD to iPod, and others; (12) SoftDiv Software Dexster, iVideoMAX, and others; (13) Sienzo Digital Music Mentor (DMM); (14) MP3 Normalizer; (15) Roemer Software FREE and Easy Hi-Q Recorder, and Easy Hi-Q Converter; (16) Audio Edit Magic; (17) Joshua Video and Audio Converter; (18) Virtual CD; (19) Cheetah CD and DVD Burner; (20) Mystik Media AudioEdit Deluxe, Blaze Media, and others; (21) Power Audio Editor; (22) DanDans Digital Media Full Audio Converter, Music Editing Master, and others; (23) Xrlly Software Text to Speech Makerand Arial Sound Recorder / Audio Converter; (24) Absolute Sound Recorder, Video to Audio Converter, and MP3 Splitter; (25) Easy Ringtone Maker; (26) RecordNRip; (27) McFunSoft iPod Audio Studio, Audio Recorder for Free, and others; (28) MP3 WAV Converter; (29) BearShare 6.0.2.26789; and (30) Oracle Siebel SimBuilder and CRM 7.x.

Affected products

VendorProductVersionPlatform
altdo convert mp3 master 1.1 –
altdo mp3 record and edit audio master 1.2 –
americanshareware mp3 wav converter 3.1.8 –
audio edit magic audio edit magic 9.2.3_389 –
bearshare bearshare 6.0.2.26789 –
cdburnerxp cdburnerxp pro 3.0.116 –
cheetahburner cheetah cd burner 3.56 –
cheetahburner cheetah dvd burner 1.79 –
code-it softare abasic editor 10.1 –
code-it softare wave mp3 editor 10.1 –
dandans digital media products easy audio editor 7.4 –
dandans digital media products full audio converter 4.2 –
dandans digital media products music editing master 5.2 –
dandans digital media products visual video converter 4.4 –
digital borneo audio mixer and editor 1.1.0 –
easy ringtone maker easy ringtone maker 2.0.5 –
expstudio audio editor 4.0.2 –
iaudiosoft.com absolute mp3 splitter 2.5.4 –
iaudiosoft.com absolute sound recorder 3.4.5 –
iaudiosoft.com absolute video to audio converter 2.7.9 –
imesh.com imesh 7.0.2.26789 –
j hepple products fx audio concat 1.2.0_beta –
j hepple products fx audio editor 4.7.11 –
j hepple products fx audio tools 7.3.4 –
j hepple products fx magic music 5.7.7 –
j hepple products fx movie joiner 6.2.8 –
j hepple products fx movie joiner and splitter 6.2.8 –
j hepple products fx movie splitter 6.4.7 –
j hepple products fx new sound 5.1.1 –
j hepple products fx video converter 7.51.21 –
joshua mediasoft audio convertor plus 2.2 –
joshua mediasoft video converter plus 3.01 –
magicvideosoftare magic audio converter 8.2.6_build_719 –
magicvideosoftare magic audio recorder 5.3.7 –
magicvideosoftare magic music editor 5.2.2 –
mcfunsoft audio editor 6.3.3_build_489 –
mcfunsoft audio recorder for free 6.1 –
mcfunsoft audio studio 6.6.3_build_479 –
mcfunsoft ipod audio studio 6.2.4 –
mcfunsoft ipod music converter 5.1 –
mcfunsoft recording to ipod solution 5.1 –
mediatox aurora media workshop 3.3.25 –
movavi chiliburner 2.3 –
movavi convertmovie 4.4 –
movavi dvd to ipod 1.0 –
movavi splitmovie 1.4 –
movavi suite 3.5 –
movavi videomessage 1.0 –
mp3-soft mp3 normalizer 1.03 –
mystik media products audioedit deluxe 4.10 –
mystik media products blaze media pro 7.0 –
mystik media products blaze mediaconvert 3.4 –
mystik media products contextconvert pro 3.1 –
nctsoft products nctaudioeditor 2.7.1 –
nctsoft products nctaudiofile2 all –
nctsoft products nctaudiostudio 2.7.1 –
nctsoft products nctdialogicvoice 2.7.1 –
nextlevel systems audio editor gold 9.2.5_build_424 –
nextlevel systems audio studio gold 7.0.1.1_build_500 –
quikscribe quikscribe player 5.022.05 –
quikscribe quikscribe recorder 5.021.29 –
recordnrip recordnrip 1.0 –
rmbsoft audioconvert 3.1.0.125 –
rmbsoft soundedit pro 2.1 –
roemer software easy hi-q converter 1.7 –
roemer software easy hi-q recorder 2.0 –
roemer software free hi-q recorder 1.9 –
sienzo digital music mentor 2.6.0.3 –
smart media systems power audio editor 11.0.1 –
softdiv softare dexster 3.0 –
softdiv softare ivideomax 3.9 –
softdiv softare mp3 to wav converter 3.0 –
softdiv softare snosh 1.4 –
softdiv softare videozilla 2.5 –
virtual cd virtual cd 6.0.0.7 –
virtual cd virtual cd 7.1.0.2 –
virtual cd virtual cd 8.0.0.6 –
virtual cd virtual cd file server 7.1.0.3 –
xrlly software arial audio converter 2.3.40 –
xrlly software arial sound recorder 1.4.3 –
xrlly software text to speech maker 1.3.8 –
xwaver.com magic audio editor pro 10.3.1_build_476 –
xwaver.com magic music studio pro 7.0.2.1_build_500 –

Vulnerability type

CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary.

Impact on systems

ScopeImpact
Integrity, Confidentiality, Availability Execute Unauthorized Code or Commands, Modify Memory
This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. If the memory accessible by the attacker can be effectively controlled, it may be possible to execute arbitrary code, as with a standard buffer overflow. If the attacker can overwrite a pointer's worth of memory (usually 32 or 64 bits), they can alter the intended control flow by redirecting a function pointer to their own malicious code. Even when the attacker can only modify a single byte, arbitrary code execution can be possible. Sometimes this is because the same problem can be exploited repeatedly to the same effect. Other times it is because the attacker can overwrite security-critical application-specific data -- such as a flag indicating whether the user is an administrator.
Availability, Confidentiality Read Memory, DoS: Crash, Exit, or Restart, DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory)
Out of bounds memory access will very likely result in the corruption of relevant memory, and perhaps instructions, possibly leading to a crash. Other attacks leading to lack of availability are possible, including putting the program into an infinite loop.
Confidentiality Read Memory
In the case of an out-of-bounds read, the attacker may have access to sensitive information. If the sensitive information contains system details, such as the current buffer's position in memory, this knowledge can be used to craft further attacks, possibly with more severe consequences.

How to prevent it

Requirements · Language Selection Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, many languages that perform their own memory management, such as Java and Perl, are not subject to buffer overflows. Other languages, such as Ada and C#, typically provide overflow protection, but the protection can be disabled by the programmer. Be wary that a language's interface to native code may still be subject to overflows, even if the language itself is theoretically safe.
Architecture and Design · Libraries or Frameworks Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Examples include the Safe C String Library (SafeStr) by Messier and Viega, and the Strsafe.h library from Microsoft. These libraries provide safer versions of overflow-prone string-handling functions.
Operation · Build and Compilation · Environment Hardening Use automatic buffer overflow detection mechanisms that are offered by certain compilers or compiler extensions. Examples include: the Microsoft Visual Studio /GS flag, Fedora/Red Hat FORTIFY_SOURCE GCC flag, StackGuard, and ProPolice, which provide various mechanisms including canary-based detection and range/index checking. D3-SFCV (Stack Frame Canary Validation) from D3FEND discusses canary-based detection in detail.
Implementation Consider adhering to the following rules when allocating and managing an application's memory: Double check that the buffer is as large as specified. When using functions that accept a number of bytes to copy, such as strncpy(), be aware that if the destination buffer size is equal to the source buffer size, it may not NULL-terminate the string. Check buffer boundaries if accessing the buffer in a loop and make sure there is no danger of writing past the allocated space. If necessary, truncate all input strings to a reasonable length before passing them to the copy and concatenation functions.
Operation · Build and Compilation · Environment Hardening Run or compile the software using features or extensions that randomly arrange the positions of a program's executable and libraries in memory. Because this makes the addresses unpredictable, it can prevent an attacker from reliably jumping to exploitable code. Examples include Address Space Layout Randomization (ASLR) and Position-Independent Executables (PIE). Imported modules may be similarly realigned if their default memory addresses conflict with other modules, in a process known as rebasing (for Windows) and prelinking (for Linux) using randomly generated addresses. ASLR for libraries cannot be used in conjunction with prelink since it would require relocating the libraries at run-time, defeating the whole purpose of prelinking. For more information on these techniques see D3-SAOR (Segment Address Offset Randomization) from D3FEND.
Operation · Environment Hardening Use a CPU and operating system that offers Data Execution Protection (using hardware NX or XD bits) or the equivalent techniques that simulate this feature in software, such as PaX. These techniques ensure that any instruction executed is exclusively at a memory address that is part of the code segment. For more information on these techniques see D3-PSEP (Process Segment Execution Prevention) from D3FEND.
Implementation Replace unbounded copy functions with analogous functions that support length arguments, such as strcpy with strncpy. Create these if they are not available.

All 13,816 CWE-119 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org