OpenMPT ReadSample() buffer overflow

openmpt-readsample-bo (28309) The risk level is classified as HighHigh Risk

Description:

OpenMPT is vulnerable to a heap-based buffer overflow, caused by improper bounds checking by the CSoundFile::ReadSample() function in soundlib/Sndfile.cpp. By persuading a victim to open a specially-crafted ITP file, or module, an attacker could overflow a buffer and execute arbitrary code on the system that is using the affected library.

Platforms Affected:

  • Canonical, Ubuntu 6.06 LTS
  • Canonical, Ubuntu 6.10
  • Gentoo, Linux
  • Libmodplug, Libmodplug 0.8
  • Libmodplug, Libmodplug 0.8.4
  • MandrakeSoft, Mandrake Linux 2007 X86_64
  • MandrakeSoft, Mandrake Linux 2007
  • OpenMPT, OpenMPT 1.17.02.43 and prior

Remedy:

For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 200612-04 for patch, upgrade, or suggested workaround information. See References.

For Ubuntu Linux (libmodplug):
Refer to USN-521-1 for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

Consequences:

Gain Access

References:

  • Luigi Auriemma Advisory 09 Aug 2006, Stack and heap overflows in Modplug Tracker / OpenMPT 1.17.02.43 (SVN 157) at http://aluigi.altervista.org/adv/mptho-adv.txt.
  • OpenMPT Web site, MODPlug Central Forum Index at http://lpchip.com/modplug/.
  • SourceForge.net: Files, ModPlug for XMMS, File Release Notes and Changelog, Release Name: 0.8.6 at http://sourceforge.net/project/shownotes.php?release_id=677065&group_id=1275.
  • BID-19448: OpenMPT Multiple Remote Code Execution Vulnerabilities
  • CVE-2006-4192: Multiple buffer overflows in MODPlug Tracker (OpenMPT) 1.17.02.43 and earlier and libmodplug 0.8 and earlier allow user-assisted remote attackers to execute arbitrary code via (1) long strings in ITP files used by the CSoundFile::ReadITProject function in soundlib/Load_it.cpp and (2) crafted modules used by the CSoundFile::ReadSample function in soundlib/Sndfile.cpp, as demonstrated by crafted AMF files.
  • GLSA-200612-04: ModPlug: Multiple buffer overflows
  • MDKSA-2007:001: Update libmodplug packages fix buffer overflow vulnerabilities
  • SA21418: OpenMPT Buffer Overflow Vulnerabilities
  • SA22658: libmodplug Buffer Overflow Vulnerabilities
  • SUSE-SR:2006:023: SUSE Security Summary Report
  • USN-521-1: libmodplug vulnerability
  • VUPEN/ADV-2006-3231: OpenMPT ReadITProject() and ReadSample() Functions Buffer Overflow Vulnerabilities
  • VUPEN/ADV-2006-4310: libmodplug ReadITProject() and ReadSample() Buffer Overflow Vulnerabilities

Reported:

Aug 09, 2006

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page