GLSA-201203-16 : ModPlug: User-assisted execution of arbitrary code

medium Nessus Plugin ID 58381

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-201203-16 (ModPlug: User-assisted execution of arbitrary code)

Multiple vulnerabilities have been found in ModPlug:
The ReadS3M method in load_s3m.cpp fails to validate user-supplied information, which could cause a stack-based buffer overflow (CVE-2011-1574).
The 'CSoundFile::ReadWav()' function in load_wav.cpp contains an integer overflow which could cause a heap-based buffer overflow (CVE-2011-2911).
The 'CSoundFile::ReadS3M()' function in load_s3m.cpp contains multiple boundary errors which could cause a stack-based buffer overflow (CVE-2011-2912).
The 'CSoundFile::ReadAMS()' function in load_ams.cpp contains an off-by-one error which could cause memory corruption (CVE-2011-2913).
The 'CSoundFile::ReadDSM()' function in load_dms.cpp contains an off-by-one error which could cause memory corruption (CVE-2011-2914).
The 'CSoundFile::ReadAMS2()' function in load_ams.cpp contains an off-by-one error which could cause memory corruption (CVE-2011-2915).
Impact :

A remote attacker could entice a user to open a specially crafted media file, possibly resulting in execution of arbitrary code, or a Denial of Service condition.
Workaround :

There is no known workaround at this time.

Solution

All ModPlug users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=media-libs/libmodplug-0.8.8.4' NOTE: This is a legacy GLSA. Updates for all affected architectures are available since August 27, 2011. It is likely that your system is already no longer affected by this issue.

See Also

https://security.gentoo.org/glsa/201203-16

Plugin Details

Severity: Medium

ID: 58381

File Name: gentoo_GLSA-201203-16.nasl

Version: 1.11

Type: local

Published: 3/19/2012

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.6

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:libmodplug, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/16/2012

Exploitable With

CANVAS (White_Phosphorus)

Core Impact

Metasploit (VideoLAN VLC ModPlug ReadS3M Stack Buffer Overflow)

Reference Information

CVE: CVE-2011-1574, CVE-2011-2911, CVE-2011-2912, CVE-2011-2913, CVE-2011-2914, CVE-2011-2915

BID: 47248, 48979

GLSA: 201203-16