Lucene search

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

Schneider Electric Struxureware Building Operations Improper Access Control (CVE-2016-2278)

2023-03-1300:00:00
This script is Copyright (C) 2023 and is owned by Tenable, Inc. or an Affiliate thereof.
www.tenable.com
21
schneider electric
struxureware building operations
access control
cve-2016-2278
vulnerability
remote
arbitrary os commands

EPSS

0.022

Percentile

89.4%

Schneider Electric Struxureware Building Operations Automation Server AS 1.7 and earlier and AS-P 1.7 and earlier allows remote authenticated administrators to execute arbitrary OS commands by defeating an msh (aka Minimal Shell) protection mechanism.

This plugin only works with Tenable.ot.
Please visit https://www.tenable.com/products/tenable-ot for more information.

#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(500882);
  script_version("1.3");
  script_set_attribute(attribute:"plugin_modification_date", value:"2023/08/30");

  script_cve_id("CVE-2016-2278");
  script_xref(name:"EDB-ID", value:"39522");

  script_name(english:"Schneider Electric Struxureware Building Operations Improper Access Control (CVE-2016-2278)");

  script_set_attribute(attribute:"synopsis", value:
"The remote OT asset is affected by a vulnerability.");
  script_set_attribute(attribute:"description", value:
"Schneider Electric Struxureware Building Operations Automation Server
AS 1.7 and earlier and AS-P 1.7 and earlier allows remote
authenticated administrators to execute arbitrary OS commands by
defeating an msh (aka Minimal Shell) protection mechanism.

This plugin only works with Tenable.ot.
Please visit https://www.tenable.com/products/tenable-ot for more information.");
  # http://download.schneider-electric.com/files?p_Doc_Ref=SEVD-2016-025-01
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?e80bcaae");
  script_set_attribute(attribute:"see_also", value:"https://ics-cert.us-cert.gov/advisories/ICSA-16-061-01");
  script_set_attribute(attribute:"see_also", value:"https://www.exploit-db.com/exploits/39522/");
  script_set_attribute(attribute:"solution", value:
"Refer to the vendor advisory.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2016-2278");

  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_cwe_id(284);

  script_set_attribute(attribute:"vuln_publication_date", value:"2016/03/02");
  script_set_attribute(attribute:"patch_publication_date", value:"2016/03/02");
  script_set_attribute(attribute:"plugin_publication_date", value:"2023/03/13");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:schneider-electric:struxureware_building_operations_automation_server_as-p_firmware:1.7");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:schneider-electric:struxureware_building_operations_automation_server_as_firmware");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Tenable.ot");

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

  script_dependencies("tenable_ot_api_integration.nasl");
  script_require_keys("Tenable.ot/Schneider");

  exit(0);
}


include('tenable_ot_cve_funcs.inc');

get_kb_item_or_exit('Tenable.ot/Schneider');

var asset = tenable_ot::assets::get(vendor:'Schneider');

var vuln_cpes = {
    "cpe:/o:schneider-electric:struxureware_building_operations_automation_server_as_firmware" :
        {"versionEndIncluding" : "1.7", "family" : "SmartxServer"},
    "cpe:/o:schneider-electric:struxureware_building_operations_automation_server_as-p_firmware:1.7" :
        {"versionEndIncluding" : "1.7", "versionStartIncluding" : "1.7", "family" : "SmartxASPController"}
};

tenable_ot::cve::compare_and_report(asset:asset, cpes:vuln_cpes, severity:SECURITY_HOLE);

EPSS

0.022

Percentile

89.4%

Related for TENABLE_OT_SCHNEIDER_CVE-2016-2278.NASL