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 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.
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.
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
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
-
SuSE mpg123-0.59s-490.10.i586.rpm
ftp://ftp.suse.com/pub/suse/i386/update/9.1/rpm/i586/mpg123-0.59s-490. 10.i586.rpm -
SuSE mpg123-0.59s-490.10.x86_64.rpm
ftp://ftp.suse.com/pub/suse/x86_64/update/9.1/rpm/x86_64/mpg123-0.59s- 490.10.x86_64.rpm -
SuSE mpg123-0.59s-498.4.i586.rpm
ftp://ftp.suse.com/pub/suse/i386/update/9.2/rpm/i586/mpg123-0.59s-498. 4.i586.rpm -
SuSE mpg123-0.59s-498.4.x86_64.rpm
ftp://ftp.suse.com/pub/suse/x86_64/update/9.2/rpm/x86_64/mpg123-0.59s- 498.4.x86_64.rpm -
SuSE mpg123-0.59s-509.i586.rpm
ftp://ftp.suse.com/pub/suse/i386/update/8.1/rpm/i586/mpg123-0.59s-509. i586.rpm -
SuSE mpg123-0.59s-509.i586.rpm
ftp://ftp.suse.com/pub/suse/i386/update/8.2/rpm/i586/mpg123-0.59s-509. i586.rpm -
SuSE mpg123-0.59s-509.i586.rpm
ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/i586/mpg123-0.59s-509. i586.rpm -
SuSE mpg123-0.59s-509.x86_64.rpm
ftp://ftp.suse.com/pub/suse/x86_64/update/9.0/rpm/x86_64/mpg123-0.59s- 509.x86_64.rpm
References
MPG123 Find Next File Remote Client-Side Buffer Overflow Vulnerability
References:
References:
- [remote] [control] mpg123 0.59r find_next_file overflows linetmp buffer ("D. J. Bernstein"
) - mpg123 Home Page (mpg123)