Lucene search
K

Apache 'mod_proxy_ftp' Module Denial Of Service Vulnerability (Linux)

🗓️ 16 Sep 2009 00:00:00Reported by Copyright (C) 2009 SecPodType 
openvas
 openvas
🔗 plugins.openvas.org👁 33 Views

Apache 'mod_proxy_ftp' Module Denial Of Service Vulnerability (Linux). The flaw in 'ap_proxy_ftp_handler' function in modules/proxy/proxy_ftp.c allows remote attackers to cause a Denial of Service by triggering a NULL-pointer dereference and crashing an Apache child process via a malformed EPSV response

Related
Refs
Code
###############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_apache_mod_proxy_ftp_dos_vuln.nasl 5390 2017-02-21 18:39:27Z mime $
#
# Apache 'mod_proxy_ftp' Module Denial Of Service Vulnerability (Linux)
#
# Authors:
# Sharath S <[email protected]>
#
# Copyright:
# Copyright (c) 2009 SecPod, http://www.secpod.com
#
# 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_impact = "Successful exploitation could allow remote attackers to cause a Denial of
  Service in the context of the affected application.
  Impact Level: Application";
tag_affected = "Apache HTTP Server version 2.0.x to 2.0.63 and and 2.2.x to 2.2.13 on Linux.";
tag_insight = "The flaw is due to an error in 'ap_proxy_ftp_handler' function in
  modules/proxy/proxy_ftp.c in the mod_proxy_ftp module while processing
  responses received from FTP servers. This can be exploited to trigger a
  NULL-pointer dereference and crash an Apache child process via a malformed
  EPSV response.";
tag_solution = "Upgrade to Apache HTTP Server version 2.2.15 or later
  For updates refer to http://www.apache.org/";
tag_summary = "The host is running Apache and is prone to Denial of Service
  vulnerability.";

if(description)
{
  script_id(900841);
  script_version("$Revision: 5390 $");
  script_tag(name:"last_modification", value:"$Date: 2017-02-21 19:39:27 +0100 (Tue, 21 Feb 2017) $");
  script_tag(name:"creation_date", value:"2009-09-16 15:34:19 +0200 (Wed, 16 Sep 2009)");
  script_tag(name:"cvss_base", value:"2.6");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:H/Au:N/C:N/I:N/A:P");
 script_tag(name:"qod_type", value:"remote_banner_unreliable");
  script_cve_id("CVE-2009-3094");
  script_bugtraq_id(36260);
  script_name("Apache 'mod_proxy_ftp' Module Denial Of Service Vulnerability (Linux)");
  script_xref(name : "URL" , value : "http://intevydis.com/vd-list.shtml");
  script_xref(name : "URL" , value : "http://www.intevydis.com/blog/?p=59");
  script_xref(name : "URL" , value : "http://secunia.com/advisories/36549");
  script_xref(name : "URL" , value : "http://httpd.apache.org/docs/2.0/mod/mod_proxy_ftp.html");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2009 SecPod");
  script_family("Denial of Service");
  script_dependencies("gb_get_http_banner.nasl");
  script_require_ports("Services/www", 80);
  script_mandatory_keys("apache/banner");
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  exit(0);
}


include("http_func.inc");
include("version_func.inc");
include("global_settings.inc");

apachePort = get_http_port(default:80);

if(!apachePort){
  apachePort = 80;
}

if(!get_port_state(apachePort))
{
  exit(0);
}

banner = get_http_banner(port:apachePort);

if(banner =~ "Apache/([0-9.]+) \(Win32\)")
{
  exit(0);
}

apacheVer = eregmatch(pattern:"Server: Apache/([0-9.]+)", string:banner);

if(!isnull(apacheVer[1]))
{
  # Check for Apache version 2.0 <= 2.0.63 and 2.2 <= 2.2.13
  if(version_in_range(version:apacheVer[1], test_version:"2.0.0", test_version2:"2.0.63")||
     version_in_range(version:apacheVer[1], test_version:"2.2.0", test_version2:"2.2.13")){
    security_message(apachePort);
  }
}

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

21 Feb 2017 00:00Current
7.5High risk
Vulners AI Score7.5
EPSS0.02833
33