10 High
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:N/AC:L/Au:N/C:C/I:C/A:C
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
9.7 High
AI Score
Confidence
High
0.783 High
EPSS
Percentile
98.3%
The remote system may be in a vulnerable state to CVE-2022-21907 by having the following registry key set:
- HKLM\System\CurrentControlSet\Services\HTTP\Parameters\EnableTrailerSupport An unauthenticated, remote attacker could exploit this, by sending specially crafted requests, to execute arbitrary code on an affected host.
#%NASL_MIN_LEVEL 70300
##
# (C) Tenable Network Security, Inc.
##
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(156713);
script_version("1.5");
script_set_attribute(attribute:"plugin_modification_date", value:"2024/06/17");
script_xref(name:"IAVA", value:"2022-A-0012-S");
script_xref(name:"IAVA", value:"2022-A-0016-S");
script_name(english:"Windows HTTP Protocol Stack CVE-2022-21907 Mitigation (EnableTrailerSupport)");
script_set_attribute(attribute:"synopsis", value:
"The remote Windows host is potentially missing a mitigation for a remote code execution vulnerability.");
script_set_attribute(attribute:"description", value:
"The remote system may be in a vulnerable state to CVE-2022-21907 by having the following registry key set:
- HKLM\System\CurrentControlSet\Services\HTTP\Parameters\EnableTrailerSupport
An unauthenticated, remote attacker could exploit this, by sending specially crafted requests, to execute arbitrary
code on an affected host.");
script_set_attribute(attribute:"see_also", value:"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-21907");
script_set_attribute(attribute:"solution", value:
"Delete the DWORD registry value EnableTrailerSupport if present under:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters");
script_set_attribute(attribute:"risk_factor", value:"None");
script_set_attribute(attribute:"vuln_publication_date", value:"2022/01/11");
script_set_attribute(attribute:"patch_publication_date", value:"2022/01/11");
script_set_attribute(attribute:"plugin_publication_date", value:"2022/01/13");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/o:microsoft:windows_server_2019");
script_set_attribute(attribute:"cpe", value:"cpe:/o:microsoft:windows_10_1809");
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) 2022-2024 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("smb_check_rollup.nasl", "smb_hotfixes.nasl");
script_require_keys("SMB/Registry/Enumerated");
script_require_ports(139, 445);
exit(0);
}
include('smb_func.inc');
include('smb_hotfixes.inc');
include('smb_hotfixes_fcheck.inc');
get_kb_item_or_exit('SMB/Registry/Enumerated');
var os = get_kb_item_or_exit('SMB/WindowsVersion');
var os_build = get_kb_item_or_exit('SMB/WindowsVersionBuild');
var product_name = get_kb_item_or_exit('SMB/ProductName');
# 17763 == 1809
if (os == '10')
{
if (os_build != '17763')
audit(AUDIT_HOST_NOT, 'an affected Windows 10 host');
}
else if ('2019' >!< product_name)
audit(AUDIT_HOST_NOT, 'an affected host');
var share = hotfix_get_systemdrive(as_share:TRUE, exit_on_fail:TRUE);
if (!is_accessible_share(share:share))
audit(AUDIT_SHARE_FAIL, share);
hotfix_check_fversion_init();
registry_init();
var hklm = registry_hive_connect(hive:HKEY_LOCAL_MACHINE, exit_on_fail:TRUE);
var key = 'System\\CurrentControlSet\\Services\\HTTP\\Parameters\\EnableTrailerSupport';
var value = get_registry_value(handle:hklm, item:key);
RegCloseKey(handle:hklm);
# Potential vuln state when == 1
if (isnull(value))
audit(AUDIT_HOST_NOT, 'affected');
var report = '\n Nessus detected the following potentially insecure registry key configuration:\n';
report += ' - ' + key + ' is present in the registry with value ' + value + '\n';
hotfix_add_report(report);
hotfix_security_note();
hotfix_check_fversion_end();
exit(0);
Vendor | Product | Version | CPE |
---|---|---|---|
microsoft | windows_10_1809 | cpe:/o:microsoft:windows_10_1809 | |
microsoft | windows_server_2019 | cpe:/o:microsoft:windows_server_2019 |
10 High
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:N/AC:L/Au:N/C:C/I:C/A:C
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
9.7 High
AI Score
Confidence
High
0.783 High
EPSS
Percentile
98.3%