{"exploit":{"id":"EDB-9843","name":"Blender 2.34/2.35a/2.4/2.49b - '.blend' Command Injection","description":"Blender 2.34/2.35a/2.4/2.49b - '.blend' Command Injection","cves":["CVE-2009-3850"],"author":"Core Security","published":"2009-11-05","platform":"multiple","type":"remote","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/9843","path":"exploits/multiple/remote/9843.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-9843.txt","vulnerabilities":[{"id":"CVE-2009-3850","state":"PUBLISHED","title":null,"titleSource":null,"description":"Blender 2.34, 2.35a, 2.40, and 2.49b allows remote attackers to execute arbitrary code via a .blend file that contains Python statements in the onLoad action of a ScriptLink SDNA.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2009-3850","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-3850"},"updatedAt":"2024-08-07T06:38:30.528Z","retrievedAt":"2026-11-26T19:10:44.442Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-9843.png?v=2","url":"https://exploitbin.com/exploits/EDB-9843","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-9843/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-9843/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\nBlender .blend Project Arbitrary Command Execution\n\n\n\n1. *Advisory Information*\n\nTitle: Blender .blend Project Arbitrary Command Execution\nAdvisory Id: CORE-2009-0912\nAdvisory URL:\nhttp://www.coresecurity.com/content/blender-scripting-injection\nDate published: 2009-11-05\nDate of last update: 2009-11-04\nVendors contacted: Blender Foundation\nRelease mode: User release\n\n\n\n2. *Vulnerability Information*\n\nClass: Failure to Sanitize Data into a Different Plane [CWE-74]\nImpact: Code execution\nRemotely Exploitable: Yes (client side)\nLocally Exploitable: No\nBugtraq ID: 36838\nCVE Name: CVE-2009-3850\n\n\n\n3. *Vulnerability Description*\n\nBlender [2] is a 3D graphics application released as free software. It\ncan be used for modeling, texturing, rendering, particle, and other\nsimulations and creating interactive 3D applications, including games.\n\nBlender embeds a python interpreter to extend its functionality.\nBlender .blend project files can be modified to execute arbitrary\ncommands without user intervention by design. An attacker can take\nfull control of the machine where Blender is installed by sending a\nspecially crafted .blend file and enticing the user to open it.\n\n\n4. *Vulnerable packages*\n\n   . Blender 2.49b\n   . Blender 2.40\n   . Blender 2.35a\n   . Blender 2.34\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 determine if a .blend file is suspicious you could parse the\ncontent of the file [3] searching for a SDNA [4] of type ScriptLink\n[5] with python code bound to an \"onLoad\" action.\n\n\n6. *Credits*\n\nThis vulnerability was discovered and researched by Diego Juarez and\nSebastian Tello from Core Security Technologies during Bugweek 2009 [1].\n\nThe publication of this advisory was coordinated by Fernando Russ from\nCore Security Advisories Team.\n\n\n7. *Technical Description / Proof of Concept Code*\n\nBlender [2] .blend project files can be modified to execute arbitrary\ncommands without user intervention by design. An attacker can take\nfull control of the machine where Blender is installed sending a\nspecially crafted .blend file and enticing the user to open it.\n\nThese are the steps to reproduce the issue:\n\n   . Open the \"Text Editor\" Panel.\n   . Right click on the canvas and select \"New\".\n   . Write your python code there. For instance:\n\n/-----\n      import os\n      os.system(\"calc.exe\")\n- -----/\n\n   . In the text name field (TX:Text.001) input a name for your\nscript, e.g.: TX:myscript.\n   . Open the \"Buttons Window\" panel.\n   . From the \"panel\" dropdown choose \"Script\".\n   . Check that \"enable script links\" is active.\n   . Click on \"new\".\n   . Select the script you created (e.g. myscript).\n   . Choose \"OnLoad\" from the event dropdown list.\n   . In the \"User Preferences\" panel, select File->Save, and save your\nproject.\n\n\n8. *Report Timeline*\n\n. 2009-10-19:\nCore Security Technologies notifies to the Blender foundation of the\nvulnerabilty and announces its initial plan to publish this advisory\non October 30th, 2009.\n\n. 2009-10-20:\nThe Blender foundation answers that \"We are a free software project,\nall issues are openly discussed. Just post the discoveries you made\nfor everyone to look at.\"\n\n. 2009-10-27:\nCore sends a draft advisory to the Blender Foundation for this flaw.\nCore also reminds the vendor its intention to publish the content on\nOctober 30th, 2009.\n\n. 2009-10-27:\nBID 36838 was assigned to this issue\n\n. 2009-11-03:\nCVE 2009-3850 was assigned to this issue\n\n. 2009-11-03:\nThe Blender Foundation didn't acknowledge or answer our comunications\nanymore.\n\n. 2009-11-05:\nThe advisory CORE-2009-0912 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] http://www.blender.org/\n[3] http://www.atmind.nl/blender/mystery_ot_blend.html\n[4] http://www.atmind.nl/blender/blender-sdna.html\n[5] http://www.atmind.nl/blender/blender-sdna.html#struct:ScriptLink\n\n\n10. *About CoreLabs*\n\nCoreLabs, the research center of Core Security Technologies, is\ncharged with anticipating the future needs and requirements for\ninformation security technologies. We conduct our research in several\nimportant areas of computer security including system vulnerabilities,\ncyber attack planning and simulation, source code auditing, and\ncryptography. Our results include problem formalization,\nidentification of vulnerabilities, novel solutions and prototypes for\nnew technologies. CoreLabs regularly publishes security advisories,\ntechnical papers, project information and shared software tools for\npublic use at: http://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\nare exposed. 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\nsoftware security auditing. Based in Boston, MA and Buenos Aires,\nArgentina, Core Security Technologies can be reached at 617-399-6980\nor on the Web at http://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\ncredit is 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\n-----BEGIN PGP SIGNATURE-----\nVersion: GnuPG v2.0.12 (MingW32)\nComment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/\n\niEYEARECAAYFAkrzB5QACgkQyNibggitWa3zbwCfYhTo5o2x1lggJ2dZjAx1uQyp\nYEkAoKjU9/gtdrUV7zHGFo6H9GJUyW7W\n=FxMs\n-----END PGP SIGNATURE-----\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/","sha256":"7d133aadc9acbf3d83dc782e3cbf273f5f5a5d9faaa26da0090fa03d0e214bfb","bytes":6675,"fetchedAt":"2026-11-26T19:10:41.156Z","encoding":"utf-8 (display only; download retains original bytes)"}