发布时间 :2005-01-11 00:00:00
修订时间 :2008-09-10 15:28:31

[原文]Buffer overflow in mpg123 before 0.59s-r9 allows remote attackers to execute arbitrary code via frame headers in MP2 or MP3 files.

[CNNVD]mpg123 FrameHeader 缓冲区溢出漏洞(CNNVD-200501-232)

        mpg123 0.59s-r9之前版本存在缓冲区溢出漏洞。

- CVSS (基础分值)

CVSS分值: 7.5 [严重(HIGH)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: PARTIAL [可能会导致性能下降或中断资源访问]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: [--]
身份认证: NONE [漏洞利用无需身份认证]

- CPE (受影响的平台与产品)

cpe:/o:suse:suse_linux:8.1SuSE SuSE Linux 8.1
cpe:/o:suse:suse_linux:8.0SuSE SuSE Linux 8.0
cpe:/o:suse:suse_linux:9.2SuSE SuSE Linux 9.2
cpe:/o:suse:suse_linux:9.1SuSE SuSE Linux 9.1
cpe:/o:suse:suse_linux:9.0SuSE SuSE Linux 9.0
cpe:/o:suse:suse_linux:8.2SuSE SuSE Linux 8.2

- OVAL (用于检测的技术细节)


- 官方数据库链接
(官方数据源) MITRE
(官方数据源) NVD
(官方数据源) CNNVD

- 其它链接及资源
(UNKNOWN)  BID  12218

- 漏洞信息

mpg123 FrameHeader 缓冲区溢出漏洞
高危 缓冲区溢出
2005-01-11 00:00:00 2005-10-20 00:00:00
        mpg123 0.59s-r9之前版本存在缓冲区溢出漏洞。

- 公告与补丁


- 漏洞信息

mpg123 Frame Header Overflow
Context Dependent Input Manipulation
Loss of Integrity Upgrade
Exploit Unknown Vendor Verified

- 漏洞描述

mpg123 contains an overflow condition in the handling of frame headers. The issue is triggered as user-supplied input is not properly validated when handling frame headers for layer-2 streams. With a specially crafted MP2 or MP3 file containing malformed frame headers, a context-dependent attacker can cause a heap-based buffer overflow, resulting in a denial of service or potentially execution of arbitrary code.

- 时间线

2005-01-10 Unknow
Unknow 2007-02-07

- 解决方案

It has been reported that this issue has been fixed. Upgrade to version 0.65, or higher, to address this vulnerability.

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

MPG123 Layer 2 Frame Header Heap Overflow Vulnerability
Boundary Condition Error 12218
Yes No
2005-01-11 12:00:00 2009-07-12 09:27:00
Discovery is credited to Yuri D'Elia.

- 受影响的程序版本

S.u.S.E. Linux Personal 9.2
S.u.S.E. Linux Personal 9.1
S.u.S.E. Linux Personal 9.0 x86_64
S.u.S.E. Linux Personal 9.0
S.u.S.E. Linux Personal 8.2
S.u.S.E. Linux 8.1
S.u.S.E. Linux 8.0 i386
S.u.S.E. Linux 8.0
mpg123 mpg123 0.59 s
+ Gentoo Linux
mpg123 mpg123 0.59 r
+ Conectiva Linux 8.0
+ Conectiva Linux 7.0
+ Debian Linux 3.0 sparc
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 alpha
+ Debian Linux 3.0
+ Gentoo Linux 1.4
+ Gentoo Linux
+ MandrakeSoft Corporate Server 2.1 x86_64
+ MandrakeSoft Corporate Server 2.1
+ Mandriva Linux Mandrake 10.1 x86_64
+ Mandriva Linux Mandrake 10.1
+ Mandriva Linux Mandrake 10.0 AMD64
+ Mandriva Linux Mandrake 10.0
+ Mandriva Linux Mandrake 9.1 ppc
+ Mandriva Linux Mandrake 9.1
+ Mandriva Linux Mandrake 9.0
mpg123 mpg123 0.59 q
mpg123 mpg123 0.59 p
mpg123 mpg123 0.59 o
mpg123 mpg123 0.59 n
mpg123 mpg123 0.59 m

- 漏洞讨论

mpg123 is prone to a heap-based buffer overflow vulnerability related to handling of layer 2 streams. This issue is exposed when the player loads MP2/MP3 files with malformed header data.

This vulnerability could be exploited to execute arbitrary code in the context of the user running the player.

- 漏洞利用

Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: <>.

- 解决方案

SuSE Linux has released a security summary report (SUSE-SR:2005:002) that contains fixes to address this and other vulnerabilities. Customers are advised to peruse the referenced advisory for further information regarding obtaining and applying appropriate updates.

Gentoo has released an advisory to provide updates for this issue. Updates may be applied by running the following commands as the superuser:
emerge --sync
emerge --ask --oneshot --verbose ">=media-sound/mpg123-0.59s-r9"

Mandrake has released an advisory MDKSA-2005:009 to address this issue. Please see the referenced advisory for more information.

mpg123 mpg123 0.59 r

- 相关参考