Core Security - CoreLabs
Autodesk 3DS Max Application Callbacks Arbitrary Command Execution
**Title:**Autodesk 3DS Max Application Callbacks Arbitrary Command Execution
**Advisory Id:**CORE-2009-0909
**Advisory URL:**http://www.coresecurity.com/content/3dsmax-arbitrary-command-execution
**Date published:**2009-11-23
**Date of last update:**2009-11-20
**Vendors contacted:**Autodesk
**Release mode:**User release
**Class:**Failure to Sanitize Data into a Different Plane [CWE-74]
**Impact:**Code execution
**Remotely Exploitable:**Yes
**Locally Exploitable:**No
Bugtraq ID:36634
CVE Name:CVE-2009-3577
Autodesk 3D Studio Max [2] is a modeling, animation and redering package widely used for video game , film , multimedia and web content developement. The software provides a built-in scripting language, allowing users to bind custome code to actions performed in the applciation. Execution of scripting code does not require explicit permission from the user. This mechanim can be exploited by an attacker to execute arbitrary code by enticing a victim to open .max file with MaxScript application callbacks embedded.
The vendor did not provide fixes or workaround information.
You can disable the automatic loading of embedded MaxScript by following these steps:
This vulnerability was discovered and researched by SebastiΓ‘n Tello from Core Security Technologies during Bugweek 2009 [1].
The publication of this advisory was coordinated by Fernando Russ from Core Security Advisories Team.
Autodesk 3D Studio Max provides built-in scripting language called MaxScript, which can be used to automate repetitive tasks, combine existing functionality in new ways, develop new tools and user interfaces and much more. Max allows users to bind MaxScript to application callbacks in a way that could be exploited by an attacker to execute arbitrary code by enticing a victim to open .max file with MaxScript application callbacks embedded.
A Proof of Concept file can be obtained by following these simple steps. Open Max, press F11 (MaxScript Listener), and paste this code:
callbacks.addScript #filePostOpen ("DOSCommand(\"calc.exe\")") id:#mbLoadCallback persistent:true
[1] The author participated in Core Bugweek 2009 as member of the team βGimbal Lock N Loadβ.
[2] http://usa.autodesk.com/adsk/servlet/pc/index?id=13567410&siteID=123112
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: http://www.coresecurity.com/corelabs.
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 at http://www.coresecurity.com.
The contents of this advisory are copyright Β© 2009 Core Security Technologies and Β© 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 /legacy/files/attachments/core_security_advisories.asc.