Lucene search
K

Mongoose Slash Character Remote File Disclosure Vulnerability

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

Mongoose Slash Character Remote File Disclosure Vulnerability. Vulnerability allows remote file viewing in server context

Related
Refs
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2009-4535
23 Oct 200900:00
circl
CVE
CVE-2009-4535
31 Dec 200919:00
cve
Cvelist
CVE-2009-4535
31 Dec 200919:00
cvelist
EUVD
EUVD-2009-4501
7 Oct 202500:30
euvd
Tenable Nessus
Mongoose URI Trailing Slash Request Source Code Disclosure
30 Jul 201000:00
nessus
NVD
CVE-2009-4535
31 Dec 200919:30
nvd
OpenVAS
Mongoose Web Server <= 2.8 Slash Character Remote File Disclosure Vulnerability
2 Aug 201000:00
openvas
OpenVAS
Mongoose Web Server Source Code Disclosure Vulnerability
9 Jan 201000:00
openvas
Prion
Code injection
31 Dec 200919:30
prion
Positive Technologies
PT-2009-6633 · Mongoose · Mongoose
31 Dec 200900:00
ptsecurity
Rows per page
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_mongoose_42051.nasl 5323 2017-02-17 08:49:23Z teissa $
#
# Mongoose Slash Character Remote File Disclosure Vulnerability
#
# 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 = "Mongoose is prone to a remote file-disclosure vulnerability because it
fails to properly sanitize user-supplied input.

An attacker can exploit this vulnerability to view the source code
of files in the context of the server process, which may aid in
further attacks.

This issue affects Mongoose 2.8; other versions may be
vulnerable as well.";


if (description)
{
 script_id(100735);
 script_version("$Revision: 5323 $");
 script_tag(name:"last_modification", value:"$Date: 2017-02-17 09:49:23 +0100 (Fri, 17 Feb 2017) $");
 script_tag(name:"creation_date", value:"2010-08-02 14:28:14 +0200 (Mon, 02 Aug 2010)");
 script_bugtraq_id(42051);
 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-2009-4535");

 script_name("Mongoose Slash Character Remote File Disclosure Vulnerability");

 script_xref(name : "URL" , value : "https://www.securityfocus.com/bid/42051");
 script_xref(name : "URL" , value : "http://code.google.com/p/mongoose/");

 script_tag(name:"qod_type", value:"remote_vul");
 script_category(ACT_ATTACK);
 script_family("Web Servers");
 script_copyright("This script is Copyright (C) 2010 Greenbone Networks GmbH");
 script_dependencies("find_service.nasl", "http_version.nasl","webmirror.nasl");
 script_require_ports("Services/www", 80);
 script_exclude_keys("Settings/disable_cgi_scanning");
 script_tag(name : "summary" , value : tag_summary);
 exit(0);
}

include("http_func.inc");
include("http_keepalive.inc");
include("global_settings.inc");
   
port = get_http_port(default:8080);

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

phps = get_kb_list("www/"+port+"/content/extensions/php");
if(!isnull(phps)) {
  phps = make_list(phps);
} else {
  phps = make_list("/index.php");
}  

foreach php (phps) {

  x++;
  url = php +"/";

  if(buf = http_vuln_check(port:port,url:url,pattern:"<\?(php)?",check_header:TRUE)) {
   if("Content-Type: text/plain" >< buf) { 
     if(!http_vuln_check(port:port, url:php,pattern:"<\?(php)?")) {
       security_message(port:port);
       exit(0);
     }  
    }
  }  
  if(x>=3)exit(0);
}

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

17 Feb 2017 00:00Current
6.4Medium risk
Vulners AI Score6.4
EPSS0.02853
14