Microsoft IIS 7.0 Vulnerabilities (uncredentialed) (PCI/DSS) - Nessus

High   Plugin ID: 108808

This page contains detailed information about the Microsoft IIS 7.0 Vulnerabilities (uncredentialed) (PCI/DSS) Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 108808
Name: Microsoft IIS 7.0 Vulnerabilities (uncredentialed) (PCI/DSS)
Filename: iis_7_pci.nasl
Vulnerability Published: N/A
This Plugin Published: 2018-04-03
Last Modification Time: 2020-08-05
Plugin Version: 1.7
Plugin Type: remote
Plugin Family: Web Servers
Dependencies: http_version.nasl
Required KB Items [?]: Settings/ParanoidReport, Settings/PCI_DSS, www/iis

Vulnerability Information


Severity: High
Vulnerability Published: N/A
Patch Published: N/A
CVE [?]: CVE-2008-1446, CVE-2009-3555, CVE-2010-1256, CVE-2010-1899, CVE-2010-2566, CVE-2010-2730, CVE-2010-2731
CPE [?]: cpe:/a:microsoft:iis, cpe:/o:microsoft:windows

Synopsis

The remote web server may allow remote code execution.

Description

According to the HTTP server banner the remote server is IIS 7.0. The server may be vulnerable to a number of vulnerabilities including a couple of remote code execution vulnerabilities.

Solution

Ensure the appropriate patches have been applied.

Public Exploits


Target Network Port(s): 80
Target Asset(s): Services/www
Exploit Available: True (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 IIS 7.0 Vulnerabilities (uncredentialed) (PCI/DSS) vulnerability:

  1. Exploit-DB: exploits/multiple/remote/10579.py
    [EDB-10579: TLS - Renegotiation]
  2. GitHub: https://github.com/GiJ03/ReconScan
    [CVE-2009-3555]
  3. GitHub: https://github.com/RedHatProductSecurity/CVE-HOWTO
    [CVE-2009-3555]
  4. GitHub: https://github.com/RoliSoft/ReconScan
    [CVE-2009-3555]
  5. GitHub: https://github.com/ekiojp/hanase
    [CVE-2009-3555]
  6. GitHub: https://github.com/galeone/letsencrypt-lighttpd
    [CVE-2009-3555]
  7. GitHub: https://github.com/issdp/test
    [CVE-2009-3555]
  8. GitHub: https://github.com/johnwchadwick/cve-2009-3555-test-server
    [CVE-2009-3555: A TLS server using a vendored fork of the Go TLS stack that has renegotation ...]
  9. GitHub: https://github.com/matoweb/Enumeration-Script
    [CVE-2009-3555]
  10. GitHub: https://github.com/withdk/pulse-secure-vpn-mitm-research
    [CVE-2009-3555]
  11. GitHub: https://github.com/Romulus968/copycat
    [CVE-2010-1256]
  12. GitHub: https://github.com/Al1ex/WindowsElevation
    [CVE-2010-1899]
  13. GitHub: https://github.com/Romulus968/copycat
    [CVE-2010-1899]
  14. GitHub: https://github.com/Romulus968/copycat
    [CVE-2010-2730]
  15. GitHub: https://github.com/ycdxsb/WindowsPrivilegeEscalation
    [CVE-2010-2730]
  16. 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 V2 Vector [?]: AV:N/AC:M/Au:N/C:C/I:C/A:C/E:F/RL:OF/RC:C
CVSS Base Score:9.3 (High)
Impact Subscore:10.0
Exploitability Subscore:8.6
CVSS Temporal Score:7.7 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:7.7 (High)
CVSS V3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C
CVSS Base Score:8.8 (High)
Impact Subscore:5.9
Exploitability Subscore:2.8
CVSS Temporal Score:8.2 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:8.2 (High)
STIG Severity [?]: I
STIG Risk Rating: High

Go back to menu.

Plugin Source


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

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

include("compat.inc");

if(description)
{
  script_id(108808);
  script_version ("1.7");
  script_set_attribute(attribute:"plugin_modification_date", value:"2020/08/05");

  script_cve_id(
    "CVE-2008-1446",
    "CVE-2009-3555",
    "CVE-2010-1256",
    "CVE-2010-1899",
    "CVE-2010-2566",
    "CVE-2010-2730",
    "CVE-2010-2731"
  );
  script_bugtraq_id(
    31682,
    36935,
    40573,
    42246,
    41314,
    43138,
    43140
  );
  script_xref(name:"MSFT", value:"MS08-062");
  script_xref(name:"MSFT", value:"MS10-040");
  script_xref(name:"MSFT", value:"MS10-049");
  script_xref(name:"MSFT", value:"MS10-065");
  script_xref(name:"MSKB", value:"953155");
  script_xref(name:"MSKB", value:"2124261");
  script_xref(name:"MSKB", value:"2271195");
  script_xref(name:"MSKB", value:"2290570");
  script_xref(name:"MSKB", value:"982666");
  script_xref(name:"MSKB", value:"973917");
  script_xref(name:"MSKB", value:"980436");
  script_xref(name:"IAVA", value:"2010-A-0120-S");
  script_xref(name:"IAVB", value:"2010-B-0045-S");
  script_xref(name:"IAVB", value:"2008-B-0075-S");

  script_name(english:"Microsoft IIS 7.0 Vulnerabilities (uncredentialed) (PCI/DSS)");
  script_summary(english: "Checks the web server banner.");

  script_set_attribute(attribute:"synopsis", value:
"The remote web server may allow remote code execution.");
  script_set_attribute(attribute:"description", value:
"According to the HTTP server banner the remote server is
IIS 7.0. The server may be vulnerable to a number of
vulnerabilities including a couple of remote code execution
vulnerabilities.");
  script_set_attribute(attribute:"solution", value:
"Ensure the appropriate patches have been applied.");
  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:F/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:F/RL:O/RC:C");
  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:"exploit_framework_canvas", value:"true");
  script_set_attribute(attribute:"canvas_package", value:'CANVAS');
  script_cwe_id(189, 310);

  script_set_attribute(attribute:"plugin_publication_date", value:"2018/04/03");

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

  script_category(ACT_GATHER_INFO);
  script_copyright(english:"This script is Copyright (C) 2018-2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
  script_family(english:"Web Servers");

  script_dependencies("http_version.nasl");
  script_require_keys("www/iis", "Settings/ParanoidReport", "Settings/PCI_DSS");
  script_require_ports("Services/www", 80);
  exit(0);
}

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

if (!get_kb_item("Settings/PCI_DSS"))
{
  audit(AUDIT_PCI);
}

if (report_paranoia < 2)
{
  audit(AUDIT_PARANOID);
}

get_kb_item_or_exit("www/iis");

app = "Microsoft IIS";
port = get_http_port(default:80);
banner = get_http_banner(port:port);
if (empty_or_null(banner) || "Server: Microsoft-IIS" >!< banner)
{
  audit(AUDIT_NOT_DETECT, app, port);
}

if ("Server: Microsoft-IIS/7.0" >!< banner)
{
  audit(AUDIT_LISTEN_NOT_VULN, app, port);
}

security_report_v4(severity:SECURITY_HOLE, port:port);
exit(0);

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

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

Go back to menu.

How to Run


Here is how to run the Microsoft IIS 7.0 Vulnerabilities (uncredentialed) (PCI/DSS) 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 Web Servers plugin family.
  6. On the right side table select Microsoft IIS 7.0 Vulnerabilities (uncredentialed) (PCI/DSS) plugin ID 108808.
  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 iis_7_pci.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

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

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

/opt/nessus/bin/nasl -T - iis_7_pci.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 iis_7_pci.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: MSKB | Microsoft Knowledge Base: MSFT | Microsoft Security Bulletin:
  • MS08-062, MS10-040, MS10-049, MS10-065
IAVA | Information Assurance Vulnerability Alert:
  • 2010-A-0120-S
IAVB | Information Assurance Vulnerability Bulletin:
  • 2008-B-0075-S, 2010-B-0045-S
CWE | Common Weakness Enumeration:
  • CWE-189 (Category) Numeric Errors
  • CWE-310 (Category) Cryptographic Issues
See also: Similar and related Nessus plugins:
  • 10492 - MS00-006: Microsoft IIS IDA/IDQ Multiple Vulnerabilities (uncredentialed check)
  • 10116 - Microsoft IIS ISM.DLL HTR Request Remote Overflow
  • 10671 - MS01-026 / MS01-044: Microsoft IIS Remote Command Execution (uncredentialed check)
  • 10932 - Microsoft IIS .HTR ISAPI Filter Enabled
  • 11028 - Microsoft IIS .HTR Filter Multiple Overflows (MS02-028)
  • 31648 - Microsoft IIS webhits.dll Hit-Highlighting Authentication Bypass
  • 10685 - Microsoft IIS ISAPI Filter Multiple Vulnerabilities (MS01-044)
  • 10759 - Web Server HTTP Header Internal IP Disclosure
  • 11412 - Microsoft IIS WebDAV ntdll.dll Remote Overflow (MS03-007)
  • 51956 - MS11-004: Vulnerability in Internet Information Services (IIS) FTP Service Could Allow Remote Code Execution (2489256) (uncredentialed check)
  • 59817 - Microsoft IIS 6.0 PHP NTFS Stream Authentication Bypass
  • 64589 - Microsoft ASP.NET MS-DOS Device Name DoS (PCI-DSS check)
  • 64588 - Microsoft ASP.NET MS-DOS Device Name DoS
  • 153474 - Microsoft Open Management Infrastructure < 1.6.8.1 Multiple Vulnerabilities
  • 11923 - Microsoft FrontPage Server Extensions (fp30reg.dll) Debug Function Remote Overflow (MS03-051 / 813360)
  • 10497 - Microsoft FrontPage Extensions MS-DOS Device Request DoS
  • 10405 - Microsoft IIS FrontPage Server Extensions (FPSE) shtml.exe Path Disclosure
  • 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)
  • 10357 - Microsoft IIS MDAC RDS (msadcs.dll) Arbitrary Remote Command Execution
  • 11161 - Microsoft Data Access Components RDS Data Stub Remote Overflow
  • 11664 - Microsoft Media Services ISAPI nsiislog.dll Multiple Overflows
  • 153486 - Microsoft Open Management Infrastructure RCE (CVE-2021-38647)
  • 38808 - Microsoft IIS WebDAV Unicode Request Directory Security Bypass
  • 11370 - Microsoft IIS fpcount.exe CGI Remote Overflow
  • 40825 - MS09-053: Microsoft IIS FTPd NLST Command Remote Buffer Overflow (975191) (uncredentialed check)
  • 10657 - MS01-023: Microsoft IIS 5.0 Malformed HTTP Printer Request Header Remote Buffer Overflow (953155) (uncredentialed check)
  • 10564 - Microsoft IIS Phone Book Service /pbserver/pbserver.dll Remote Overflow
  • 34407 - MS08-062: Microsoft IIS IPP Service Unspecified Remote Overflow (953155)
  • 39342 - MS09-020: Vulnerabilities in Internet Information Services (IIS) Could Allow Elevation of Privilege (970483)
  • 49223 - MS10-065: Vulnerabilities in Microsoft Internet Information Services (IIS) Could Allow Remote Code Execution (2267960)
  • 51904 - MS11-004: Vulnerability in Internet Information Services (IIS) FTP Service Could Allow Remote Code Execution (2489256)
  • 62905 - MS12-073: Vulnerabilities in Microsoft Internet Information Services (IIS) Could Allow Information Disclosure (2733829)
  • 79135 - MS14-076: Vulnerability in Internet Information Services (IIS) Could Allow Security Feature Bypass (2982998)
  • 108811 - Windows Server 2008 Critical RCE Vulnerabilities (uncredentialed) (PCI/DSS)

Version


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

Go back to menu.