CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
COMPLETE
AV:N/AC:L/Au:N/C:N/I:N/A:C
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
Percentile
95.2%
According to its Server response header, the installed version of nginx is 1.x prior to 1.14.1 or 1.15.x prior to 1.15.6. It is, therefore, affected by the following issues :
An unspecified error exists related to the module ‘ngx_http_v2_module’ that allows excessive memory usage.
(CVE-2018-16843)
An unspecified error exists related to the module ‘ngx_http_v2_module’ that allows excessive CPU usage.
(CVE-2018-16844)
An unspecified error exists related to the module ‘ngx_http_mp4_module’ that allows worker process crashes or memory disclosure. (CVE-2018-16845)
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(118956);
script_version("1.16");
script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");
script_cve_id("CVE-2018-16843", "CVE-2018-16844", "CVE-2018-16845");
script_bugtraq_id(105868);
script_name(english:"nginx 1.x < 1.14.1 / 1.15.x < 1.15.6 Multiple Vulnerabilities");
script_set_attribute(attribute:"synopsis", value:
"The remote web server is affected by multiple vulnerabilities.");
script_set_attribute(attribute:"description", value:
"According to its Server response header, the installed version of nginx
is 1.x prior to 1.14.1 or 1.15.x prior to 1.15.6. It is, therefore,
affected by the following issues :
- An unspecified error exists related to the module
'ngx_http_v2_module' that allows excessive memory usage.
(CVE-2018-16843)
- An unspecified error exists related to the module
'ngx_http_v2_module' that allows excessive CPU usage.
(CVE-2018-16844)
- An unspecified error exists related to the module
'ngx_http_mp4_module' that allows worker process
crashes or memory disclosure. (CVE-2018-16845)");
script_set_attribute(attribute:"see_also", value:"http://nginx.org/en/security_advisories.html");
script_set_attribute(attribute:"see_also", value:"http://mailman.nginx.org/pipermail/nginx-announce/2018/000220.html");
script_set_attribute(attribute:"see_also", value:"http://mailman.nginx.org/pipermail/nginx-announce/2018/000221.html");
script_set_attribute(attribute:"solution", value:
"Upgrade to nginx 1.14.1 / 1.15.6 or later.");
script_set_attribute(attribute:"agent", value:"unix");
script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:N/A:P");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/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-2018-16845");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"vuln_publication_date", value:"2018/01/06");
script_set_attribute(attribute:"patch_publication_date", value:"2018/11/06");
script_set_attribute(attribute:"plugin_publication_date", value:"2018/11/14");
script_set_attribute(attribute:"plugin_type", value:"combined");
script_set_attribute(attribute:"cpe", value:"cpe:/a:nginx:nginx");
script_set_attribute(attribute:"thorough_tests", value:"true");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Web Servers");
script_copyright(english:"This script is Copyright (C) 2018-2022 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("nginx_detect.nasl", "nginx_nix_installed.nbin");
script_require_keys("installed_sw/nginx");
exit(0);
}
include('http.inc');
include('vcf.inc');
appname = 'nginx';
get_install_count(app_name:appname, exit_if_zero:TRUE);
app_info = vcf::combined_get_app_info(app:appname);
vcf::check_all_backporting(app_info:app_info);
vcf::check_granularity(app_info:app_info, sig_segments:3);
# If the detection is only remote, Detection Method won't be set, and we should require paranoia
if (empty_or_null(app_info['Detection Method']) && report_paranoia < 2)
audit(AUDIT_PARANOID);
constraints = [
{'fixed_version' : '1.14.1', 'min_version' : '1.0.7', 'fixed_display' : '1.14.1'},
{'fixed_version' : '1.15.6', 'min_version' : '1.15.0', 'fixed_display' : '1.15.6'}
];
vcf::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_WARNING);
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16843
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16844
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16845
mailman.nginx.org/pipermail/nginx-announce/2018/000220.html
mailman.nginx.org/pipermail/nginx-announce/2018/000221.html
nginx.org/en/security_advisories.html
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
COMPLETE
AV:N/AC:L/Au:N/C:N/I:N/A:C
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
Percentile
95.2%