Lucene search

K
nessusThis script is Copyright (C) 2011-2022 Tenable Network Security, Inc.ADOBE_ACROBAT_APSA11-02.NASL
HistoryApr 15, 2011 - 12:00 a.m.

Adobe Acrobat 9.x / 10.x Multiple Vulnerabilities (APSB11-08)

2011-04-1500:00:00
This script is Copyright (C) 2011-2022 Tenable Network Security, Inc.
www.tenable.com
27

The remote Windows host contains a version of Adobe Acrobat 9.x < 9.4.4 or 10.x < 10.0.3. Such versions are affected by multiple memory corruption vulnerabilities.

A remote attacker could exploit this by tricking a user into viewing a malicious crafted PDF file, resulting in arbitrary code execution.

Note also, CVE-2011-0611 is being exploited in the wild as of April 2011.

#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#

include('deprecated_nasl_level.inc');
include('compat.inc');

if (description)
{
  script_id(53450);
  script_version("1.24");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/03/08");

  script_cve_id("CVE-2011-0610", "CVE-2011-0611");
  script_bugtraq_id(47314, 47531);
  script_xref(name:"CERT", value:"230057");
  script_xref(name:"Secunia", value:"44149");
  script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2022/03/24");

  script_name(english:"Adobe Acrobat 9.x / 10.x Multiple Vulnerabilities (APSB11-08)");

  script_set_attribute(attribute:"synopsis", value:
"The version of Adobe Acrobat on the remote Windows host is affected by
multiple memory corruption vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The remote Windows host contains a version of Adobe Acrobat 9.x <
9.4.4 or 10.x < 10.0.3. Such versions are affected by multiple memory
corruption vulnerabilities.

A remote attacker could exploit this by tricking a user into viewing a
malicious crafted PDF file, resulting in arbitrary code execution.

Note also, CVE-2011-0611 is being exploited in the wild as of April
2011.");
  # http://blogs.technet.com/b/mmpc/archive/2011/04/12/analysis-of-the-cve-2011-0611-adobe-flash-player-vulnerability-exploitation.aspx
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?9ee82b34");
  script_set_attribute(attribute:"see_also", value:"http://www.adobe.com/support/security/advisories/apsa11-02.html");
  script_set_attribute(attribute:"see_also", value:"https://www.adobe.com/support/security/bulletins/apsb11-08.html");
  script_set_attribute(attribute:"solution", value:
"Upgrade to Adobe Acrobat 9.4.4 / 10.0.3 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:H/RL:OF/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2011-0611");

  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_set_attribute(attribute:"exploit_framework_core", value:"true");
  script_set_attribute(attribute:"exploited_by_malware", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'Adobe Flash Player 10.2.153.1 SWF Memory Corruption Vulnerability');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2011/04/11");
  script_set_attribute(attribute:"patch_publication_date", value:"2011/04/21");
  script_set_attribute(attribute:"plugin_publication_date", value:"2011/04/15");

  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) 2011-2022 Tenable Network Security, Inc.");

  script_dependencies("adobe_acrobat_installed.nasl");
  script_require_keys("SMB/Acrobat/Version");
  script_require_ports(139, 445);

  exit(0);
}


include("global_settings.inc");
include("misc_func.inc");
include("smb_func.inc");
include("audit.inc");

version = get_kb_item_or_exit("SMB/Acrobat/Version");
path = get_kb_item_or_exit("SMB/Acrobat/Path");

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]);
report = '';
# This affects 9.x < 9.4.4 / 10.x < 10.0.3
if (
  # 9.x
  (
    (ver[0] == 9 && ver[1] < 4) ||
    (ver[0] == 9 && ver[1] == 4 && ver[2] < 4)
  )
)
{
  report =
    '\n  Path              : ' + path +
    '\n  Installed version : ' + version_report +
    '\n  Fixed version     : 9.4.4 / 10.0.3\n';
}
else if (ver[0] == 10 && ver[1] == 0 &&
        (ver[2] < 1 || (ver[2] == 1 && ver[3] <= 434)))
{
  path = get_kb_item_or_exit('SMB/Acrobat/Path');
  name   = kb_smb_name();
  #port   = kb_smb_transport();
  login  = kb_smb_login();
  pass   = kb_smb_password();
  domain = kb_smb_domain();

  #if (!get_port_state(port)) exit(0, "Port "+port+" is not open.");
  #soc = open_sock_tcp(port);
  #if (!soc) exit(1, "Failed to open a socket on port "+port+".");

  #session_init(socket:soc, hostname:name);
  if(!smb_session_init()) audit(AUDIT_FN_FAIL, 'smb_session_init');



  share = ereg_replace(pattern:'^([A-Za-z]):.*', replace:'\\1$', string:path);
  dll = ereg_replace(pattern:'^[A-Za-z]:(.*)', replace:'\\1\\Acrobat\\authplay.dll', string:path);

  rc = NetUseAdd(login:login, password:pass, domain:domain, share:share);
  if (rc != 1)
  {
    NetUseDel();
    exit(1, 'Can\'t connect to '+share+' share.');
  }

  fh = CreateFile(
    file:dll,
    desired_access:GENERIC_READ,
    file_attributes:FILE_ATTRIBUTE_NORMAL,
    share_mode:FILE_SHARE_READ,
    create_disposition:OPEN_EXISTING
  );

  if (isnull(fh))
  {
    NetUseDel();
    exit(1, 'Unable to access : '+path+'\\Acrobat\\authplay.dll.');
  }
  dllver = GetProductVersion(handle:fh);
  dllver = split(dllver, sep:',', keep:FALSE);

  CloseFile(handle:fh);
  NetUseDel();
  if (isnull(dllver)) exit(1, 'Can\'t get the version of '+path+'\\Acrobat\\authplay.dll.');

  dllversion = join(sep:'.', dllver);
  fixdll = '10.2.159.1';
  if (ver_compare(ver:dllversion, fix:fixdll) == -1)
  {
    report =
      '\n  DLL       :       ' + path + '\\Acrobat\\authplay.dll' +
      '\n  Installed version : ' + dllversion +
      '\n  Fixed version     : ' + fixdll + '\n';
  }
}
if (report)
{
  if (report_verbosity > 0) security_hole(port:get_kb_item('SMB/transport'), extra:report);
  else security_hole(get_kb_item('SMB/transport'));
}
else exit(0, "The host is not affected.");

VendorProductVersionCPE
adobeacrobatcpe:/a:adobe:acrobat