Vulnerabilities > CVE-2016-4258 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Adobe Digital Editions

047910
CVSS 10.0 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
low complexity
adobe
CWE-119
critical
nessus

Summary

Adobe Digital Editions before 4.5.2 allows attackers to execute arbitrary code or cause a denial of service (memory corruption) via unspecified vectors, a different vulnerability than CVE-2016-4256, CVE-2016-4257, CVE-2016-4259, CVE-2016-4260, CVE-2016-4261, and CVE-2016-4262.

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 idADOBE_DIGITAL_EDITIONS_APSB16-28.NASL
    descriptionThe version of Adobe Digital Editions installed on the remote Windows host is prior to 4.5.2. It is, therefore, affected by multiple vulnerabilities : - Multiple memory corruption issues exist that allow an unauthenticated, remote attacker to execute arbitrary code. (CVE-2016-4256, CVE-2016-4257, CVE-2016-4258, CVE-2016-4259, CVE-2016-4260, CVE-2016-4261, CVE-2016-4262) - A use-after-free error exists that allows an unauthenticated, remote attacker to execute arbitrary code. (CVE-2016-4263)
    last seen2020-06-01
    modified2020-06-02
    plugin id93513
    published2016-09-15
    reporterThis script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/93513
    titleAdobe Digital Editions < 4.5.2 Multiple Vulnerabilities (APSB16-28)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(93513);
      script_version("1.9");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/06/12");
    
      script_cve_id(
        "CVE-2016-4256",
        "CVE-2016-4257",
        "CVE-2016-4258",
        "CVE-2016-4259",
        "CVE-2016-4260",
        "CVE-2016-4261",
        "CVE-2016-4262",
        "CVE-2016-4263"
      );
      script_bugtraq_id(92925, 92928);
    
      script_name(english:"Adobe Digital Editions < 4.5.2 Multiple Vulnerabilities (APSB16-28)");
      script_summary(english:"Checks version of Adobe Digital Editions.");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote Windows host is affected by multiple vulnerabilities.");
      script_set_attribute(attribute:"description", value:
    "The version of Adobe Digital Editions installed on the remote Windows
    host is prior to 4.5.2. It is, therefore, affected by multiple
    vulnerabilities :
    
      - Multiple memory corruption issues exist that allow an
        unauthenticated, remote attacker to execute arbitrary
        code. (CVE-2016-4256, CVE-2016-4257, CVE-2016-4258,
        CVE-2016-4259, CVE-2016-4260, CVE-2016-4261,
        CVE-2016-4262) 
    
      - A use-after-free error exists that allows an
        unauthenticated, remote attacker to execute arbitrary
        code. (CVE-2016-4263)");
      # https://helpx.adobe.com/security/products/Digital-Editions/apsb16-28.html
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?fee76481");
      # http://www.adobe.com/solutions/ebook/digital-editions/release-notes.html
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?c3aa2f29");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to Adobe Digital Editions version 4.5.2 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_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2016-4263");
    
      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:"2016/09/13");
      script_set_attribute(attribute:"patch_publication_date", value:"2016/09/13");
      script_set_attribute(attribute:"plugin_publication_date", value:"2016/09/15");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:adobe:digital_editions");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Windows");
    
      script_copyright(english:"This script is Copyright (C) 2016-2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("adobe_digital_editions_installed.nbin");
      script_require_keys("installed_sw/Adobe Digital Editions", "SMB/Registry/Enumerated");
    
      exit(0);
    }
    
    include('audit.inc');
    include('global_settings.inc');
    include('misc_func.inc');
    include('install_func.inc');
    include('smb_func.inc');
    
    get_kb_item_or_exit("SMB/Registry/Enumerated");
    
    app_name = "Adobe Digital Editions";
    install = get_single_install(app_name:app_name, exit_if_unknown_ver:TRUE);
    
    ver_ui  = FALSE;
    version = install['version'];
    path    = install['path'];
    
    if (!empty_or_null(install['display_version']))
      ver_ui  = install['display_version'];
    
    fix = "4.5.2.0";
    
    if (ver_compare(ver:version, fix:fix, strict:FALSE) < 0 )
    {
      port = kb_smb_transport();
    
      items = make_array("Path", path,
                         "Installed version", version,
                         "Fixed version", "4.5.2 (" + fix + ")");
      if (ver_ui)
        items["Installed version"] = version + " (" + ver_ui + ")";
    
      order = make_list("Path", "Installed version", "Fixed version");
    
      report = report_items_str(report_items:items, ordered_fields:order);
    
      security_report_v4(port:port, extra:report, severity:SECURITY_HOLE);
      exit(0);
    }
    else
      audit(AUDIT_INST_PATH_NOT_VULN, app_name, version, path);
    
  • NASL familyMacOS X Local Security Checks
    NASL idMACOSX_ADOBE_DIGITAL_EDITIONS_APSB16-28.NASL
    descriptionThe version of Adobe Digital Editions installed on the remote Mac OS X host is prior to 4.5.2. It is, therefore, affected by multiple vulnerabilities : - Multiple memory corruption issues exist that allow an unauthenticated, remote attacker to execute arbitrary code. (CVE-2016-4256, CVE-2016-4257, CVE-2016-4258, CVE-2016-4259, CVE-2016-4260, CVE-2016-4261, CVE-2016-4262) - A use-after-free error exists that allows an unauthenticated, remote attacker to execute arbitrary code. (CVE-2016-4263)
    last seen2020-06-01
    modified2020-06-02
    plugin id93514
    published2016-09-15
    reporterThis script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/93514
    titleAdobe Digital Editions < 4.5.2 Multiple Vulnerabilities (APSB16-28) (Mac OS X)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(93514);
      script_version("1.8");
      script_cvs_date("Date: 2019/11/14");
    
      script_cve_id(
        "CVE-2016-4256",
        "CVE-2016-4257",
        "CVE-2016-4258",
        "CVE-2016-4259",
        "CVE-2016-4260",
        "CVE-2016-4261",
        "CVE-2016-4262",
        "CVE-2016-4263"
      );
      script_bugtraq_id(92925, 92928);
    
      script_name(english:"Adobe Digital Editions < 4.5.2 Multiple Vulnerabilities (APSB16-28) (Mac OS X)");
      script_summary(english:"Checks version of Adobe Digital Editions on Mac OS X.");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote Mac OS X host is affected by multiple vulnerabilities.");
      script_set_attribute(attribute:"description", value:
    "The version of Adobe Digital Editions installed on the remote Mac OS
    X host is prior to 4.5.2. It is, therefore, affected by multiple
    vulnerabilities :
    
      - Multiple memory corruption issues exist that allow an
        unauthenticated, remote attacker to execute arbitrary
        code. (CVE-2016-4256, CVE-2016-4257, CVE-2016-4258,
        CVE-2016-4259, CVE-2016-4260, CVE-2016-4261,
        CVE-2016-4262) 
    
      - A use-after-free error exists that allows an
        unauthenticated, remote attacker to execute arbitrary
        code. (CVE-2016-4263)");
      # https://helpx.adobe.com/security/products/Digital-Editions/apsb16-28.html
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?fee76481");
      # http://www.adobe.com/solutions/ebook/digital-editions/release-notes.html
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?c3aa2f29");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to Adobe Digital Editions version 4.5.2 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_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2016-4263");
    
      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:"2016/09/13");
      script_set_attribute(attribute:"patch_publication_date", value:"2016/09/13");
      script_set_attribute(attribute:"plugin_publication_date", value:"2016/09/15");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:adobe:digital_editions");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"MacOS X Local Security Checks");
    
      script_copyright(english:"This script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("macosx_adobe_digital_editions_installed.nbin");
      script_require_keys("Host/local_checks_enabled", "Host/MacOSX/Version", "installed_sw/Adobe Digital Editions");
    
      exit(0);
    }
    
    include("audit.inc");
    include("global_settings.inc");
    include("misc_func.inc");
    include("install_func.inc");
    
    get_kb_item_or_exit("Host/local_checks_enabled");
    get_kb_item_or_exit("Host/MacOSX/Version");
    
    app_name = "Adobe Digital Editions";
    install = get_single_install(app_name:app_name, exit_if_unknown_ver:TRUE);
    
    ver_ui  = FALSE;
    version = install['version'];
    path    = install['path'];
    
    if (!empty_or_null(install['display_version']))
      ver_ui  = install['display_version'];
    
    fix = "4.5.2.0";
    
    if (ver_compare(ver:version, fix:fix, strict:FALSE) < 0 )
    {
      items = make_array("Path", path,
                         "Installed version", version,
                         "Fixed version", "4.5.2 (" + fix + ")");
      if (ver_ui)
        items["Installed version"] = version + " (" + ver_ui + ")";
    
      order = make_list("Path", "Installed version", "Fixed version");
    
      report = report_items_str(report_items:items, ordered_fields:order);
    
      security_report_v4(port:0, extra:report, severity:SECURITY_HOLE);
      exit(0);
    }
    else
      audit(AUDIT_INST_PATH_NOT_VULN, app_name, version, path);