Lucene search
K

Adobe Photoshop BOF and Use After Free Vulnerabilities (Mac OS X)

🗓️ 16 May 2012 00:00:00Reported by Copyright (C) 2012 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 24 Views

Adobe Photoshop BOF and Use After Free Vulnerabilities (Mac OS X) - Host is prone to buffer overflow and use after free vulnerabilities. Apply patch for Adobe Photoshop CS5 and CS5.1 or upgrade to Adobe Photoshop version CS6 or later. For updates, refer to http://helpx.adobe.com/photoshop/kb/security-update-photoshop.html and http://www.adobe.com/downloads/

Related
Refs
Code
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_adobe_photoshop_bof_n_use_after_free_vuln_macosx.nasl 5963 2017-04-18 09:02:14Z teissa $
#
# Adobe Photoshop BOF and Use After Free Vulnerabilities (Mac OS X)
#
# Authors:
# Madhuri D <[email protected]>
#
# Copyright:
# Copyright (c) 2012 Greenbone Networks GmbH, http://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################

tag_solution = "Apply patch for Adobe Photoshop CS5 and CS5.1,
  For updates refer to http://helpx.adobe.com/photoshop/kb/security-update-photoshop.html

  Or upgrade to Adobe Photoshop version CS6 or later,
  For updates refer to http://www.adobe.com/downloads/";

tag_impact = "Successful exploitation will allow attackers to execute arbitrary code.
  Impact Level: Application/System";
tag_affected = "Adobe Photoshop version prior to CS6 on Mac OS X";
tag_insight = "The flaws are due to
  - An insufficient input validation while decompressing TIFF images.
  - An input sanitisation error when parsing TIFF images can be exploited
    to cause a heap based buffer overflow via a specially crafted file.";
tag_summary = "This host is installed with Adobe Photoshop and is prone to buffer
  overflow and use after free vulnerabilities.";

if(description)
{
  script_id(802786);
  script_version("$Revision: 5963 $");
  script_cve_id("CVE-2012-2027", "CVE-2012-2028", "CVE-2012-2052", "CVE-2012-0275");
  script_bugtraq_id(53421, 52634, 53464, 55372);
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_tag(name:"last_modification", value:"$Date: 2017-04-18 11:02:14 +0200 (Tue, 18 Apr 2017) $");
  script_tag(name:"creation_date", value:"2012-05-16 12:11:54 +0530 (Wed, 16 May 2012)");
  script_name("Adobe Photoshop BOF and Use After Free Vulnerabilities (Mac OS X)");

  script_xref(name : "URL" , value : "http://secunia.com/advisories/48457/");
  script_xref(name : "URL" , value : "http://securitytracker.com/id/1027046");
  script_xref(name : "URL" , value : "http://www.adobe.com/support/security/bulletins/apsb12-11.html");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2012 Greenbone Networks GmbH");
  script_family("General");
  script_dependencies("gb_adobe_photoshop_detect_macosx.nasl");
  script_require_keys("Adobe/Photoshop/MacOSX/Version");
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "summary" , value : tag_summary);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name:"qod_type", value:"package");
  script_tag(name:"solution_type", value:"VendorFix");
  exit(0);
}


include("version_func.inc");

## Variable Initialization
photoVer = "";

photoVer = get_kb_item("Adobe/Photoshop/MacOSX/Version");
if(!photoVer){
  exit(0);
}

photoVer = eregmatch(pattern:"([0-9.]+)", string:photoVer);
if(photoVer[0])
{
  ## Check for Adobe Photoshop versions with patch
  ## Adobe Photoshop CS5 (12.0.5) and CS5.1 (12.1.1)
  if(version_is_less(version:photoVer[0], test_version:"12.0.5"))
  {
    security_message(0);
    exit(0);
  }

  if("12.1" >< photoVer)
  {
    if(version_is_less(version:photoVer[0], test_version:"12.1.1")){
      security_message(0);
    }
  }
}

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation