A specially crafted username can bypass SIEM ESM authentication (password is not validated) if the ESM is configured to use Active Directory or LDAP authentication sources. This can result in the attacker gaining NGCP (master user) access to the ESM.
# SPDX-FileCopyrightText: 2015 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-or-later
CPE = "cpe:/a:mcafee:enterprise_security_manager";
if (description)
{
script_oid("1.3.6.1.4.1.25623.1.0.105479");
script_cve_id("CVE-2015-8024");
script_version("2023-04-18T10:19:20+0000");
script_tag(name:"cvss_base", value:"9.3");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:C/I:C/A:C");
script_name("McAfee Enterprise Security Manager Authentication Bypass Vulnerability");
script_xref(name:"URL", value:"https://kc.mcafee.com/corporate/index?page=content&id=SB10137");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"McAfee Enterprise Security Manager (ESM), Enterprise Security Manager/Log Manager (ESMLM), and Enterprise Security Manager/Receiver (ESMREC) 9.3.x before 9.3.2MR19, 9.4.x before 9.4.2MR9, and 9.5.x before 9.5.0MR8, when configured to use Active Directory or LDAP authentication sources, allow remote attackers to bypass authentication.");
script_tag(name:"solution", value:"Update to SIEM ESM 9.5.0MR8 or 9.4.2MR9");
script_tag(name:"summary", value:"A specially crafted username can bypass SIEM ESM authentication (password is not validated) if the ESM is configured to use Active Directory or LDAP authentication sources. This can result in the attacker gaining NGCP (master user) access to the ESM.");
script_tag(name:"affected", value:"SIEM ESM 9.5.0MR7, 9.4.2MR8, 9.3.2MR18 and earlier releases. SIEM versions prior to 9.3.0 are unaffected.");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"package");
script_tag(name:"last_modification", value:"2023-04-18 10:19:20 +0000 (Tue, 18 Apr 2023)");
script_tag(name:"creation_date", value:"2015-12-04 14:28:09 +0100 (Fri, 04 Dec 2015)");
script_category(ACT_GATHER_INFO);
script_family("General");
script_copyright("Copyright (C) 2015 Greenbone AG");
script_dependencies("gb_mcafee_esm_version.nasl");
script_mandatory_keys("mcafee/esm/version", "mcafee/esm/mr");
exit(0);
}
include("host_details.inc");
include("version_func.inc");
if( ! version = get_app_version( cpe:CPE ) ) exit( 0 );
v = split( version, sep:'mr', keep:FALSE ); # Example: 9.5.0mr7
if( isnull( v[0] ) || isnull( v[1] ) ) exit( 0 );
version = v[0] + '.' + v[1]; # Example: 9.5.0.7
if( version_is_less( version:v[0], test_version:"9.3.0" ) ) exit( 99 );
if( version_is_less( version:version, test_version:"9.3.2.19" ) ) fix = '9.3.2MR19';
else if( version_in_range( version:version, test_version:"9.4.2", test_version2:"9.4.2.8" ) ) fix = '9.4.2MR9';
else if( version_in_range( version:version, test_version:"9.5.0", test_version2:"9.5.0.7" ) ) fix = '9.5.0MR8';
if( fix )
{
report = 'Installed version: ' + v[0] + 'MR' + v[1] + '\n' +
'Fixed version: ' + fix;
security_message( port:0, data:report );
exit( 0 );
}
exit( 99 );