Lucene search

K
nessusThis script is Copyright (C) 2022-2024 and is owned by Tenable, Inc. or an Affiliate thereof.TENABLE_OT_MITSUBISHI_CVE-2020-13238.NASL
HistoryFeb 07, 2022 - 12:00 a.m.

Mitsubishi Electric MELSEC iQ-R Series Uncontrolled Resource Consumption (CVE-2020-13238)

2022-02-0700:00:00
This script is Copyright (C) 2022-2024 and is owned by Tenable, Inc. or an Affiliate thereof.
www.tenable.com
9

7.8 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:N/I:N/A:C

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

0.003 Low

EPSS

Percentile

70.2%

Mitsubishi MELSEC iQ-R Series PLCs with firmware 33 allow attackers to halt the industrial process by sending an unauthenticated crafted packet over the network, because this denial of service attack consumes excessive CPU time.
After halting, physical access to the PLC is required in order to restore production.

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

#%NASL_MIN_LEVEL 70300
##
# (C) Tenable Network Security, Inc.
##

include('deprecated_nasl_level.inc');
include('compat.inc');

if (description)
{
  script_id(500487);
  script_version("1.8");
  script_set_attribute(attribute:"plugin_modification_date", value:"2024/03/04");

  script_cve_id("CVE-2020-13238");

  script_name(english:"Mitsubishi Electric MELSEC iQ-R Series Uncontrolled Resource Consumption (CVE-2020-13238)");

  script_set_attribute(attribute:"synopsis", value:
"The remote OT asset is affected by a vulnerability.");
  script_set_attribute(attribute:"description", value:
"Mitsubishi MELSEC iQ-R Series PLCs with firmware 33 allow attackers to halt the industrial process by sending an
unauthenticated crafted packet over the network, because this denial of service attack consumes excessive CPU time.
After halting, physical access to the PLC is required in order to restore production.  

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:"http://jvn.jp/vu/JVNVU97662844/index.html");
  # https://www.mitsubishielectric.com/en/psirt/vulnerability/pdf/2020-001_en.pdf
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?34d7c562");
  script_set_attribute(attribute:"see_also", value:"https://www.us-cert.gov/ics/advisories/icsa-20-161-02");
  script_set_attribute(attribute:"solution", value:
"The following text was originally created by the Cybersecurity and Infrastructure Security Agency (CISA). The original
can be found at CISA.gov.

Mitsubishi Electric has fixed the following versions to discard packets when specially crafted packets are received:

- R00/01/02CPU: Firmware Versions 8 or later
- R04/08/16/32/120CPU, R04/08/16/32/120ENCPU: Firmware Versions 40 or later
- R08/16/32/120SFCPU: Firmware Versions 21 or later
- R08/16/32/120PCPU: Firmware Versions 25 or later
- R08/16/32/120PSFCPU: Firmware Versions 06 or later
- RJ71EN71: Firmware Versions 50 or later

Mitsubishi Electric recommends users of the affected devices take the following measures for cyber-attacks such as DoS
attack or unauthorized access from untrusted networks or hosts.

- Connection to untrusted networks or hosts: Check whether the modules mounted in the equipment used are connected to
untrusted networks or hosts.
- Firewalls: If the modules are connected to untrusted networks or hosts, check whether measures such as firewalls are
properly configured.

Please see the publication from Mitsubishi Electric for more information.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2020-13238");

  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");
  script_cwe_id(400);

  script_set_attribute(attribute:"vuln_publication_date", value:"2020/06/10");
  script_set_attribute(attribute:"patch_publication_date", value:"2020/06/10");
  script_set_attribute(attribute:"plugin_publication_date", value:"2022/02/07");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:mitsubishielectric:melsec_iq-r00cpu_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:mitsubishielectric:melsec_iq-r01cpu_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:mitsubishielectric:melsec_iq-r02cpu_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:mitsubishielectric:melsec_iq-r04cpu_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:mitsubishielectric:melsec_iq-r08cpu_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:mitsubishielectric:melsec_iq-r16cpu_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:mitsubishielectric:melsec_iq-r32cpu_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:mitsubishielectric:melsec_iq-r120cpu_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:mitsubishielectric:melsec_iq-r08fcpu_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:mitsubishielectric:melsec_iq-r16fcpu_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:mitsubishielectric:melsec_iq-r32fcpu_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:mitsubishielectric:melsec_iq-r120fcpu_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:mitsubishielectric:melsec_iq-r08pcpu_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:mitsubishielectric:melsec_iq-r16pcpu_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:mitsubishielectric:melsec_iq-r32pcpu_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:mitsubishielectric:melsec_iq-r120pcpu_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:mitsubishielectric:melsec_iq-r08sfcpu_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:mitsubishielectric:melsec_iq-r16sfcpu_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:mitsubishielectric:melsec_iq-r32sfcpu_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:mitsubishielectric:melsec_iq-r120sfcpu_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:mitsubishielectric:melsec_iq-rj71en71_firmware");
  script_set_attribute(attribute:"generated_plugin", value:"former");
  script_end_attributes();

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

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

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

  exit(0);
}


include('tenable_ot_cve_funcs.inc');

get_kb_item_or_exit('Tenable.ot/Mitsubishi');

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

var vuln_cpes = {
    "cpe:/o:mitsubishielectric:melsec_iq-r00cpu_firmware" :
        {"versionEndIncluding" : "7", "family" : "MELSECiQR"},
    "cpe:/o:mitsubishielectric:melsec_iq-r01cpu_firmware" :
        {"versionEndIncluding" : "7", "family" : "MELSECiQR"},
    "cpe:/o:mitsubishielectric:melsec_iq-r02cpu_firmware" :
        {"versionEndIncluding" : "7", "family" : "MELSECiQR"},
    "cpe:/o:mitsubishielectric:melsec_iq-r04cpu_firmware" :
        {"versionEndIncluding" : "39", "family" : "MELSECiQR"},
    "cpe:/o:mitsubishielectric:melsec_iq-r08cpu_firmware" :
        {"versionEndIncluding" : "39", "family" : "MELSECiQR"},
    "cpe:/o:mitsubishielectric:melsec_iq-r16cpu_firmware" :
        {"versionEndIncluding" : "39", "family" : "MELSECiQR"},
    "cpe:/o:mitsubishielectric:melsec_iq-r32cpu_firmware" :
        {"versionEndIncluding" : "39", "family" : "MELSECiQR"},
    "cpe:/o:mitsubishielectric:melsec_iq-r120cpu_firmware" :
        {"versionEndIncluding" : "39", "family" : "MELSECiQR"},
    "cpe:/o:mitsubishielectric:melsec_iq-r08fcpu_firmware" :
        {"versionEndIncluding" : "20", "family" : "MELSECiQR"},
    "cpe:/o:mitsubishielectric:melsec_iq-r16fcpu_firmware" :
        {"versionEndIncluding" : "20", "family" : "MELSECiQR"},
    "cpe:/o:mitsubishielectric:melsec_iq-r32fcpu_firmware" :
        {"versionEndIncluding" : "20", "family" : "MELSECiQR"},
    "cpe:/o:mitsubishielectric:melsec_iq-r120fcpu_firmware" :
        {"versionEndIncluding" : "20", "family" : "MELSECiQR"},
    "cpe:/o:mitsubishielectric:melsec_iq-r08pcpu_firmware" :
        {"versionEndIncluding" : "24", "family" : "MELSECiQR"},
    "cpe:/o:mitsubishielectric:melsec_iq-r16pcpu_firmware" :
        {"versionEndIncluding" : "24", "family" : "MELSECiQR"},
    "cpe:/o:mitsubishielectric:melsec_iq-r32pcpu_firmware" :
        {"versionEndIncluding" : "24", "family" : "MELSECiQR"},
    "cpe:/o:mitsubishielectric:melsec_iq-r120pcpu_firmware" :
        {"versionEndIncluding" : "24", "family" : "MELSECiQR"},
    "cpe:/o:mitsubishielectric:melsec_iq-r08sfcpu_firmware" :
        {"versionEndIncluding" : "05", "family" : "MELSECiQR"},
    "cpe:/o:mitsubishielectric:melsec_iq-r16sfcpu_firmware" :
        {"versionEndIncluding" : "05", "family" : "MELSECiQR"},
    "cpe:/o:mitsubishielectric:melsec_iq-r32sfcpu_firmware" :
        {"versionEndIncluding" : "05", "family" : "MELSECiQR"},
    "cpe:/o:mitsubishielectric:melsec_iq-r120sfcpu_firmware" :
        {"versionEndIncluding" : "05", "family" : "MELSECiQR"},
    "cpe:/o:mitsubishielectric:melsec_iq-rj71en71_firmware" :
        {"versionEndIncluding" : "49", "family" : "MELSECiQRCP"}
};

tenable_ot::cve::compare_and_report(asset:asset, cpes:vuln_cpes, severity:SECURITY_HOLE);
VendorProductVersionCPE
mitsubishielectricmelsec_iq-r00cpu_firmwarecpe:/o:mitsubishielectric:melsec_iq-r00cpu_firmware
mitsubishielectricmelsec_iq-r01cpu_firmwarecpe:/o:mitsubishielectric:melsec_iq-r01cpu_firmware
mitsubishielectricmelsec_iq-r02cpu_firmwarecpe:/o:mitsubishielectric:melsec_iq-r02cpu_firmware
mitsubishielectricmelsec_iq-r04cpu_firmwarecpe:/o:mitsubishielectric:melsec_iq-r04cpu_firmware
mitsubishielectricmelsec_iq-r08cpu_firmwarecpe:/o:mitsubishielectric:melsec_iq-r08cpu_firmware
mitsubishielectricmelsec_iq-r16cpu_firmwarecpe:/o:mitsubishielectric:melsec_iq-r16cpu_firmware
mitsubishielectricmelsec_iq-r32cpu_firmwarecpe:/o:mitsubishielectric:melsec_iq-r32cpu_firmware
mitsubishielectricmelsec_iq-r120cpu_firmwarecpe:/o:mitsubishielectric:melsec_iq-r120cpu_firmware
mitsubishielectricmelsec_iq-r08fcpu_firmwarecpe:/o:mitsubishielectric:melsec_iq-r08fcpu_firmware
mitsubishielectricmelsec_iq-r16fcpu_firmwarecpe:/o:mitsubishielectric:melsec_iq-r16fcpu_firmware
Rows per page:
1-10 of 211

7.8 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:N/I:N/A:C

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

0.003 Low

EPSS

Percentile

70.2%

Related for TENABLE_OT_MITSUBISHI_CVE-2020-13238.NASL