Vulnerabilities > CVE-2012-0275 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Adobe Photoshop Cs5.5 and Photoshop CS6
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Heap-based buffer overflow in Photoshop.exe in Adobe Photoshop CS5 12.x before 12.0.5, CS5.1 12.1.x before 12.1.1, and CS6 13.x before 13.0.1 allows remote attackers to execute arbitrary code via a crafted TIFF image with SGI24LogLum compression.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 6 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
- Client-side Injection-induced Buffer Overflow This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
- Filter Failure through Buffer Overflow In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
- MIME Conversion An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
Nessus
NASL family MacOS X Local Security Checks NASL id MACOSX_ADOBE_PHOTOSHOP_APSB12-20.NASL description The version of Adobe Photoshop installed on the remote Mac OS X host is prior to CS6 13.0.1. It is, therefore, affected by remote code execution vulnerabilities due to multiple buffer overflows. A remote attacker, using a crafted file, can exploit these to execute arbitrary code. last seen 2020-06-01 modified 2020-06-02 plugin id 62222 published 2012-09-21 reporter This script is Copyright (C) 2015-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/62222 title Adobe Photoshop CS6 for Mac Multiple RCE Vulnerabilities (APSB12-20) (Mac OS X) code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(62222); script_version("1.8"); script_cvs_date("Date: 2018/07/14 1:59:35"); script_cve_id("CVE-2012-0275", "CVE-2012-4170"); script_bugtraq_id(55333, 55372); script_xref(name:"EDB-ID", value:"20971"); script_name(english:"Adobe Photoshop CS6 for Mac Multiple RCE Vulnerabilities (APSB12-20) (Mac OS X)"); script_summary(english:"Checks the Photoshop version."); script_set_attribute(attribute:"synopsis", value: "The remote host has an application that is affected by multiple remote code execution vulnerabilities."); script_set_attribute(attribute:"description", value: "The version of Adobe Photoshop installed on the remote Mac OS X host is prior to CS6 13.0.1. It is, therefore, affected by remote code execution vulnerabilities due to multiple buffer overflows. A remote attacker, using a crafted file, can exploit these to execute arbitrary code."); script_set_attribute(attribute:"see_also", value:"http://secunia.com/secunia_research/2012-29/"); script_set_attribute(attribute:"see_also", value:"http://www.adobe.com/support/security/bulletins/apsb12-20.html"); script_set_attribute(attribute:"solution", value:"Upgrade to Adobe Photoshop CS6 13.0.1 or later."); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C"); script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); script_set_attribute(attribute:"vuln_publication_date", value:"2012/08/30"); script_set_attribute(attribute:"patch_publication_date", value:"2012/08/30"); script_set_attribute(attribute:"plugin_publication_date", value:"2012/09/21"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"cpe:/a:adobe:photoshop"); script_set_attribute(attribute:"cpe", value:"cpe:/a:adobe:photoshop_cs6"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:"MacOS X Local Security Checks"); script_copyright(english:"This script is Copyright (C) 2015-2018 Tenable Network Security, Inc."); script_dependencies("macosx_adobe_photoshop_installed.nasl"); script_require_keys("Host/local_checks_enabled", "Host/MacOSX/Version", "installed_sw/Adobe Photoshop"); exit(0); } include("global_settings.inc"); include("misc_func.inc"); include("audit.inc"); include("install_func.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); os = get_kb_item('Host/MacOSX/Version'); if (!os) audit(AUDIT_OS_NOT, 'Mac OS X'); get_kb_item_or_exit("installed_sw/Adobe Photoshop"); app = 'Adobe Photoshop'; install=get_single_install(app_name:app, exit_if_unknown_ver:TRUE); product = install['name']; if ("CS6" >!< product) exit(0, "Only Adobe Photoshop CS6 is affected."); path = install['path']; version = install['version']; if( ver_compare(ver:version, fix:'13.0', strict:FALSE) >= 0 && ver_compare(ver:version, fix:'13.0.1', strict:FALSE) < 0 ) { if (report_verbosity > 0) { report = '\n Product : ' + product + '\n Path : ' + path + '\n Installed version : ' + version + '\n Fixed version : 13.0.1'; security_hole(port:0, extra:report); } else security_hole(0); } else audit(AUDIT_INST_VER_NOT_VULN, app + " CS6", version);
NASL family Windows NASL id ADOBE_PHOTOSHOP_APSB12-11.NASL description The version of Adobe Photoshop installed on the remote Windows host is prior to CS5 (12.0.5) or CS5.1 (12.1.1). It is, therefore, multiple arbitrary code execution vulnerabilities : - Multiple heap-based buffer overflow conditions exist due to a failure to properly sanitize user-supplied input when decompressing and handling TIFF image files. An unauthenticated, remote attacker can exploit these issues, by convincing a user to open a specially crafted TIFF image file, to execute arbitrary code. (CVE-2012-2027, CVE-2012-2028) - A buffer overflow condition exists in the U3D.8bi plugin due to a failure to properly sanitize user-supplied input. An unauthenticated, remote attacker can exploit this, by convincing a user to open a file containing a specially crafted Collada (.dae) asset element, to execute arbitrary code. (CVE-2012-2052) - A heap-based buffer overflow condition exists in photoshop.exe due to a failure to properly sanitize user-supplied input when decompressing a SGI24LogLum compressed TIFF image. An unauthenticated, remote attacker can exploit this, by convincing a user to open a specially crafted TIFF image file, to execute arbitrary code. (CVE-2012-0275) last seen 2020-06-01 modified 2020-06-02 plugin id 59172 published 2012-05-17 reporter This script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/59172 title Adobe Photoshop < CS5 / CS5.1 Multiple Arbitrary Code Execution Vulnerabilities (APSB12-11) code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(59172); script_version("1.15"); script_cvs_date("Date: 2019/12/04"); script_cve_id( "CVE-2012-0275", "CVE-2012-2027", "CVE-2012-2028", "CVE-2012-2052" ); script_bugtraq_id( 52634, 53421, 53464, 55372 ); script_xref(name:"EDB-ID", value:"18633"); script_xref(name:"EDB-ID", value:"18862"); script_name(english:"Adobe Photoshop < CS5 / CS5.1 Multiple Arbitrary Code Execution Vulnerabilities (APSB12-11)"); script_summary(english:"Checks Photoshop version."); script_set_attribute(attribute:"synopsis", value: "The remote host has an application installed that is affected by multiple arbitrary code execution vulnerabilities."); script_set_attribute(attribute:"description", value: "The version of Adobe Photoshop installed on the remote Windows host is prior to CS5 (12.0.5) or CS5.1 (12.1.1). It is, therefore, multiple arbitrary code execution vulnerabilities : - Multiple heap-based buffer overflow conditions exist due to a failure to properly sanitize user-supplied input when decompressing and handling TIFF image files. An unauthenticated, remote attacker can exploit these issues, by convincing a user to open a specially crafted TIFF image file, to execute arbitrary code. (CVE-2012-2027, CVE-2012-2028) - A buffer overflow condition exists in the U3D.8bi plugin due to a failure to properly sanitize user-supplied input. An unauthenticated, remote attacker can exploit this, by convincing a user to open a file containing a specially crafted Collada (.dae) asset element, to execute arbitrary code. (CVE-2012-2052) - A heap-based buffer overflow condition exists in photoshop.exe due to a failure to properly sanitize user-supplied input when decompressing a SGI24LogLum compressed TIFF image. An unauthenticated, remote attacker can exploit this, by convincing a user to open a specially crafted TIFF image file, to execute arbitrary code. (CVE-2012-0275)"); # https://web.archive.org/web/20150222012212/http://protekresearchlab.com/index.php?option=com_content&view=article&id=40&Itemid=40 script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?268de05d"); script_set_attribute(attribute:"see_also", value:"https://www.adobe.com/support/security/bulletins/apsb12-11.html"); script_set_attribute(attribute:"see_also", value:"https://helpx.adobe.com/photoshop/kb/security-update-photoshop.html"); script_set_attribute(attribute:"solution", value: "Upgrade to Adobe Photoshop CS6 (13.0). Alternatively, apply the patch referenced in the vendor advisory."); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C"); script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C"); script_set_attribute(attribute:"cvss_score_source", value:"CVE-2012-0275"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); script_set_attribute(attribute:"vuln_publication_date", value:"2012/03/20"); script_set_attribute(attribute:"patch_publication_date", value:"2012/05/08"); script_set_attribute(attribute:"plugin_publication_date", value:"2012/05/17"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"cpe:/a:adobe:photoshop"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:"Windows"); script_copyright(english:"This script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof."); script_dependencies("adobe_photoshop_installed.nasl"); script_require_keys("SMB/Adobe_Photoshop/Installed"); exit(0); } include("global_settings.inc"); include("misc_func.inc"); get_kb_item_or_exit("SMB/Adobe_Photoshop/Installed"); vers = get_kb_list('SMB/Adobe_Photoshop/Version'); if (isnull(vers)) exit(1, 'The "SMB/Adobe_Photoshop/Version" KB list is missing.'); info = ''; info2 = ''; vuln = 0; 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/Adobe_Photoshop/'+version+'/Path'); if (isnull(path)) path = 'n/a'; product_name = get_kb_item('SMB/Adobe_Photoshop/'+version+'/Product'); if(isnull(product_name)) product_name = "Adobe Photoshop"; verui = get_kb_item('SMB/Adobe_Photoshop/'+version+'/Version_UI'); if (isnull(verui)) verui = version; # version < 12.0.5 / 12.1.1 Vuln if ( ver[0] < 12 || ( ver[0] == 12 && ( (ver[1] == 0 && ver[2] < 5) || (ver[1] == 1 && ver[2] < 1) ) ) ) { if (ver[0] == 12 && ver[1] == 0) fix = "CS5 (12.0.5) / CS6 (13.0)"; else if (ver[0] == 12 && ver[1] == 1) fix = "CS5.1 (12.1.1) / CS6 (13.0)"; else fix = "CS6 (13.0)"; vuln++; info += '\n Product : '+ product_name+ '\n Path : '+path+ '\n Installed version : '+verui+ '\n Fixed version : '+fix+'\n'; } else info2 += " and " + verui; } if (info) { if (report_verbosity > 0) { if (vuln > 1) s = "s of Adobe Photoshop are"; else s = " of Adobe Photoshop is"; report = '\nThe following vulnerable instance'+s+' installed on the'+ '\nremote host :\n'+ info; security_hole(port:get_kb_item("SMB/transport"), extra:report); } else security_hole(get_kb_item("SMB/transport")); exit(0); } if (info2) { info2 -= " and "; if (" and " >< info2) be = "are"; else be = "is"; exit(0, "The host is not affected since Adobe Photoshop "+info2+" "+be+" installed."); } else exit(1, "Unexpected error - 'info2' is empty.");
NASL family Windows NASL id ADOBE_PHOTOSHOP_APSB12-20.NASL description The version of Adobe Photoshop installed on the remote host is less than CS6 13.0.1. Such versions are affected by multiple buffer overflow vulnerabilities that could lead to code execution. last seen 2020-06-01 modified 2020-06-02 plugin id 61775 published 2012-09-04 reporter This script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/61775 title Adobe Photoshop CS6 Multiple Buffer Overflow Vulnerabilities (APSB12-20)
References
- http://secunia.com/secunia_research/2012-29/
- http://www.adobe.com/support/security/bulletins/apsb12-11.html
- http://www.adobe.com/support/security/bulletins/apsb12-20.html
- http://www.securityfocus.com/bid/55372
- http://www.securitytracker.com/id?1027477
- https://exchange.xforce.ibmcloud.com/vulnerabilities/78185
- http://secunia.com/secunia_research/2012-29/
- https://exchange.xforce.ibmcloud.com/vulnerabilities/78185
- http://www.securitytracker.com/id?1027477
- http://www.securityfocus.com/bid/55372
- http://www.adobe.com/support/security/bulletins/apsb12-20.html
- http://www.adobe.com/support/security/bulletins/apsb12-11.html