Microsoft Security Advisory 4025685: Guidance for older platforms (XP / 2003) (EXPLODINGCAN) - Nessus

Critical   Plugin ID: 100791

This page contains detailed information about the Microsoft Security Advisory 4025685: Guidance for older platforms (XP / 2003) (EXPLODINGCAN) Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 100791
Name: Microsoft Security Advisory 4025685: Guidance for older platforms (XP / 2003) (EXPLODINGCAN)
Filename: smb_nt_ms17_june_xp_2003.nasl
Vulnerability Published: 2017-03-26
This Plugin Published: 2017-06-14
Last Modification Time: 2022-02-28
Plugin Version: 1.12
Plugin Type: local
Plugin Family: Windows : Microsoft Bulletins
Dependencies: ms_bulletin_checks_possible.nasl, smb_hotfixes.nasl
Required KB Items [?]: SMB/MS_Bulletin_Checks/Possible

Vulnerability Information


Severity: Critical
Vulnerability Published: 2017-03-26
Patch Published: 2017-06-13
CVE [?]: CVE-2017-0176, CVE-2017-0222, CVE-2017-0267, CVE-2017-7269, CVE-2017-8461, CVE-2017-8487, CVE-2017-8543, CVE-2017-8552
CPE [?]: cpe:/a:microsoft:iis, cpe:/o:microsoft:windows
Exploited by Malware: True
In the News: True

Synopsis

The remote Windows host is affected by multiple vulnerabilities.

Description

The remote Windows host is missing a security update. It is, therefore, affected by one or more of the following vulnerabilities :

- A remote code execution vulnerability exists in how the Remote Desktop Protocol (RDP) handles requests if the RDP server has Smart Card authentication enabled. An authenticated, remote attacker can exploit this, via a specially crafted application, to execute arbitrary code with full user privileges. (CVE-2017-0176)

- A remote code execution vulnerability exists in Microsoft Internet Explorer due to improper handling of objects in memory. An unauthenticated, remote attacker can exploit this, by convincing a user to visit a specially crafted website, to execute arbitrary code in the context of the current user. (CVE-2017-0222)

- An information disclosure vulnerability exists in the Microsoft Server Message Block 1.0 (SMBv1) server when handling certain requests. An unauthenticated, remote attacker can exploit this, via a specially crafted packet, to disclose sensitive information. (CVE-2017-0267)

- A buffer overflow condition exists in the IIS WebDAV service due to improper handling of the 'If' header in a PROPFIND request. An unauthenticated, remote attacker can exploit this, via a specially crafted request, to cause a denial of service condition or the execution of arbitrary code. This vulnerability, also known as EXPLODINGCAN, is one of multiple Equation Group vulnerabilities and exploits disclosed on 2017/04/14 by a group known as the Shadow Brokers. (CVE-2017-7269)

- A remote code execution vulnerability exists in how the Remote Desktop Protocol (RDP) handles requests if the RDP server has Routing and Remote Access enabled. An authenticated, remote attacker can exploit this, via a specially crafted application, to execute arbitrary code with full user privileges. (CVE-2017-8461)

- A remote code execution vulnerability exists in Windows OLE, specifically in olecnv32.dll, due to improper validation of user-supplied input. An unauthenticated, remote attacker can exploit this, by convincing a user to visit a specially crafted website or to open a specially crafted file or email, to execute arbitrary code in the context of the current user. (CVE-2017-8487)

- A remote code execution vulnerability exists in the Windows Search functionality due to improper handling of objects in memory. An unauthenticated, remote attacker can exploit this, via a specially crafted SMB message, to execute arbitrary code. (CVE-2017-8543)

- An information disclosure vulnerability exists in the GDI component due to improper handling of objects in memory. An unauthenticated, remote attacker can exploit this, by convincing a user to open a specially crafted document or visit a specially crafted website, to disclose the contents of memory. (CVE-2017-8552)

Solution

Microsoft has released a set of patches for Windows XP and 2003.

Public Exploits


Target Network Port(s): 139, 445
Target Asset(s): Host/patch_management_checks
Exploit Available: True (Metasploit Framework, Exploit-DB, GitHub, Immunity Canvas, Core Impact)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the Microsoft Security Advisory 4025685: Guidance for older platforms (XP / 2003) (EXPLODINGCAN) vulnerability:

  1. Metasploit: exploit/windows/iis/iis_webdav_scstoragepathfromurl
    [Microsoft IIS WebDav ScStoragePathFromUrl Overflow]
  2. Metasploit: exploit/windows/smb/smb_rras_erraticgopher
    [Microsoft Windows RRAS Service MIBEntryGet Overflow]
  3. Exploit-DB: exploits/windows/remote/41738.py
    [EDB-41738: Microsoft IIS 6.0 - WebDAV 'ScStoragePathFromUrl' Remote Buffer Overflow]
  4. Exploit-DB: exploits/windows/remote/41992.rb
    [EDB-41992: Microsoft IIS - WebDav 'ScStoragePathFromUrl' Remote Overflow (Metasploit)]
  5. GitHub: https://github.com/0day666/Vulnerability-verification
    [CVE-2017-7269]
  6. GitHub: https://github.com/3hydraking/CVE-2017-7269
    [CVE-2017-7269]
  7. GitHub: https://github.com/4n0nym0u5dk/CVE-2017-7269
    [CVE-2017-7269]
  8. GitHub: https://github.com/Al1ex/CVE-2017-7269
    [CVE-2017-7269]
  9. GitHub: https://github.com/Ang31D/deobfuscation
    [CVE-2017-7269]
  10. GitHub: https://github.com/DynamicDesignz/Alien-Framework
    [CVE-2017-7269]
  11. GitHub: https://github.com/FDlucifer/firece-fish
    [CVE-2017-7269]
  12. GitHub: https://github.com/H0j3n/EzpzCheatSheet
    [CVE-2017-7269]
  13. GitHub: https://github.com/HacTF/poc--exp
    [CVE-2017-7269]
  14. GitHub: https://github.com/M1a0rz/CVE-2017-7269
    [CVE-2017-7269: Poc for iis6.0]
  15. GitHub: https://github.com/Mr-xn/Penetration_Testing_POC
    [CVE-2017-7269]
  16. GitHub: https://github.com/SexyBeast233/SecBooks
    [CVE-2017-7269]
  17. GitHub: https://github.com/ThanHuuTuan/CVE-2017-7269
    [CVE-2017-7269]
  18. GitHub: https://github.com/admintony/CollectionOfExp
    [CVE-2017-7269]
  19. GitHub: https://github.com/amcai/myscan
    [CVE-2017-7269]
  20. GitHub: https://github.com/chalern/Pentest-Tools
    [CVE-2017-7269]
  21. GitHub: https://github.com/danigargu/explodingcan
    [CVE-2017-7269]
  22. GitHub: https://github.com/dayaramb/dayaramb.github.io
    [CVE-2017-7269]
  23. GitHub: https://github.com/dmmcoco/explodingcan-checker
    [CVE-2017-7269]
  24. GitHub: https://github.com/drpong2/IIS-python
    [CVE-2017-7269]
  25. GitHub: https://github.com/fengjixuchui/RedTeamer
    [CVE-2017-7269]
  26. GitHub: https://github.com/homjxi0e/cve-2017-7269
    [CVE-2017-7269]
  27. GitHub: https://github.com/jaychouzzk/-
    [CVE-2017-7269]
  28. GitHub: https://github.com/jrrombaldo/CVE-2017-7269
    [CVE-2017-7269]
  29. GitHub: https://github.com/k4u5h41/CVE-2017-7269
    [CVE-2017-7269]
  30. GitHub: https://github.com/mirrorblack/CVE-2017-7269
    [CVE-2017-7269: CVE-2017-7269利用代码(rb文件)]
  31. GitHub: https://github.com/morkin1792/security-tests
    [CVE-2017-7269]
  32. GitHub: https://github.com/ngadminq/Bei-Gai-penetration-test-guide
    [CVE-2017-7269]
  33. GitHub: https://github.com/notsag-dev/hacking-tools-for-web-developers
    [CVE-2017-7269]
  34. GitHub: https://github.com/notsag-dev/htb-grandpa
    [CVE-2017-7269]
  35. GitHub: https://github.com/vysecurity/IIS_exploit
    [CVE-2017-7269]
  36. GitHub: https://github.com/wateroot/poc-exp
    [CVE-2017-7269]
  37. GitHub: https://github.com/whiteHat001/cve-2017-7269picture
    [CVE-2017-7269]
  38. GitHub: https://github.com/wrlu/Vulnerabilities
    [CVE-2017-7269]
  39. GitHub: https://github.com/xiaovpn/CVE-2017-7269
    [CVE-2017-7269]
  40. GitHub: https://github.com/ycdxsb/WindowsPrivilegeEscalation
    [CVE-2017-7269]
  41. GitHub: https://github.com/aRustyDev/C844
    [CVE-2017-8461]
  42. GitHub: https://github.com/peterpt/eternal_check
    [CVE-2017-8461]
  43. GitHub: https://github.com/ycdxsb/WindowsPrivilegeEscalation
    [CVE-2017-8543]
  44. GitHub: http://adlab.venustech.com.cn/article.html?type=vuln_analysis&date=20170718
    [CVE-2017-8543]
  45. GitHub: https://github.com/eliuha/webdav_exploit
    [CVE-2017-7269: An exploit for Microsoft IIS 6.0 CVE-2017-7269]
  46. GitHub: https://github.com/lcatro/CVE-2017-7269-Echo-PoC
    [CVE-2017-7269: CVE-2017-7269 回显PoC ,用于远程漏洞检测..]
  47. GitHub: https://github.com/slimpagey/IIS_6.0_WebDAV_Ruby
    [CVE-2017-7269: Ruby Exploit for IIS 6.0 Buffer Overflow (CVE-2017-7269)]
  48. GitHub: https://github.com/americanhanko/windows-security-cve-2017-8543
    [CVE-2017-8543: InSpec profile to verify a node is patched and compliant for CVE-2017-8543]
  49. GitHub: https://github.com/caicai1355/CVE-2017-7269-exploit
    [CVE-2017-7269: Exec 8 bytes command]
  50. GitHub: https://github.com/g0rx/iis6-exploit-2017-CVE-2017-7269
    [CVE-2017-7269: Iis6 exploit 2017 CVE-2017-7269]
  51. GitHub: https://github.com/zcgonvh/cve-2017-7269-tool
    [CVE-2017-7269: CVE-2017-7269 to webshell or shellcode loader]
  52. Immunity Canvas: CANVAS

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS Score Source [?]: CVE-2017-8543
CVSS V2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C/E:H/RL:OF/RC:C
CVSS Base Score:10.0 (High)
Impact Subscore:10.0
Exploitability Subscore:10.0
CVSS Temporal Score:8.7 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:8.7 (High)
CVSS V3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H/RL:O/RC:C
CVSS Base Score:9.8 (Critical)
Impact Subscore:5.9
Exploitability Subscore:3.9
CVSS Temporal Score:9.4 (Critical)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:9.4 (Critical)

Go back to menu.

Plugin Source


This is the smb_nt_ms17_june_xp_2003.nasl nessus plugin source code. This script is Copyright (C) 2017-2022 and is owned by Tenable, Inc. or an Affiliate thereof.

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

include('compat.inc');

if (description)
{
  script_id(100791);
  script_version("1.12");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/02/28");

  script_cve_id(
    "CVE-2017-0176",
    "CVE-2017-0222",
    "CVE-2017-0267",
    "CVE-2017-7269",
    "CVE-2017-8461",
    "CVE-2017-8487",
    "CVE-2017-8543",
    "CVE-2017-8552"
  );
  script_bugtraq_id(
    97127,
    98127,
    98259,
    98752,
    98824,
    99012,
    99013,
    99035
  );
  script_xref(name:"MSKB", value:"3197835");
  script_xref(name:"MSKB", value:"4018271");
  script_xref(name:"MSKB", value:"4018466");
  script_xref(name:"MSKB", value:"4019204");
  script_xref(name:"MSKB", value:"4022747");
  script_xref(name:"MSKB", value:"4024323");
  script_xref(name:"MSKB", value:"4024402");
  script_xref(name:"MSKB", value:"4025218");
  script_xref(name:"MSFT", value:"MS17-3197835");
  script_xref(name:"MSFT", value:"MS17-4018271");
  script_xref(name:"MSFT", value:"MS17-4018466");
  script_xref(name:"MSFT", value:"MS17-4019204");
  script_xref(name:"MSFT", value:"MS17-4022747");
  script_xref(name:"MSFT", value:"MS17-4024323");
  script_xref(name:"MSFT", value:"MS17-4024402");
  script_xref(name:"MSFT", value:"MS17-4025218");
  script_xref(name:"EDB-ID", value:"41738");
  script_xref(name:"EDB-ID", value:"41992");
  script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2022/05/03");
  script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2022/08/25");

  script_name(english:"Microsoft Security Advisory 4025685: Guidance for older platforms (XP / 2003) (EXPLODINGCAN)");

  script_set_attribute(attribute:"synopsis", value:
"The remote Windows host is affected by multiple vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The remote Windows host is missing a security update. It is,
therefore, affected by one or more of the following vulnerabilities :

  - A remote code execution vulnerability exists in how the
    Remote Desktop Protocol (RDP) handles requests if the
    RDP server has Smart Card authentication enabled. An
    authenticated, remote attacker can exploit this, via a
    specially crafted application, to execute arbitrary code
    with full user privileges. (CVE-2017-0176)

  - A remote code execution vulnerability exists in
    Microsoft Internet Explorer due to improper handling of
    objects in memory. An unauthenticated, remote attacker
    can exploit this, by convincing a user to visit a
    specially crafted website, to execute arbitrary code in
    the context of the current user. (CVE-2017-0222)

  - An information disclosure vulnerability exists in the
    Microsoft Server Message Block 1.0 (SMBv1) server when
    handling certain requests. An unauthenticated, remote
    attacker can exploit this, via a specially crafted
    packet, to disclose sensitive information.
    (CVE-2017-0267)

  - A buffer overflow condition exists in the IIS WebDAV
    service due to improper handling of the 'If' header in a
    PROPFIND request. An unauthenticated, remote attacker
    can exploit this, via a specially crafted request, to
    cause a denial of service condition or the execution of
    arbitrary code. This vulnerability, also known as
    EXPLODINGCAN, is one of multiple Equation Group
    vulnerabilities and exploits disclosed on 2017/04/14 by
    a group known as the Shadow Brokers. (CVE-2017-7269)

  - A remote code execution vulnerability exists in how the
    Remote Desktop Protocol (RDP) handles requests if the
    RDP server has Routing and Remote Access enabled. An
    authenticated, remote attacker can exploit this, via a
    specially crafted application, to execute arbitrary code
    with full user privileges. (CVE-2017-8461)

  - A remote code execution vulnerability exists in Windows
    OLE, specifically in olecnv32.dll, due to improper
    validation of user-supplied input. An unauthenticated,
    remote attacker can exploit this, by convincing a user
    to visit a specially crafted website or to open a
    specially crafted file or email, to execute arbitrary
    code in the context of the current user. (CVE-2017-8487)

  - A remote code execution vulnerability exists in the
    Windows Search functionality due to improper handling of
    objects in memory. An unauthenticated, remote attacker
    can exploit this, via a specially crafted SMB message,
    to execute arbitrary code. (CVE-2017-8543)

  - An information disclosure vulnerability exists in the
    GDI component due to improper handling of objects in
    memory. An unauthenticated, remote attacker can exploit
    this, by convincing a user to open a specially crafted
    document or visit a specially crafted website, to
    disclose the contents of memory. (CVE-2017-8552)");
  # https://support.microsoft.com/en-us/help/4025687/microsoft-security-advisory-4025685-guidance-for-older-platforms
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?a0780816");
  script_set_attribute(attribute:"solution", value:
"Microsoft has released a set of patches for Windows XP and 2003.");
  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:H/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:H/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2017-8543");

  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:'Microsoft IIS WebDav ScStoragePathFromUrl Overflow');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
  script_set_attribute(attribute:"exploit_framework_canvas", value:"true");
  script_set_attribute(attribute:"canvas_package", value:"CANVAS");
  script_set_attribute(attribute:"in_the_news", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2017/03/26");
  script_set_attribute(attribute:"patch_publication_date", value:"2017/06/13");
  script_set_attribute(attribute:"plugin_publication_date", value:"2017/06/14");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:microsoft:windows");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:iis");
  script_end_attributes();

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

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

  script_dependencies("smb_hotfixes.nasl", "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("smb_reg_query.inc");
include("misc_func.inc");
include("global_settings.inc");
include("install_func.inc");
include("misc_func.inc");


get_kb_item_or_exit("SMB/MS_Bulletin_Checks/Possible");

kbs = make_list(
  '3197835',
  '4018271',
  '4018466',
  '4019204',
  '4022747',
  '4024323',
  '4024402',
  '4025218'
);

bulletin = 'MS17-06';

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

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

if (hotfix_check_sp_range(xp:'2,3', win2003:'2') <= 0) audit(AUDIT_OS_SP_NOT_VULN);

productname = get_kb_item_or_exit("SMB/ProductName", exit_code:1);

share = hotfix_get_systemdrive(as_share:TRUE, exit_on_fail:TRUE);
if (!is_accessible_share(share:share)) audit(AUDIT_SHARE_FAIL, share);

vuln = FALSE;
if ('XP' >< productname)
{
  if (
    # Windows XP SP3 (x86)
    hotfix_is_vulnerable(os:"5.1", sp:3, file:"win32k.sys", version:"5.1.2600.7258", min_version:"5.1.2600.5000", dir:"\system32", bulletin:bulletin, kb:"4019204", arch:"x86") ||
    hotfix_is_vulnerable(os:"5.1", sp:3, file:"query.dll", version:"5.1.2600.7273", min_version:"5.1.2600.5000", dir:"\system32", bulletin:bulletin, kb:"4024402", arch:"x86") ||
    hotfix_is_vulnerable(os:"5.1", sp:3, file:"olecnv32.dll", version:"5.1.2600.7285", min_version:"5.1.2600.5000", dir:"\system32", bulletin:bulletin, kb:"4025218", arch:"x86") ||
    hotfix_is_vulnerable(os:"5.1", sp:3, file:"rasmxs.dll", version:"5.1.2600.7272", min_version:"5.1.2600.5000", dir:"\system32", bulletin:bulletin, kb:"4024323", arch:"x86") ||
    hotfix_is_vulnerable(os:"5.1", sp:3, file:"httpext.dll", version:"6.0.2600.7150", min_version:"6.0.0.0", dir:"\system32\inetsrv", bulletin:bulletin, kb:"3197835", arch:"x86") ||
    hotfix_is_vulnerable(os:"5.1", sp:3, file:"srv.sys", version:"5.1.2600.7238", min_version:"5.1.2600.5000", dir:"\system32\drivers", bulletin:bulletin, kb:"4018466", arch:"x86") ||
    hotfix_is_vulnerable(os:"5.1", sp:3, file:"mshtml.dll", version:"8.0.6001.23942", min_version:"8.0.0.0", dir:"\system32", bulletin:bulletin, kb:"4018271", arch:"x86") ||
    hotfix_is_vulnerable(os:"5.1", sp:3, file:"gpkcsp.dll", version:"5.1.2600.7264", min_version:"5.1.2600.5000", dir:"\system32", bulletin:bulletin, kb:"4022747", arch:"x86") ||

    # Windows XP SP2 (x64)
    hotfix_is_vulnerable(os:"5.2", sp:2, file:"win32k.sys", version:"5.2.3790.6080", min_version:"5.2.3790.3000", dir:"\system32", bulletin:bulletin, kb:"4019204", arch:"x64") ||
    hotfix_is_vulnerable(os:"5.2", sp:2, file:"query.dll", version:"5.2.3790.6100", min_version:"5.2.3790.3000", dir:"\system32", bulletin:bulletin, kb:"4024402", arch:"x64") ||
    hotfix_is_vulnerable(os:"5.2", sp:2, file:"olecnv32.dll", version:"5.2.3790.6113", min_version:"5.2.3790.3000", dir:"\system32", bulletin:bulletin, kb:"4025218", arch:"x64") ||
    hotfix_is_vulnerable(os:"5.2", sp:2, file:"rasmxs.dll", version:"5.2.3790.6099", min_version:"5.2.3790.3000", dir:"\system32", bulletin:bulletin, kb:"4024323", arch:"x64") ||
    hotfix_is_vulnerable(os:"5.2", sp:2, file:"httpext.dll", version:"6.0.3790.5955", min_version:"6.0.0.0", dir:"\system32\inetsrv", bulletin:bulletin, kb:"3197835", arch:"x64") ||
    hotfix_is_vulnerable(os:"5.2", sp:2, file:"srv.sys", version:"5.2.3790.6051", min_version:"5.2.3790.3000", dir:"\system32\drivers", bulletin:bulletin, kb:"4018466", arch:"x64") ||
    hotfix_is_vulnerable(os:"5.2", sp:2, file:"mshtml.dll", version:"8.0.6001.23942", min_version:"8.0.0.0", dir:"\system32", bulletin:bulletin, kb:"4018271", arch:"x64") ||
    hotfix_is_vulnerable(os:"5.2", sp:2, file:"gpkcsp.dll", version:"5.2.3790.6093", min_version:"5.2.3790.3000", dir:"\system32", bulletin:bulletin, kb:"4022747", arch:"x64")
  ) vuln = TRUE;
}
else if ('2003' >< productname)
{
  if (
    hotfix_is_vulnerable(os:"5.2", sp:2, file:"win32k.sys", version:"5.2.3790.6080", min_version:"5.2.3790.3000", dir:"\system32", bulletin:bulletin, kb:"4019204") ||
    hotfix_is_vulnerable(os:"5.2", sp:2, file:"query.dll", version:"5.2.3790.6100", min_version:"5.2.3790.3000", dir:"\system32", bulletin:bulletin, kb:"4024402") ||
    hotfix_is_vulnerable(os:"5.2", sp:2, file:"olecnv32.dll", version:"5.2.3790.6113", min_version:"5.2.3790.3000", dir:"\system32", bulletin:bulletin, kb:"4025218") ||
    hotfix_is_vulnerable(os:"5.2", sp:2, file:"rasmxs.dll", version:"5.2.3790.6099", min_version:"5.2.3790.3000", dir:"\system32", bulletin:bulletin, kb:"4024323") ||
    hotfix_is_vulnerable(os:"5.2", sp:2, file:"httpext.dll", version:"6.0.3790.5955", min_version:"6.0.0.0", dir:"\system32\inetsrv", bulletin:bulletin, kb:"3197835") ||
    hotfix_is_vulnerable(os:"5.2", sp:2, file:"srv.sys", version:"5.2.3790.6051", min_version:"5.2.3790.3000", dir:"\system32\drivers", bulletin:bulletin, kb:"4018466") ||
    hotfix_is_vulnerable(os:"5.2", sp:2, file:"gpkcsp.dll", version:"5.2.3790.6093", min_version:"5.2.3790.3000", dir:"\system32", bulletin:bulletin, kb:"4022747")
  ) vuln = TRUE;
}

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

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/smb_nt_ms17_june_xp_2003.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\smb_nt_ms17_june_xp_2003.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/smb_nt_ms17_june_xp_2003.nasl

Go back to menu.

How to Run


Here is how to run the Microsoft Security Advisory 4025685: Guidance for older platforms (XP / 2003) (EXPLODINGCAN) as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select Windows : Microsoft Bulletins plugin family.
  6. On the right side table select Microsoft Security Advisory 4025685: Guidance for older platforms (XP / 2003) (EXPLODINGCAN) plugin ID 100791.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl smb_nt_ms17_june_xp_2003.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a smb_nt_ms17_june_xp_2003.nasl -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - smb_nt_ms17_june_xp_2003.nasl -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state smb_nt_ms17_june_xp_2003.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: MSKB | Microsoft Knowledge Base: MSFT | Microsoft Security Bulletin:
  • MS17-3197835, MS17-4018271, MS17-4018466, MS17-4019204, MS17-4022747, MS17-4024323, MS17-4024402, MS17-4025218
See also: Similar and related Nessus plugins:
  • 99523 - Microsoft Windows Server 2003 IIS 6.0 WebDAV PROPFIND Request Handling RCE (EXPLODINGCAN)
  • 99281 - Microsoft Windows Server 2003 R2 IIS 6.0 WebDAV PROPFIND Request Handling RCE (EXPLODINGCAN)
  • 102683 - Microsoft Windows Search Remote Code Execution Vulnerability (CVE-2017-8543)
  • 100759 - KB4022714: Windows 10 Version 1511 June 2017 Cumulative Update
  • 100760 - KB4022715: Windows 10 Version 1607 and Windows Server 2016 June 2017 Cumulative Update
  • 100761 - Windows 7 and Windows Server 2008 R2 June 2017 Security Updates
  • 100762 - Windows Server 2012 June 2017 Security Updates
  • 100763 - KB4022725: Windows 10 Version 1703 June 2017 Cumulative Update
  • 100764 - Windows 8.1 and Windows Server 2012 R2 June 2017 Security Updates
  • 100765 - KB4022727: Windows 10 Version 1507 June 2017 Cumulative Update
  • 100785 - Microsoft Security Advisory 4025685: Windows Vista (June 2017)
  • 100786 - Windows 2008 June 2017 Multiple Security Updates
  • 100788 - Windows 8 June 2017 Security Updates
  • 100055 - KB4016871: Windows 10 Version 1703 May 2017 Cumulative Update
  • 100054 - Windows Server 2012 May 2017 Security Updates
  • 100057 - Windows 8.1 and Windows Server 2012 R2 May 2017 Security Updates
  • 100058 - Windows 7 and Windows Server 2008 R2 May 2017 Security Updates
  • 100059 - KB4019472: Windows 10 Version 1607 and Windows Server 2016 May 2017 Cumulative Update
  • 100060 - KB4019473: Windows 10 Version 1511 May 2017 Cumulative Update
  • 100061 - KB4019474: Windows 10 Version 1507 May 2017 Cumulative Update
  • 100063 - Windows 2008 May 2017 Multiple Security Updates
  • 125073 - Microsoft Security Advisory 4500331: Guidance for older platforms (XP / 2003) (BlueKeep)

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file smb_nt_ms17_june_xp_2003.nasl version 1.12. For more plugins, visit the Nessus Plugin Library.

Go back to menu.