Lucene search

K
nessusThis script is Copyright (C) 2023 and is owned by Tenable, Inc. or an Affiliate thereof.TENABLE_OT_MITSUBISHI_CVE-2021-29998.NASL
HistoryDec 18, 2023 - 12:00 a.m.

Mitsubishi MELSEC-Q Series C Controller Module Denial of Service and Malicious Code Execution (CVE-2021-29998)

2023-12-1800:00:00
This script is Copyright (C) 2023 and is owned by Tenable, Inc. or an Affiliate thereof.
www.tenable.com
7
mitsubishi
melsec-q
controller
denial of service
malicious code execution
vxworks
dhcp
wind river
vulnerability
tenable.ot
cve-2021-29998

7.5 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

7.6 High

AI Score

Confidence

High

0.006 Low

EPSS

Percentile

78.2%

Denial of Service and Malicious Code Execution Vulnerability exists in DHCP client function of VxWorks version 6.4, a real-time OS distributed by Wind River. A remote attacker may cause a denial of service (DoS) condition or execute malicious code on a target product by sending specially crafted packets.

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

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

include('compat.inc');

if (description)
{
  script_id(501838);
  script_version("1.1");
  script_set_attribute(attribute:"plugin_modification_date", value:"2023/12/19");

  script_cve_id("CVE-2021-29998");

  script_name(english:"Mitsubishi MELSEC-Q Series C Controller Module Denial of Service and Malicious Code Execution (CVE-2021-29998)");

  script_set_attribute(attribute:"synopsis", value:
"The remote OT asset is affected by a vulnerability.");
  script_set_attribute(attribute:"description", value:
"Denial of Service and Malicious Code Execution Vulnerability exists 
in DHCP client function of VxWorks version 6.4, a real-time OS 
distributed by Wind River. A remote attacker may cause a denial 
of service (DoS) condition or execute malicious code on a target 
product by sending specially crafted packets.  

This plugin only works with Tenable.ot. Please visit https://www.tenable.com/products/tenable-ot for more information.");
  # https://www.mitsubishielectric.com/en/psirt/vulnerability/pdf/2022-001_en.pdf
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?abfa4aa5");
  # https://www.cisa.gov/news-events/ics-advisories/icsa-22-102-02
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?f4d259f4");
  script_set_attribute(attribute:"solution", value:
"Mitsubishi Electric recommends the following:

- Update to 24032 (first 5 digits of serial number) or later. Contact a Mitsubishi Electric representative for more
information.
- Disable the DHCP function in “Security Settings” of the C language controller settings/monitor tool if the product is
in “Extended mode” and the DHCP client function is not required.
- Update DHCP server to the latest version.
- Use a firewall or virtual private network (VPN), etc. to prevent unauthorized access when Internet access is required.
- Use within a trusted LAN that is properly divided by routers and firewalls.

For more information see Mitsubishi Electric’s advisory 2022-001");
  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:U/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:U/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2021-29998");

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

  script_set_attribute(attribute:"vuln_publication_date", value:"2021/04/13");
  script_set_attribute(attribute:"patch_publication_date", value:"2021/04/13");
  script_set_attribute(attribute:"plugin_publication_date", value:"2023/12/18");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:mitsubishielectric:q12dccpu-v_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) 2023 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:q12dccpu-v_firmware" :
        {"versionEndIncluding" : "24031", "family" : "MELSECQ"}
};

tenable_ot::cve::compare_and_report(asset:asset, cpes:vuln_cpes, severity:SECURITY_HOLE);
VendorProductVersionCPE
mitsubishielectricq12dccpu-v_firmwarecpe:/o:mitsubishielectric:q12dccpu-v_firmware

7.5 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

7.6 High

AI Score

Confidence

High

0.006 Low

EPSS

Percentile

78.2%

Related for TENABLE_OT_MITSUBISHI_CVE-2021-29998.NASL