MPG123 Find Next File Remote Client-Side Buffer Overflow Vulnerability

BID:11958

Info

MPG123 Find Next File Remote Client-Side Buffer Overflow Vulnerability

Bugtraq ID: 11958
Class: Boundary Condition Error
CVE: CVE-2004-1284
Remote: Yes
Local: No
Published: Dec 15 2004 12:00AM
Updated: Jul 12 2009 09:26AM
Credit: Bartlomiej Sieka is credited with the discovery of this issue.
Vulnerable: SuSE Linux Desktop 1.0
SuSE Linux 8.1
SuSE Linux 8.0 i386
SuSE Linux 8.0
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
mpg123 mpg123 0.59 r
+ 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 mpg123 pre0.59s
Not Vulnerable:

Discussion

MPG123 Find Next File Remote Client-Side Buffer Overflow Vulnerability

A remote client-side buffer overflow vulnerability affects mpg123. This issue is due to a failure of the application to properly validate the length of user-supplied strings prior to copying them into static process buffers.

An attacker may exploit this issue to execute arbitrary code with the privileges of the user that activated the vulnerable application. This may facilitate unauthorized access or privilege escalation.

Exploit / POC

MPG123 Find Next File Remote Client-Side Buffer Overflow Vulnerability

Although an exploit has been made publicly available. The following file reportedly creates a file title 'EXPLOIT' in the current directory of the application. This proof of concept has not been verified by Symantec.

Solution / Fix

MPG123 Find Next File Remote Client-Side Buffer Overflow Vulnerability

Solution:
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-r8"

SuSE Linux has released a summary report (SUSE-SR:2005:001) advising that this as well as other issues have been resolved. Please see the referenced advisory for more information.


mpg123 mpg123 pre0.59s

References

MPG123 Find Next File Remote Client-Side Buffer Overflow Vulnerability

References:

© CVE.report 2026

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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report