Vulnerabilities > CVE-2013-5325 - Code Injection vulnerability in Adobe Acrobat and Acrobat Reader
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Adobe Reader and Acrobat 11.x before 11.0.05 on Windows allow remote attackers to execute arbitrary JavaScript code in a javascript: URL via a crafted PDF document.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 10 | |
OS | 1 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Leverage Executable Code in Non-Executable Files An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
- Manipulating User-Controlled Variables This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An attacker can override environment variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the attacker can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.
Nessus
NASL family Windows NASL id ADOBE_READER_APSB13-25.NASL description The version of Adobe Reader installed on the remote host is 11.0.4. It is, therefore, affected by a flaw in the handling of specially crafted PDF files. This could allow an attacker to launch JavaScript URI schemes. last seen 2020-06-01 modified 2020-06-02 plugin id 70343 published 2013-10-09 reporter This script is Copyright (C) 2013-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/70343 title Adobe Reader 11.0.4 Crafted PDF File Handling JavaScript Scheme URI Execution (APSB13-25) code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(70343); script_version("1.6"); script_cvs_date("Date: 2018/11/15 20:50:26"); script_cve_id("CVE-2013-5325"); script_bugtraq_id(62888); script_name(english:"Adobe Reader 11.0.4 Crafted PDF File Handling JavaScript Scheme URI Execution (APSB13-25)"); script_summary(english:"Checks version of Adobe Reader"); script_set_attribute( attribute:"synopsis", value: "The version of Adobe Reader on the remote Windows host is affected by a JavaScript URI scheme execution vulnerability." ); script_set_attribute( attribute:"description", value: "The version of Adobe Reader installed on the remote host is 11.0.4. It is, therefore, affected by a flaw in the handling of specially crafted PDF files. This could allow an attacker to launch JavaScript URI schemes." ); script_set_attribute(attribute:"see_also", value:"https://www.adobe.com/support/security/bulletins/apsb13-25.html"); script_set_attribute(attribute:"solution", value:"Upgrade to Adobe Reader 11.0.5 or later."); script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C"); script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available"); script_set_attribute(attribute:"exploit_available", value:"false"); script_set_attribute(attribute:"vuln_publication_date", value:"2013/10/08"); script_set_attribute(attribute:"patch_publication_date", value:"2013/10/08"); script_set_attribute(attribute:"plugin_publication_date", value:"2013/10/09"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"cpe:/a:adobe:acrobat_reader"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:'Windows'); script_copyright(english:'This script is Copyright (C) 2013-2018 Tenable Network Security, Inc.'); script_dependencies('adobe_reader_installed.nasl'); script_require_keys('SMB/Acroread/Version'); exit(0); } include('audit.inc'); include('global_settings.inc'); info = ''; info2 = ''; vuln = 0; vers = get_kb_list('SMB/Acroread/Version'); if (isnull(vers)) audit(AUDIT_KB_MISSING, 'SMB/Acroread/Version'); foreach version (vers) { ver = split(version, sep:'.', keep:FALSE); for (i=0; i<max_index(ver); i++) ver[i] = int(ver[i]); path = get_kb_item('SMB/Acroread/'+version+'/Path'); if (isnull(path)) path = 'n/a'; verui = get_kb_item('SMB/Acroread/'+version+'/Version_UI'); if (isnull(verui)) verui = version; if (ver[0] == 11 && ver[1] == 0 && ver[2] == 4) { vuln++; info += '\n Path : '+path+ '\n Installed version : '+verui+ '\n Fixed version : 11.0.5\n'; } else info2 += " and " + verui; } if (info) { port = get_kb_item("SMB/transport"); if (!port) port = 445; if (report_verbosity > 0) { if (vuln > 1) s = "s of Adobe Reader are"; else s = " of Adobe Reader is"; report = '\nThe following vulnerable instance'+s+' installed on the'+ '\nremote host :\n'+ info; security_hole(port:port, extra:report); } else security_hole(port); exit(0); } if (info2) { info2 -= " and "; if (" and " >< info2) be = "are"; else be = "is"; exit(0, "The host is not affected since Adobe Reader "+info2+" "+be+" installed."); } else exit(1, "Unexpected error - 'info2' is empty.");
NASL family Windows NASL id ADOBE_ACROBAT_APSB13-25.NASL description The version of Adobe Acrobat installed on the remote host is 11.0.4. It is, therefore, affected by a flaw in the handling of specially crafted PDF files. This can allow an attacker to launch JavaScript URI schemes. last seen 2020-06-01 modified 2020-06-02 plugin id 70342 published 2013-10-09 reporter This script is Copyright (C) 2013-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/70342 title Adobe Acrobat 11.0.4 Crafted PDF File Handling JavaScript Scheme URI Execution (APSB13-25) code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(70342); script_version("1.6"); script_cvs_date("Date: 2018/11/15 20:50:26"); script_cve_id("CVE-2013-5325"); script_bugtraq_id(62888); script_name(english:"Adobe Acrobat 11.0.4 Crafted PDF File Handling JavaScript Scheme URI Execution (APSB13-25)"); script_summary(english:"Checks version of Adobe Acrobat"); script_set_attribute( attribute:"synopsis", value: "The version of Adobe Acrobat on the remote Windows host is affected by a JavaScript URI scheme execution vulnerability." ); script_set_attribute( attribute:"description", value: "The version of Adobe Acrobat installed on the remote host is 11.0.4. It is, therefore, affected by a flaw in the handling of specially crafted PDF files. This can allow an attacker to launch JavaScript URI schemes." ); script_set_attribute(attribute:"see_also", value:"https://www.adobe.com/support/security/bulletins/apsb13-25.html"); script_set_attribute(attribute:"solution", value:"Upgrade to Adobe Acrobat 11.0.5 or later."); script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C"); script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available"); script_set_attribute(attribute:"exploit_available", value:"false"); script_set_attribute(attribute:"vuln_publication_date", value:"2013/10/08"); script_set_attribute(attribute:"patch_publication_date", value:"2013/10/08"); script_set_attribute(attribute:"plugin_publication_date", value:"2013/10/09"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"cpe:/a:adobe:acrobat"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:'Windows'); script_copyright(english:'This script is Copyright (C) 2013-2018 Tenable Network Security, Inc.'); script_dependencies('adobe_acrobat_installed.nasl'); script_require_keys('SMB/Acrobat/Version'); exit(0); } include('audit.inc'); include('global_settings.inc'); include('misc_func.inc'); version = get_kb_item_or_exit("SMB/Acrobat/Version"); version_ui = get_kb_item('SMB/Acrobat/Version_UI'); if (isnull(version_ui)) version_report = version; else version_report = version_ui; ver = split(version, sep:'.', keep:FALSE); for (i=0; i<max_index(ver); i++) ver[i] = int(ver[i]); path = get_kb_item_or_exit('SMB/Acrobat/Path'); # Only versions 11.0.4 are affected if (ver[0] == 11 && ver[1] == 0 && ver[2] == 4) { port = get_kb_item('SMB/transport'); if (!port) port = 445; if (report_verbosity > 0) { report = '\n Path : '+path+ '\n Installed version : '+version_report+ '\n Fixed version : 11.0.5\n'; security_hole(port:port, extra:report); } else security_hole(port); } else audit(AUDIT_INST_PATH_NOT_VULN, "Adobe Acrobat", version_report, path);
Oval
accepted | 2013-11-26T13:49:24.482-05:00 | ||||||||
class | vulnerability | ||||||||
contributors |
| ||||||||
definition_extensions |
| ||||||||
description | Adobe Reader and Acrobat 11.x before 11.0.05 on Windows allow remote attackers to execute arbitrary JavaScript code in a javascript: URL via a crafted PDF document. | ||||||||
family | windows | ||||||||
id | oval:org.mitre.oval:def:19053 | ||||||||
status | accepted | ||||||||
submitted | 2013-10-16T15:34:02.324-04:00 | ||||||||
title | Adobe Reader and Acrobat 11.x before 11.0.05 on Windows allow remote attackers to execute arbitrary JavaScript code in a javascript: URL via a crafted PDF document. | ||||||||
version | 4 |
References
- http://www.adobe.com/support/security/bulletins/apsb13-25.html
- http://www.adobe.com/support/security/bulletins/apsb13-25.html
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19053
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19053