# Exploit Title: FreeAmp 2.0.7 .fat Buffer Overflow
# Date: 22/06/2011
# Author: Iván García Ferreira
# Version: 2.0.7
# Tested on: Windows XP SP3
#
# Description:
# The freeamp music player has a tool to create your own theme. If you go to
# "tools" directory in the Freeamp's directory you can see the "MakeTheme.exe"
# tool.
# With this command:
# c:\Freeamp\Tools> MakeTheme -d ..\themes\Freeamp.fat
# you uncompress the freeamp's theme. Then, you can see and a lot of files that
# the tool needs to make the theme. If you write a very long string in the
# "title.txt" file and you generate a new theme with:
# c:\Freeamp\Tools> MakeTheme exploit.fat theme.xml title.txt *.bmp
# When the user try to test the new theme called "exploit", it will generate a
# buffer overflow vulnerability.