Lucene search

K
nessusThis script is Copyright (C) 2013-2023 and is owned by Tenable, Inc. or an Affiliate thereof.SMB_NT_MS13-025.NASL
HistoryMar 12, 2013 - 12:00 a.m.

MS13-025: Vulnerability in Microsoft OneNote Could Allow Information Disclosure (2816264)

2013-03-1200:00:00
This script is Copyright (C) 2013-2023 and is owned by Tenable, Inc. or an Affiliate thereof.
www.tenable.com
20

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

EPSS

0.041

Percentile

92.3%

The version of Microsoft OneNote running on the remote host is affected by a memory allocation flaw. By convincing a user to open a specially crafted OneNote file, a remote attacker can exploit this to gain access to sensitive information.

#
# (C) Tenable Network Security, Inc.
#

include('compat.inc');

if (description)
{
  script_id(65214);
  script_version("1.12");
  script_set_attribute(attribute:"plugin_modification_date", value:"2023/08/17");

  script_cve_id("CVE-2013-0086");
  script_bugtraq_id(58387);
  script_xref(name:"MSFT", value:"MS13-025");
  script_xref(name:"MSKB", value:"2760600");
  script_xref(name:"IAVB", value:"2013-B-0027-S");

  script_name(english:"MS13-025: Vulnerability in Microsoft OneNote Could Allow Information Disclosure (2816264)");

  script_set_attribute(attribute:"synopsis", value:
"Information disclosure can occur if an attacker convinces a user to
open a specially crafted OneNote file.");
  script_set_attribute(attribute:"description", value:
"The version of Microsoft OneNote running on the remote host is
affected by a memory allocation flaw. By convincing a user to open a
specially crafted OneNote file, a remote attacker can exploit this to
gain access to sensitive information.");
  script_set_attribute(attribute:"see_also", value:"https://docs.microsoft.com/en-us/security-updates/SecurityBulletins/2013/ms13-025");
  script_set_attribute(attribute:"solution", value:
"Microsoft has released a set of patches for OneNote 2010 SP1.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2013-0086");

  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:"2013/03/12");
  script_set_attribute(attribute:"patch_publication_date", value:"2013/03/12");
  script_set_attribute(attribute:"plugin_publication_date", value:"2013/03/12");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:onenote");
  script_set_attribute(attribute:"stig_severity", value:"II");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Windows : Microsoft Bulletins");

  script_copyright(english:"This script is Copyright (C) 2013-2023 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("smb_hotfixes.nasl", "onenote_installed.nbin", "ms_bulletin_checks_possible.nasl");
  script_require_keys("SMB/MS_Bulletin_Checks/Possible");
  script_require_ports(139, 445, "Host/patch_management_checks");

  exit(0);
}

include("audit.inc");
include("smb_hotfixes_fcheck.inc");
include("smb_hotfixes.inc");
include("smb_func.inc");
include("misc_func.inc");
include("install_func.inc");

get_kb_item_or_exit("SMB/MS_Bulletin_Checks/Possible");

bulletin = 'MS13-025';
kb = "2760600";
kbs = make_list(kb);

if (get_kb_item("Host/patch_management_checks"))
  hotfix_check_3rd_party(bulletin:bulletin, kbs:kbs, severity:SECURITY_WARNING);

get_kb_item_or_exit("SMB/WindowsVersion", exit_code:1);

app = 'Microsoft OneNote';

get_install_count(app_name:app, exit_if_zero:TRUE);

vuln = 0;

installs = get_installs(app_name:app);
if (installs[0] == IF_NOT_FOUND) audit(AUDIT_NOT_INST, app);

foreach install (installs[1])
{
  product = install['product'];
  sp = install['sp'];
  path = install['path'];
  version = install['version'];
  if (version == UNKNOWN_VER) continue;

  # Check Product
  if (product == '2010' && sp == '1')
  {
    v = split(version, sep:'.', keep:FALSE);

    # Check to see if the version is vulnerable
    if (
      (int(v[0]) == 14 && int(v[1]) == 0 && int(v[2]) < 6134) ||
      (int(v[0]) == 14 && int(v[1]) == 0 && int(v[2]) == 6134 && int(v[3]) < 5000)
    )
    {
      vuln++;
      info =
        '\n  Product           : Microsoft OneNote 2010 SP1' +
        '\n  Path              : ' + path +
        '\n  Installed version : ' + version +
        '\n  Fixed version     : 14.0.6134.5000\n';
      hotfix_add_report(info, bulletin:bulletin, kb:kb);
    }
  }
}

if (vuln)
{
  set_kb_item(name:"SMB/Missing/"+bulletin, value:TRUE);
  hotfix_security_warning();
  hotfix_check_fversion_end();
  exit(0);
}
else
{
  hotfix_check_fversion_end();
  audit(AUDIT_HOST_NOT, 'affected');
}

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

EPSS

0.041

Percentile

92.3%