{"vuid":"VU#140129","idnumber":"140129","name":"Adobe Reader EScript.api arbitrary code execution","keywords":["Adobe","Reader","arbitrary code execution","JavaScript","Insecure Method","EScript.api plug-in"],"overview":"The Adobe Acrobat Reader contains a vulnerability that may allow an attacker to execute arbitrary code.","clean_desc":"Adobe Acrobat Reader is software designed to view Portable Document Format (PDF) files. Adobe also distributes the Adobe Acrobat Plug-In to allow users to view PDF files inside of a web browser. Per iDefense Advisory  02.08.08: Remote exploitation of an insecure method exposed by the JavaScript library in Adobe Reader and Acrobat could allow an attacker to execute arbitrary code as the current user. Adobe Reader and Acrobat implement a version of JavaScript in the EScript.api plug-in which is based on the reference implementation used in Mozilla products. One of the methods exposed allows direct control over low level features of the object, which in turn allows execution of arbitrary code.","impact":"By convincing a user to open a malicious PDF file, a remote, unauthenticated attacker may be able to execute arbitrary code. This can happen in several ways, such as opening an email attachment or viewing a web page.","resolution":"Update\nAccording to the information in Adobe Security bulletin APSB08-13, users with version 8 of Adobe Reader or Acrobat should upgrade to version 8.1.2. Users running version 7 of Adobe Reader or Acrobat should upgrade to version 7.1.0. This issue was intially address for version 8 of Adobe Reader and Acrobat in Adobe Security advisory APSA08-01.","workarounds":"Disable the displaying of PDF documents in the web browser Preventing PDF documents from opening inside a web browser may prevent this vulnerability from being automatically exploited. If this workaround is applied to updated versions of the Adobe reader, it may mitigate future vulnerabilities. To prevent PDF documents from automatically being opened in a web browser: Open Adobe Acrobat Reader. Open the Edit menu. Choose the preferences option. Choose the Internet section. Un-check the \"Display PDF in browser\" check box. Prevent Internet Explorer from automatically opening PDF documents The installer for Adobe Reader and Acrobat configures Internet Explorer to automatically open PDF files without any user interaction. This behavior can be reverted to the safer option of prompting the user by importing the following as a .REG file: Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\\AcroExch.Document.7] \"EditFlags\"=hex:00,00,00,00 Disable JavaScript in Adobe Reader and Acrobat Disabling Javascript may prevent this vulnerability from being exploited. Acrobat JavaScript can be disabled in the General preferences dialog (Edit -> Preferences -> JavaScript and un-check Enable Acrobat JavaScript). Do not open untrusted PDF files Do not open unfamiliar or unexpected PDF attachments. Users can convert PDF documents to text by using the Adobe Online Conversion Tools site. See the Online Conversion Tools FAQ for information about this service. This workaround will not mitigate all attack vectors.","sysaffected":"","thanks":"Thanks to Adobe and iDefense for information that was used in this report.","author":"This document was written by Ryan Giobbi.","public":["http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=656","http://www.adobe.com/support/security/advisories/apsa08-01.html","http://www.adobe.com/support/security/bulletins/apsb08-13.html","http://www.adobe.com/products/acrobat/access_onlinetools.html","http://www.adobe.com/products/acrobat/access_tools_faq.html","http://plugindoc.mozdev.org/faqs/acroread.html"],"cveids":["CVE-2007-5663"],"certadvisory":"","uscerttechnicalalert":null,"datecreated":"2008-02-11T14:38:48Z","publicdate":"2008-02-09T00:00:00Z","datefirstpublished":"2008-02-12T15:23:11Z","dateupdated":"2008-05-09T20:18:02Z","revision":27,"vrda_d1_directreport":"0","vrda_d1_population":"4","vrda_d1_impact":"4","cam_widelyknown":"10","cam_exploitation":"0","cam_internetinfrastructure":"4","cam_population":"20","cam_impact":"12","cam_easeofexploitation":"10","cam_attackeraccessrequired":"20","cam_scorecurrent":"12.6","cam_scorecurrentwidelyknown":"21.6","cam_scorecurrentwidelyknownexploited":"39.6","ipprotocol":"","cvss_accessvector":"","cvss_accesscomplexity":"","cvss_authentication":null,"cvss_confidentialityimpact":"","cvss_integrityimpact":"","cvss_availabilityimpact":"","cvss_exploitablity":null,"cvss_remediationlevel":"","cvss_reportconfidence":"","cvss_collateraldamagepotential":"","cvss_targetdistribution":"","cvss_securityrequirementscr":"","cvss_securityrequirementsir":"","cvss_securityrequirementsar":"","cvss_basescore":"","cvss_basevector":"","cvss_temporalscore":"","cvss_environmentalscore":"","cvss_environmentalvector":"","metric":12.6,"vulnote":null}