Vulnerabilities > CVE-2012-0778 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Adobe Flash Cs3, Flash CS4 and Flash Cs5.5

047910
CVSS 0.0 - NONE
Attack vector
UNKNOWN
Attack complexity
UNKNOWN
Privileges required
UNKNOWN
Confidentiality impact
UNKNOWN
Integrity impact
UNKNOWN
Availability impact
UNKNOWN

Summary

Buffer overflow in Adobe Flash Professional before CS6 allows attackers to execute arbitrary code via unspecified vectors.

Vulnerable Configurations

Part Description Count
Application
Adobe
3

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 familyWindows
    NASL idFLASH_PROFESSIONAL_APSB12-12.NASL
    descriptionAccording to its version, at least one instance of Adobe Flash Professional on the remote Windows host is less than or equal to 11.5.1.349. It is, therefore, reportedly affected by an integer overflow error in Flash.exe when allocating memory to process a JPG object using its image dimensions.
    last seen2020-06-01
    modified2020-06-02
    plugin id59176
    published2012-05-17
    reporterThis script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/59176
    titleAdobe Flash Professional <= 11.5.1.349 JPG Object Dimension Memory Allocation FLA File Handling Remote Overflow (APSB12-12)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include('compat.inc');
    
    if (description)
    {
      script_id(59176);
      script_version("1.8");
      script_cvs_date("Date: 2019/12/04");
    
      script_cve_id("CVE-2012-0778");
      script_bugtraq_id(53419);
      script_xref(name:"Secunia", value:"47116");
    
      script_name(english:"Adobe Flash Professional <= 11.5.1.349 JPG Object Dimension Memory Allocation FLA File Handling Remote Overflow (APSB12-12)");
      script_summary(english:"Checks version of Adobe Flash Professional");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote Windows host has a multimedia authoring application that
    is affected by a code execution vulnerability.");
      script_set_attribute(attribute:"description", value:
    "According to its version, at least one instance of Adobe Flash
    Professional on the remote Windows host is less than or equal to
    11.5.1.349.  It is, therefore, reportedly affected by an integer
    overflow error in Flash.exe when allocating memory to process a JPG
    object using its image dimensions.");
      script_set_attribute(attribute:"see_also", value:"http://www.adobe.com/support/security/bulletins/apsb12-12.html");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to Adobe Flash Professional CS5 11.5.2.349, Flash 
    Professional CS6, 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:U/RL:OF/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2012-0778");
    
      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:"2012/05/08");
      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:flash");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:adobe:flash_cs");
      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("flash_professional_installed.nasl");
      script_require_keys("SMB/Adobe Flash Professional/Installed");
    
      exit(0);
    }
    
    include("global_settings.inc");
    include("misc_func.inc");
    include("audit.inc");
    
    get_kb_item_or_exit('SMB/Adobe Flash Professional/Installed');
    
    installs = get_kb_list('SMB/Adobe Flash Professional/Installs/*');
    if (isnull(installs)) exit(1, 'The \'SMB/Adobe Flash Professional/Installs KB list is missing.');
    
    info = '';
    info2 = '';
    vuln = 0;
    foreach install (keys(installs))
    {
      path = installs[install];
      version = install - 'SMB/Adobe Flash Professional/Installs/';
    
      if (ver_compare(ver:version, fix:'11.5.1.349') <= 0)
      {
        vuln++;
        info += 
          '\n  Path              : ' + path +
          '\n  Installed version : ' + version +
          '\n  Fixed version     : 11.5.2.349 / 12.0.0.481\n';
      }
      else info2 += ' and ' + version;
    }
    
    if (info)
    {
      if (report_verbosity > 0) security_hole(port:get_kb_item('SMB/transport'), extra:info);
      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 Flash Professional ' + info2 + ' ' + be + ' installed.');
    }
    else exit(1, 'Unexpected error - \'info2\' is empty.');
    
  • NASL familyMacOS X Local Security Checks
    NASL idMACOSX_FLASH_PROFESSIONAL_APSB12-12.NASL
    descriptionAccording to its version, at least one instance of Adobe Flash Professional on the remote Mac OS X host is less than or equal to 11.5.1.349. It is, therefore, reportedly affected by an integer overflow error in Flash.exe when allocating memory to process a JPG object using its image dimensions.
    last seen2020-06-01
    modified2020-06-02
    plugin id59178
    published2012-05-17
    reporterThis script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/59178
    titleAdobe Flash Professional for Mac <= 11.5.1.349 JPG Object Dimension Memory Allocation FLA File Handling Remote Overflow (APSB12-12)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include('compat.inc');
    
    if (description)
    {
      script_id(59178);
      script_version("1.8");
      script_cvs_date("Date: 2019/12/04");
    
      script_cve_id("CVE-2012-0778");
      script_bugtraq_id(53419);
      script_xref(name:"Secunia", value:"47116");
    
      script_name(english:"Adobe Flash Professional for Mac <= 11.5.1.349 JPG Object Dimension Memory Allocation FLA File Handling Remote Overflow (APSB12-12)");
      script_summary(english:"Checks version of Adobe Flash Professional");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote Mac OS X host has a multimedia authoring application that
    is affected by a code execution vulnerability.");
      script_set_attribute(attribute:"description", value:
    "According to its version, at least one instance of Adobe Flash
    Professional on the remote Mac OS X host is less than or equal to
    11.5.1.349.  It is, therefore, reportedly affected by an integer
    overflow error in Flash.exe when allocating memory to process a JPG
    object using its image dimensions.");
      script_set_attribute(attribute:"see_also", value:"http://www.adobe.com/support/security/bulletins/apsb12-12.html");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to Adobe Flash Professional CS5 11.5.2.349, Flash 
    Professional CS6, 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:U/RL:OF/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2012-0778");
    
      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:"2012/05/08");
      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:flash");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:adobe:flash_cs");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"MacOS X Local Security Checks");
    
      script_copyright(english:"This script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("macosx_flash_professional_installed.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/MacOSX/Version", "MacOSX/Adobe Flash Professional/Installed");
    
      exit(0);
    }
    
    include("global_settings.inc");
    include("misc_func.inc");
    include("audit.inc");
    
    get_kb_item_or_exit('Host/local_checks_enabled');
    
    os = get_kb_item('Host/MacOSX/Version');
    if (!os) audit(AUDIT_OS_NOT, 'Mac OS X');
    
    kb_base = 'MacOSX/Adobe Flash Professional';
    get_kb_item_or_exit(kb_base + '/Installed');
    
    versions = get_kb_list(kb_base+'/*/Version');
    if (isnull(versions)) exit(1, 'The \''+kb_base+'/*/Version\' KB list is missing.');
    
    info = '';
    info2 = '';
    
    foreach install (sort(keys(versions)))
    {
      path = '/Applications' + (install - kb_base - '/Version');
    
      version = versions[install];
    
      if (ver_compare(ver:version, fix:'11.5.1.349') <= 0)
      {
        info += 
          '\n  Path              : ' + path +
          '\n  Installed version : ' + version +
          '\n  Fixed version     : 11.5.2.349 / 12.0.0.481\n';
      }
      else info2 += ' and ' + version;
    }
    
    if (info)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:info);
      else security_hole(0);
    
      exit(0);
    }
    
    if (info2)
    {
      info2 -= ' and ';
      if (' and ' >< info2) be = 'are';
      else be = 'is';
    
      exit(0, 'The host is not affected since Adobe Flash Professional ' + info2 + ' ' + be + ' installed.');
    }
    else exit(1, 'Unexpected error - \'info2\' is empty.');