Lucene search

K
openvasCopyright (C) 2016 Greenbone AGOPENVAS:1361412562310806849
HistoryJan 27, 2016 - 12:00 a.m.

nginx Multiple Denial Of Service Vulnerabilities 01 (Jan 2016)

2016-01-2700:00:00
Copyright (C) 2016 Greenbone AG
plugins.openvas.org
32

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS3

9.8

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

AI Score

7.4

Confidence

Low

EPSS

0.871

Percentile

98.6%

nginx is prone to multiple denial of service vulnerabilities.

# SPDX-FileCopyrightText: 2016 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

CPE = "cpe:/a:nginx:nginx";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.806849");
  script_version("2024-02-19T05:05:57+0000");
  script_cve_id("CVE-2016-0742", "CVE-2016-0746", "CVE-2016-0747");
  script_tag(name:"cvss_base", value:"7.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_tag(name:"last_modification", value:"2024-02-19 05:05:57 +0000 (Mon, 19 Feb 2024)");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2020-11-16 20:13:00 +0000 (Mon, 16 Nov 2020)");
  script_tag(name:"creation_date", value:"2016-01-27 17:26:59 +0530 (Wed, 27 Jan 2016)");

  script_name("nginx Multiple Denial Of Service Vulnerabilities 01 (Jan 2016)");

  script_tag(name:"summary", value:"nginx is prone to multiple denial of service vulnerabilities.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"insight", value:"Multiple flaws exist:

  - An invalid pointer dereference might occur during DNS server response processing.

  - The use-after-free condition might occur during CNAME response processing.

  - The CNAME resolution was insufficiently limited.");

  script_tag(name:"impact", value:"Successful exploitation will allow remote attackers to trigger arbitrary name
  resolution to cause excessive resource consumption in worker processes, to forge UDP packets from the DNS
  server to cause worker process crash.");

  script_tag(name:"affected", value:"nginx versions from 0.6.18 to 1.9.9.

  Note: 1.8.1 is not vulnerable.");

  script_tag(name:"solution", value:"Update to nginx version 1.9.10 or 1.8.1 or later.");

  script_tag(name:"solution_type", value:"VendorFix");

  script_tag(name:"qod_type", value:"remote_banner_unreliable");

  script_xref(name:"URL", value:"http://mailman.nginx.org/pipermail/nginx/2016-January/049700.html");

  script_category(ACT_GATHER_INFO);
  script_family("Denial of Service");
  script_copyright("Copyright (C) 2016 Greenbone AG");
  script_dependencies("gb_nginx_consolidation.nasl");
  script_mandatory_keys("nginx/detected");

  exit(0);
}

include("version_func.inc");
include("host_details.inc");

if( isnull( port = get_app_port( cpe: CPE ) ) )
  exit( 0 );

if( ! infos = get_app_version_and_location( cpe: CPE, port: port, exit_no_version: TRUE ) )
  exit( 0 );

version = infos["version"];
location = infos["location"];

if( version =~ "^0\." ) {
  if( version_in_range( version: version, test_version: "0.6", test_version2: "0.8.55" ) ) {
    report = report_fixed_ver( installed_version: version, fixed_version: "1.9.10/1.8.1", install_path: location );
    security_message( port: port, data: report );
    exit( 0 );
  }
}

if(version =~ "^1\." ) {
  if( version_is_less( version: version, test_version: "1.8.1" ) ) {
    report = report_fixed_ver( installed_version: version, fixed_version: "1.9.10/1.8.1", install_path: location );
    security_message( port: port, data:report );
    exit( 0 );
  }
}

if( version =~ "^1\.9" ) {
  if( version_is_less( version: version, test_version: "1.9.10" ) ) {
    report = report_fixed_ver( installed_version: version, fixed_version: "1.9.10", install_path: location );
    security_message( port: port, data: report );
    exit( 0 );
  }
}

exit( 99 );

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS3

9.8

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

AI Score

7.4

Confidence

Low

EPSS

0.871

Percentile

98.6%