Lucene search

K
nessusThis script is Copyright (C) 2021 and is owned by Tenable, Inc. or an Affiliate thereof.VXWORKS_CVE-2021-29999.NASL
HistoryOct 27, 2021 - 12:00 a.m.

Wind River VxWorks <= 6.8 RCE

2021-10-2700:00:00
This script is Copyright (C) 2021 and is owned by Tenable, Inc. or an Affiliate thereof.
www.tenable.com
41

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

0.003 Low

EPSS

Percentile

65.2%

According to its self-reported version, the remote device is Wind River VxWorks and it’s affected by a remote code execution vulnerability. An issue was discovered in Wind River VxWorks through 6.8. There is a possible stack overflow in dhcp server.

Note that Nessus has not tested for this issue but has instead relied only on the OS version.

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

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

if (description)
{
  script_id(154458);
  script_version("1.3");
  script_set_attribute(attribute:"plugin_modification_date", value:"2021/10/29");

  script_cve_id("CVE-2021-29999");
  script_xref(name:"IAVA", value:"2021-A-0504");

  script_name(english:"Wind River VxWorks <= 6.8 RCE");

  script_set_attribute(attribute:"synopsis", value:
"The remote VxWorks device is potentially affected by a remote code execution vulnerability.");
  script_set_attribute(attribute:"description", value:
"According to its self-reported version, the remote device is Wind River VxWorks and it's affected by a remote code
execution vulnerability. An issue was discovered in Wind River VxWorks through 6.8. There is a possible stack overflow
in dhcp server.

Note that Nessus has not tested for this issue but has instead relied only on the OS version.");
  # https://support2.windriver.com/index.php?page=cve&on=view&id=CVE-2021-29999
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?6e16c9ca");
  script_set_attribute(attribute:"solution", value:
"Contact the device vendor to obtain the appropriate update.");
  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-29999");

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

  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:"2021/10/27");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:windriver:vxworks");
  script_set_attribute(attribute:"stig_severity", value:"I");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Misc.");

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

  script_dependencies("windriver_vxworks_rtos_detect.nbin");
  script_require_keys("Host/VxWorks");

  exit(0);
}

get_kb_item_or_exit('Host/VxWorks');
var version = get_kb_item('Host/VxWorks/version');
if (empty_or_null(version))
  version = 'unknown';

var vuln = FALSE;

if (version != 'unknown')
{
  vuln = ver_compare(ver:version, fix:'6.8', strict:FALSE) <= 0;
}
else if (report_paranoia >= 2)
{
  # if we cannot tell the version but the check is paranoid, report
  vuln = TRUE;
}

if (vuln)
{
  var report =
    '\n    Version       : ' + version +
    '\n    Fixed Version : See vendor advisory' +
    '\n';

  security_report_v4(port:0, severity:SECURITY_HOLE, extra:report);
}
else if (version == 'unknown') audit(AUDIT_POTENTIAL_VULN, 'VxWorks');
else audit(AUDIT_OS_RELEASE_NOT, 'VxWorks', version);
VendorProductVersionCPE
windrivervxworkscpe:/o:windriver:vxworks

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

0.003 Low

EPSS

Percentile

65.2%

Related for VXWORKS_CVE-2021-29999.NASL