Lucene search
K

Microsoft System Center Configuration Manager Management Point Detection

🗓️ 01 Feb 2011 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 22 Views

The remote service is a Management Point for a Microsoft System Center Configuration Manager server used by client agents to communicate with the Configuration Manager

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

include("compat.inc");

if (description)
{
  script_id(51836);
  script_version("1.9");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/10/10");

  script_name(english:"Microsoft System Center Configuration Manager Management Point Detection");
  script_summary(english:"Tries to detect a Configuration Manager management point");

  script_set_attribute(attribute:"synopsis", value:
"A systems management service is listening on this port.");
  script_set_attribute(attribute:"description", value:
"The remote service is a Management Point for a Microsoft System
Center Configuration Manager server.  It is used by client agents to
communicate with the Configuration Manager.");
  script_set_attribute(attribute:"see_also", value:
"https://en.wikipedia.org/wiki/System_Center_Configuration_Manager");
  script_set_attribute(attribute:"solution", value:"n/a");
  script_set_attribute(attribute:"risk_factor", value:"None");
  script_set_attribute(attribute:"plugin_publication_date", value:"2011/02/01");
  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:system_center_configuration_manager");
  script_set_attribute(attribute:"asset_inventory", value:"True");
  script_set_attribute(attribute:"asset_inventory_category", value:"software_enumeration");
  script_end_attributes();

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

  script_dependencies("http_version.nasl");
  script_exclude_keys("Settings/disable_cgi_scanning");
  script_require_keys("www/iis");
  script_require_ports("Services/www", 80);

  exit(0);
}


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

port = get_http_port(default:80, embedded:0);

banner = get_http_banner(port:port, exit_on_fail:TRUE);
if (!egrep(string:banner, pattern:"^Server:.*Microsoft-IIS"))
  exit(0, "The web server on port "+port+" is not IIS.");


# Get information about the management point.
#
# The response should look like the following:
#  <MPList><MP Name="MSSC1" FQDN="MSSC1.ACMEINCLAB.COM" SiteCode="HVL"><Version>6487</Version><Capabilities SchemaVersion="1.0"/></MP></MPList>
item = '/SMS_MP/.sms_aut?MPLIST1';
pat = '<MP .*FQDN=\"(.+)\".*SiteCode=\"(.{3})\".*<Version>(.+)</Version>.*</MP>';

r = http_send_recv3(method:'GET', item:item, port:port, exit_on_fail:TRUE);
if (
  r[0] !~ "^HTTP/1\.[01][ \t]+200[ \t]+" || 
  !r[2] ||
  '<MP' >!< r[2] ||
  !egrep(pattern:pat, string:r[2])
) exit(0, 'The web server does not respond as expected to a ConfigMgr management point query.');

mps_info = NULL;
while ((i = stridx(r[2], '<MP ')) > 0)
{
  j = stridx(r[2], '</MP>');
  if (j > 0) mp = substr(r[2], i, j - 1) + '</MP>';
  else mp = '<MP '; # in case of not getting the terminating tag, avoid infinite loop.
  
  match = eregmatch(string:mp, pattern:pat);
  if (match)
  {
    mps_info += '\n  Site code                : ' + match[2] + 
                '\n  Management point name    : ' + match[1] + 
                '\n  Management point version : ' + match[3] + '\n';
                
    set_kb_item(name:"ms_sccm/site", value:match[2]);

    app = "Microsoft System Center Configuration Manager Management Point";
    version = match[3];
    path = "/";
    cpe = "cpe:/a:microsoft:system_center_configuration_manager"; 

    register_install(
      app_name : app,
      vendor : 'Microsoft',
      product : 'System Center Configuration Manager',
      version  : version,
      path     : path,
      port     : port,
      webapp   : true,
      cpe      : cpe
    );
  }           
  r[2] -= mp;

}   

if (!isnull(mps_info))
{
  if (report_verbosity > 0)
  {
    report = '\nNessus was able to extract the following information :\n' + mps_info;
    security_note(port:port, extra:report);
  }
  else security_note(port);
  exit(0);
}
else exit(1, "The web server listening on port "+port+" returned an unexpected response to a ConfigMgr management point query.");

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

10 Oct 2022 00:00Current
5.5Medium risk
Vulners AI Score5.5
22