[VulnWatch] Syhunt: Google Talk (gTalk) HTML Injection Technique



Syhunt: Google Talk (gTalk) HTML Injection Technique

Advisory-ID: 200703041
Discovery Date: 4.3.2007
Release Date: 4.24.2007
Affected Applications: gTalk 1.0.0.104 and possibly earlier
versions
Class: HTML Injection
Status: Unpatched/Vendor informed
Vendor: Google Inc.
Vendor URL: http://www.google.com/

----------------------------------------------------------------

Overview:
Google Talk is a service offered by Google instant messaging.
It allows communication via traditional text or voice and is
also integrated with Gmail. According to information released
last year, Google Talk is used by more than 3 million users
worldwide.

Description:
gTalk chat screen, which uses an Internet Explorer control to
display messages, pictures and requests to the user, is
vulnerable to HTML injection. The flaw resides in the file
transfer notification. A user does not need to accept the
incoming file transfer, code is automatically displayed in the
chat screen.

If combined with additional techniques (discussed in the
additional considerations section), this flaw may be used to
execute arbitrary HTML code and script code in the user's chat
screen.

----------------------------------------------------------------

Details:

1. Create a file with the following name: test.txt');
2. Send it to another user in the gTalk chat screen.
3. Open the source code of the receiver's chat screen. This can
be easily achieved using the IESpy tool
(http://www.disoriented.com/IESpy/)

An inspection of the HTML code related to the file transfer
notification shows that the src attribute of DXImageTransform
(used to display an icon related to the file type being
transferred) is affected by this special filename extension
itself. It is possible to include additional style attributes to
the img element just by appending characters to end of the
filename extension.

Additional Considerations:

* File system limitations for filenames limits the
exploitability when launching an attack from certain OSs
(specially on Windows).

* Packet forging, memory patching, and filter bypass techniques,
which are not covered in this document, and techniques involving
alternative Google Talk clients, may increase the impact of the
security attack and also overcome the filename limitations.

----------------------------------------------------------------

Vulnerability Status:
Google was notified, but it remains unpatched.

----------------------------------------------------------------

Disclaimer:
The information in this advisory is provided "as is" without
warranty of any kind. Details provided are strictly for
educational and defensive purposes.

Syhunt is not liable for any damages caused by direct or
indirect use of the information provided by this advisory.

---
Credit:
Alec Storm, Syhunt Security Research Team, www.syhunt.com



Relevant Pages

  • Re: Permanent Jagger?
    ... >> a certain SEO service - Google didn't ... >> particular firm's techniques. ... and instead pay for the advertising services. ...
    (alt.internet.search-engines)
  • Re: SEO tutorialls
    ... current techniques for SEO? ... Evil as Google is in Usenet, ... HTML 4.01 spec: http://www.w3.org/TR/html401/ ... validator: http://jigsaw.w3.org/css-validator/ ...
    (comp.infosystems.www.authoring.html)
  • Re: Obscure Weapon
    ... Google finally paid off. ... "Kubotan" is close enough. ... techniques and the striking could be similar, ...
    (rec.martial-arts)
  • Re: Learing Country-Pickin Styles
    ... The first to learn if you haven't learned yet is Travis Picking. ... able to google it. ... a virtuoso the next and go way too fast to follow. ... I've tried Googling for online tips and techniques, ...
    (alt.guitar)
  • Gtalk Problem
    ... I want to know that whether we can talk on Gtalk ... network in Linux. ... Although there is no official software from google, ... people can talk thru Gtalk in Linux. ...
    (Ubuntu)