Lucene search

K
nessusThis script is Copyright (C) 2023 and is owned by Tenable, Inc. or an Affiliate thereof.SMB_NT_MS23_JAN_EXCHANGE.NASL
HistoryJan 11, 2023 - 12:00 a.m.

Security Updates for Microsoft Exchange Server (Jan 2023)

2023-01-1100:00:00
This script is Copyright (C) 2023 and is owned by Tenable, Inc. or an Affiliate thereof.
www.tenable.com
46

The Microsoft Exchange Server installed on the remote host is missing a security update. It is, therefore, affected by multiple vulnerabilities as referenced in the Jan, 2023 security bulletin.

  • Microsoft Exchange Server Spoofing Vulnerability (CVE-2023-21745, CVE-2023-21762)

  • Microsoft Exchange Server Information Disclosure Vulnerability (CVE-2023-21761)

  • Microsoft Exchange Server Elevation of Privilege Vulnerability (CVE-2023-21763, CVE-2023-21764)

Note that Nessus has not tested for these issues but has instead relied only on the application’s self-reported version number.

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

include('compat.inc');

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

  script_cve_id(
    "CVE-2023-21745",
    "CVE-2023-21761",
    "CVE-2023-21762",
    "CVE-2023-21763",
    "CVE-2023-21764"
  );
  script_xref(name:"MSFT", value:"MS23-5022143");
  script_xref(name:"MSFT", value:"MS23-5022188");
  script_xref(name:"MSFT", value:"MS23-5022193");
  script_xref(name:"MSKB", value:"5022143");
  script_xref(name:"MSKB", value:"5022188");
  script_xref(name:"MSKB", value:"5022193");
  script_xref(name:"IAVA", value:"2023-A-0024-S");

  script_name(english:"Security Updates for Microsoft Exchange Server (Jan 2023)");

  script_set_attribute(attribute:"synopsis", value:
"The Microsoft Exchange Server installed on the remote host is affected by multiple vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The Microsoft Exchange Server installed on the remote host is missing a security update. It is, therefore, affected by
multiple vulnerabilities as referenced in the Jan, 2023 security bulletin.

  - Microsoft Exchange Server Spoofing Vulnerability (CVE-2023-21745, CVE-2023-21762)

  - Microsoft Exchange Server Information Disclosure Vulnerability (CVE-2023-21761)

  - Microsoft Exchange Server Elevation of Privilege Vulnerability (CVE-2023-21763, CVE-2023-21764)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
  script_set_attribute(attribute:"see_also", value:"https://support.microsoft.com/en-us/help/5022143");
  script_set_attribute(attribute:"see_also", value:"https://support.microsoft.com/en-us/help/5022188");
  script_set_attribute(attribute:"see_also", value:"https://support.microsoft.com/en-us/help/5022193");
  script_set_attribute(attribute:"solution", value:
"Microsoft has released the following security updates to address this issue:
  -KB5022143
  -KB5022188
  -KB5022193");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N");
  script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:F/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2023-21761");
  script_set_attribute(attribute:"cvss3_score_source", value:"CVE-2023-21762");

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

  script_set_attribute(attribute:"vuln_publication_date", value:"2023/01/10");
  script_set_attribute(attribute:"patch_publication_date", value:"2023/01/10");
  script_set_attribute(attribute:"plugin_publication_date", value:"2023/01/11");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:exchange_server");
  script_set_attribute(attribute:"stig_severity", value:"I");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Windows : Microsoft Bulletins");

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

  script_dependencies("ms_bulletin_checks_possible.nasl", "microsoft_exchange_installed.nbin");
  script_require_keys("SMB/MS_Bulletin_Checks/Possible");
  script_require_ports(139, 445, "Host/patch_management_checks");

  exit(0);
}

include('vcf.inc');
include('vcf_extras_microsoft.inc');

var app_info = vcf::microsoft::exchange::get_app_info();

var constraints = [
  { 'fixed_version' : '15.0.1497.45', 'product' : '2013', 'cu' : 23, 'unsupported_cu' : 22, 'kb' : '5022188' },
  { 'fixed_version' : '15.1.2507.17', 'product' : '2016', 'cu' : 23, 'unsupported_cu' : 22, 'kb' : '5022143' },
  { 'fixed_version' : '15.2.986.37', 'product' : '2019', 'cu' : 11, 'unsupported_cu' : 10, 'kb' : '5022193' },
  { 'fixed_version' : '15.2.1118.21', 'product' : '2019', 'cu' : 12, 'unsupported_cu' : 10, 'kb' : '5022193' }
];

vcf::microsoft::exchange::check_version_and_report(
  app_info:app_info,
  bulletin:'MS23-01',
  constraints:constraints,
  severity:SECURITY_HOLE
);
VendorProductVersionCPE
microsoftexchange_servercpe:/a:microsoft:exchange_server