An integer overflow flaw, leading to heap-based buffer overflow was found in the routine reading samples of music files used by the Modplug mod music file format library (libmodplug). An attacker could create a specially-crafted Advanced Module Format Music (AMF) file, that could cause an application utilizing the libmodplug library to crash, or, to potentially execute arbitrary code as the user running the application, when opened by the victim.
Upstream patch against gstreamer-plugins-bad: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=bc2cdd57d549ab3ba59782e9b395d0cd683fd3ac
This issue affects the versions of the gstreamer-plugins package, as shipped with Red Hat Enterprise Linux 3 and 4. This issue does NOT affect the version of the gstreamer-plugins-good package, as shipped with Red Hat Enteprise Linux 5.
Created attachment 340941 [details] MODPlug Tracker PoC showing the buffer overflows
Created attachment 340942 [details] Sample Advanced Module Format Music PoC showing the heap-based overflow
This issue does NOT affect version of libmodplug as shipped with Fedora 13 and Fedora 14.
This issue has been addressed in following products: Red Hat Enterprise Linux 4 Via RHSA-2011:0477 https://rhn.redhat.com/errata/RHSA-2011-0477.html