发布时间 :2005-02-09 00:00:00
修订时间 :2017-07-10 21:30:38

[原文]Buffer overflow in the getauthfromURL function in httpget.c in mpg123 pre0.59s and mpg123 0.59r could allow remote attackers or local users to execute arbitrary code via an mp3 file that contains a long string before the @ (at sign) in a URL.



- CVSS (基础分值)

CVSS分值: 10 [严重(HIGH)]
机密性影响: [--]
完整性影响: [--]
可用性影响: [--]
攻击复杂度: [--]
攻击向量: [--]
身份认证: [--]

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


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


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

- 其它链接及资源
(UNKNOWN)  BUGTRAQ  20041019 mpg123 "getauthfromurl" buffer overflow
(UNKNOWN)  XF  mpg123-getauthfromurl-bo(17574)

- 漏洞信息

危急 缓冲区溢出
2005-02-09 00:00:00 2005-10-20 00:00:00

- 公告与补丁


- 漏洞信息

mpg123 getauthfromURL() httpauth1 Remote Buffer Overflow
Remote / Network Access Input Manipulation
Loss of Integrity Solution Unknown
Exploit Public Uncoordinated Disclosure

- 漏洞描述

A remote overflow exists in mpg123. mpg123 fails to check the length of the dynamically allocated purl variable before copying it into the static global httpauth1 variable resulting in a buffer overflow. With a specially crafted playlist file containing an overly long URL, an attacker can execute arbitrary code with user privileges or perform a denial of service attack resulting in a loss of integrity and/or availability.

- 时间线

2004-10-22 2004-10-02
2004-10-21 Unknow

- 解决方案

OSVDB is not currently aware of a solution for this vulnerability.

- 相关参考

- 漏洞作者

- 漏洞信息

MPG123 Remote URL Open Buffer Overflow Vulnerability
Boundary Condition Error 11468
Yes No
2004-10-20 12:00:00 2009-07-12 08:06:00
Discovery of this issue is credited to Carlos Barros <>.

- 受影响的程序版本

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 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 pre0.59s

- 漏洞讨论

Reportedly mpg123 is affected by a remote buffer overflow vulnerability. This issue is due to insufficient bounds checking when copying user-supplied strings into finite process buffers.

An attacker may leverage this issue to execute arbitrary machine code on an affected computer with the privileges of an unsuspecting user that activated the vulnerable application.

- 漏洞利用

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: &lt;;.

- 解决方案

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 Linux has released an advisory (GLSA 200410-27) dealing with this issue. Gentoo advises that all mpg123 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-sound/mpg123-0.59s-r5"

For more information, please see the referenced Gentoo Linux advisory.

Debian Linux has released advisory DSA 578-1 along with fixes dealing with this issue. Please see the referenced advisory for more information.

Mandrake Linux has released advisory MDKSA-2004:120 along with fixes dealing with this and other issues. Please see the referenced advisory for more information.

mpg123 mpg123 pre0.59s

mpg123 mpg123 0.59 r

- 相关参考