Lucene search

K
nessusThis script is Copyright (C) 2023-2024 and is owned by Tenable, Inc. or an Affiliate thereof.TENABLE_OT_SIEMENS_CVE-2019-12815.NASL
HistoryMay 02, 2023 - 12:00 a.m.

Siemens SIMATIC CP 1543-1 Improper Handling of Exceptional Conditions (CVE-2019-12815)

2023-05-0200:00:00
This script is Copyright (C) 2023-2024 and is owned by Tenable, Inc. or an Affiliate thereof.
www.tenable.com
26
siemens
simatic cp 1543-1
firmware
exceptional conditions
cve-2019-12815
remote code execution
information disclosure
vulnerability
proftpd
tenable.ot

AI Score

9.8

Confidence

High

EPSS

0.971

Percentile

99.8%

An arbitrary file copy vulnerability in mod_copy in ProFTPD up to 1.3.5b allows for remote code execution and information disclosure without authentication, a related issue to CVE-2015-3306.

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(501092);
  script_version("1.4");
  script_set_attribute(attribute:"plugin_modification_date", value:"2024/01/04");

  script_cve_id("CVE-2019-12815");
  script_xref(name:"FEDORA", value:"FEDORA-2019-82b0f48691");
  script_xref(name:"FEDORA", value:"FEDORA-2019-e9187610c3");
  script_xref(name:"DSA", value:"DSA-4491");
  script_xref(name:"SuSE", value:"openSUSE-SU-2019:1836");
  script_xref(name:"SuSE", value:"openSUSE-SU-2019:1870");
  script_xref(name:"SuSE", value:"openSUSE-SU-2020:0031");
  script_xref(name:"GLSA", value:"GLSA-201908-16");

  script_name(english:"Siemens SIMATIC CP 1543-1 Improper Handling of Exceptional Conditions (CVE-2019-12815)");

  script_set_attribute(attribute:"synopsis", value:
"The remote OT asset is affected by a vulnerability.");
  script_set_attribute(attribute:"description", value:
"An arbitrary file copy vulnerability in mod_copy in ProFTPD up to
1.3.5b allows for remote code execution and information disclosure
without authentication, a related issue to CVE-2015-3306.

This plugin only works with Tenable.ot.
Please visit https://www.tenable.com/products/tenable-ot for more information.");
  script_set_attribute(attribute:"see_also", value:"https://tbspace.de/cve201912815proftpd.html");
  script_set_attribute(attribute:"see_also", value:"http://bugs.proftpd.org/show_bug.cgi?id=4372");
  script_set_attribute(attribute:"see_also", value:"https://github.com/proftpd/proftpd/pull/816");
  # https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XM5FPBAGSIKV6YJZEPM6GPGJO5JFT7XU/
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?17d998f5");
  # https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OJDQ3XUYWO42TJBO53NUWDZRA35QMVEI/
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?a36f9a8e");
  script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/2019/Aug/3");
  script_set_attribute(attribute:"see_also", value:"https://www.debian.org/security/2019/dsa-4491");
  script_set_attribute(attribute:"see_also", value:"https://lists.debian.org/debian-lts-announce/2019/08/msg00006.html");
  script_set_attribute(attribute:"see_also", value:"https://security.gentoo.org/glsa/201908-16");
  script_set_attribute(attribute:"see_also", value:"https://cert-portal.siemens.com/productcert/pdf/ssa-940889.pdf");
  script_set_attribute(attribute:"solution", value:
"Refer to the vendor advisory.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
  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:N/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-2019-12815");

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

  script_set_attribute(attribute:"vuln_publication_date", value:"2019/07/19");
  script_set_attribute(attribute:"patch_publication_date", value:"2019/07/19");
  script_set_attribute(attribute:"plugin_publication_date", value:"2023/05/02");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:simatic_cp_1543-1_firmware");
  script_set_attribute(attribute:"generated_plugin", value:"current");
  script_end_attributes();

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

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

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

  exit(0);
}


include('tenable_ot_cve_funcs.inc');

get_kb_item_or_exit('Tenable.ot/Siemens');

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

var vuln_cpes = {
    "cpe:/o:siemens:simatic_cp_1543-1_firmware" :
        {"versionEndExcluding" : "2.2", "versionStartIncluding" : "2.0", "family" : "S71500"}
};

tenable_ot::cve::compare_and_report(asset:asset, cpes:vuln_cpes, severity:SECURITY_HOLE);
VendorProductVersionCPE
siemenssimatic_cp_1543-1_firmwarecpe:/o:siemens:simatic_cp_1543-1_firmware