7.9 High
AI Score
Confidence
High
9.3 High
CVSS2
Access Vector
Access Complexity
Authentication
NONE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:N/AC:M/Au:N/C:C/I:C/A:C
0.941 High
EPSS
Percentile
99.2%
This host is missing a critical security
update according to Microsoft Bulletin MS15-108.
# 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-only
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.805990");
script_version("2024-02-26T14:36:40+0000");
script_cve_id("CVE-2015-2482", "CVE-2015-6052", "CVE-2015-6055", "CVE-2015-6059");
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_tag(name:"last_modification", value:"2024-02-26 14:36:40 +0000 (Mon, 26 Feb 2024)");
script_tag(name:"creation_date", value:"2015-10-14 08:29:13 +0530 (Wed, 14 Oct 2015)");
script_name("Microsoft Windows JScript and VBScript Remote Code Execution Vulnerability (3089659)");
script_tag(name:"summary", value:"This host is missing a critical security
update according to Microsoft Bulletin MS15-108.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"Multiple flaws exist due to:
- An error in the way that the VBScript and JScript engines handle objects in
memory.
- An error in which the VBScript and JScript engines fail to use the Address
Space Layout Randomization (ASLR) security feature.
- An error when JScript or VBScript improperly discloses the contents of its
memory.");
script_tag(name:"impact", value:"Successful exploitation will allow remote
attackers to gain access to sensitive information and take control of affected
system.");
script_tag(name:"affected", value:"- Microsoft Windows Vista x32/x64 Service Pack 2 and prior
- Microsoft Windows Server 2008 x32/x64 Service Pack 2 and prior");
script_tag(name:"solution", value:"The vendor has released updates. Please see the references for more information.");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"executable_version");
script_xref(name:"URL", value:"https://support.microsoft.com/en-us/kb/3089659");
script_xref(name:"URL", value:"https://technet.microsoft.com/en-us/library/security/ms15-108.aspx");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2015 Greenbone AG");
script_family("Windows : Microsoft Bulletins");
script_dependencies("smb_reg_service_pack.nasl");
script_require_ports(139, 445);
script_mandatory_keys("SMB/WindowsVersion");
exit(0);
}
include("smb_nt.inc");
include("host_details.inc");
include("secpod_reg.inc");
include("version_func.inc");
include("secpod_smb_func.inc");
if(hotfix_check_sp(winVista:3, win2008:3) <= 0){
exit(0);
}
sysPath = smb_get_systemroot();
if(!sysPath ){
exit(0);
}
dllVer = fetch_file_version(sysPath:sysPath, file_name:"system32\Vbscript.dll");
if(!dllVer){
exit(0);
}
## Currently not supporting for Vista and Windows Server 2008 64 bit
if(hotfix_check_sp(winVista:3, win2008:3) > 0)
{
if(version_in_range(version:dllVer, test_version:"5.7", test_version2:"5.7.6002.19487"))
{
Vulnerable_range = "5.7 - 5.7.6002.19487";
VULN = TRUE ;
}
else if(version_in_range(version:dllVer, test_version:"5.7.6002.23000", test_version2:"5.7.6002.23797"))
{
Vulnerable_range = "5.7.6002.23000 - 5.7.6002.23797";
VULN = TRUE ;
}
}
if(VULN)
{
report = 'File checked: ' + sysPath + "\system32\Vbscript.dll" + '\n' +
'File version: ' + dllVer + '\n' +
'Vulnerable range: ' + Vulnerable_range + '\n' ;
security_message(data:report);
exit(0);
}