exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Babylon Cross-Application Scripting Code Execution

Babylon Cross-Application Scripting Code Execution
Posted Nov 11, 2010
Authored by Yair Amit, Roee Hay

The Babylon online dictionary and translation software fails to sanitize user input before rendering it on the Trident control, effectively leading to a cross-application scripting vulnerability. The Trident control runs in Local Machine Zone (LMZ) which is not Locked down and due to this the vulnerability can allow for code execution.

tags | advisory, local, code execution
SHA-256 | 521bd04a9d93d3243cb54ea1da35796ea3e0170a38c45bee3986db191b659c09

Babylon Cross-Application Scripting Code Execution

Change Mirror Download

Introduction
============
Babylon is a single-click computer online dictionary and translation
software
which is also capable of translating whole documents and web pages. The
translation and dictionary results are presented to the user via the
Trident
layout engine (an in-app/embedded Internet-Explorer rendering engine).

Vulnerability
=============
Babylon fails to sanitize user input before rendering it on the Trident
control,
effectively leading to a Cross-Application Scripting vulnerability.

The user's input can originate from the following sources:

1. Babylon's main translation interface: When searching for a non-existent
term Babylon pushes the string "No matches were found for 'non-existent
term'. Search the web for non-existent-term". Unfortunately,
'non-existent
term' is not HTML encoded or validated before it is written on the
embedded
browser (the translation process transparently validates translatable
input).

2. Document translation: Documents (such as PDF files) may contain text
which
cannot be translated (e,g. JavaScript code), in such case it is rendered
without HTML encoding or validation.

3. Web site translation: Same as the document translation case. Text which
is
not translated is simply rendered on the Trident control. In order to
trigger
an attack, the victim has to be lured into translating malicious text,
either
in a document or on a web page. Although the scenarios require some
social-engineering, some of them are feasible and realistic.

Impact
======
The Trident control runs in Local Machine Zone (LMZ) which is not Locked
down.

This allows a malicious script to perform the following actions:

1. Interact with other websites in the background while using persistent
cookies
to impersonate the victim: This can be done using XHR. The payload can
leak
the response's body which may contain sensitive information in case the
victim has been authenticated on the site prior to the attack. The
payload
can also perform actions on the site on behalf of the victim.

2. Collect information from local files: This can be done using XHR or by a
hidden iframe with the filename's as the source. Since the payload runs
in a
non-Locked-down LMZ, the XHR response or iframe's body can be inspected
and
sent back to the attacker.

3. Code execution: System commands can be executed by using the
Wscript.Shell
ActiveX object to practically take over the whole system.

Vulnerable versions
===================
Versions prior to 8.0.7 are susceptible to this vulnerability.

Credit
======
Yair Amit <amityair@il.ibm.com>
Roee Hay <roeeh@il.ibm.com>

Acknowledgments
===============
We would like to thank the Babylon team for their quick responses and the
efficient way in which they handled this security issue.

References
==========
1. Original advisory:
http://blog.watchfire.com/files/babylon_cas_advisory.pdf
2. Blog post:

http://blog.watchfire.com/wfblog/2010/11/babylon-cross-application-scripting.html

3. Demo:
http://www.youtube.com/watch?v=51ypgI1lqzE
4. Babylon's homepage:
http://www.babylon.com/
5. Enhanced Browsing Security:
http://technet.microsoft.com/en-us/library/bb457150.aspx
Login or Register to add favorites

File Archive:

July 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jul 1st
    27 Files
  • 2
    Jul 2nd
    10 Files
  • 3
    Jul 3rd
    35 Files
  • 4
    Jul 4th
    27 Files
  • 5
    Jul 5th
    18 Files
  • 6
    Jul 6th
    0 Files
  • 7
    Jul 7th
    0 Files
  • 8
    Jul 8th
    28 Files
  • 9
    Jul 9th
    44 Files
  • 10
    Jul 10th
    24 Files
  • 11
    Jul 11th
    25 Files
  • 12
    Jul 12th
    11 Files
  • 13
    Jul 13th
    0 Files
  • 14
    Jul 14th
    0 Files
  • 15
    Jul 15th
    28 Files
  • 16
    Jul 16th
    6 Files
  • 17
    Jul 17th
    34 Files
  • 18
    Jul 18th
    6 Files
  • 19
    Jul 19th
    34 Files
  • 20
    Jul 20th
    0 Files
  • 21
    Jul 21st
    0 Files
  • 22
    Jul 22nd
    19 Files
  • 23
    Jul 23rd
    17 Files
  • 24
    Jul 24th
    47 Files
  • 25
    Jul 25th
    31 Files
  • 26
    Jul 26th
    13 Files
  • 27
    Jul 27th
    0 Files
  • 28
    Jul 28th
    0 Files
  • 29
    Jul 29th
    27 Files
  • 30
    Jul 30th
    49 Files
  • 31
    Jul 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