Lucene search
K

Apache HTTP Server 'ap_pregsub()' Function Local Denial of Service Vulnerability

🗓️ 15 Nov 2011 00:00:00Reported by This script is Copyright (C) 2011 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 40 Views

Apache HTTP Server 'ap_pregsub()' Function Local Denial of Service Vulnerability. Local attackers can exploit a NULL-pointer dereference or memory exhaustion to crash the server and deny service to legitimate users. 'mod_setenvif' must be enabled and a malicious '.htaccess' file placed on the webserver

Related
Refs
Code
ReporterTitlePublishedViews
Family
0day.today
Apache < 2.0.64 / < 2.2.21 mod_setenvif - Integer Overflow Vulnerability
29 Mar 201700:00
zdt
Gitee
Exploit for CVE-2007-6750
27 Jul 202503:38
gitee
CVE
CVE-2011-4415
8 Nov 201111:00
cve
Cvelist
CVE-2011-4415
8 Nov 201111:00
cvelist
Debian CVE
CVE-2011-4415
8 Nov 201111:00
debiancve
EUVD
EUVD-2011-4344
7 Oct 202500:30
euvd
F5 Networks
K16908: Apache HTTPD vulnerability CVE-2011-4415
21 Feb 202318:26
f5
F5 Networks
SOL16908 - Apache HTTPD vulnerability CVE-2011-4415
23 Jul 201500:00
f5
Tenable Nessus
HP System Management Homepage < 7.1.1 Multiple Vulnerabilities
5 Jul 201200:00
nessus
Tenable Nessus
RHEL 4 : httpd (Unpatched Vulnerability)
3 Jun 202400:00
nessus
Rows per page
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_apache_50639.nasl 5424 2017-02-25 16:52:36Z teissa $
#
# Apache HTTP Server 'ap_pregsub()' Function Local Denial of Service Vulnerability
#
# Authors:
# Michael Meyer <[email protected]>
#
# Copyright:
# Copyright (c) 2011 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 = "Apache HTTP Server is prone to a local denial-of-service
vulnerability because of a NULL-pointer dereference error or a
memory exhaustion.

Local attackers can exploit this issue to trigger a NULL-pointer
dereference or memory exhaustion, and cause a server crash, denying
service to legitimate users.

Note: To trigger this issue, 'mod_setenvif' must be enabled and the
      attacker should be able to place a malicious '.htaccess' file on
      the affected webserver.

Apache HTTP Server 2.0.x through 2.0.64 and 2.2.x through 2.2.21 are
vulnerable. Other versions may also be affected.";


if (description)
{
 script_id(103333);
 script_bugtraq_id(50639);
 script_cve_id("CVE-2011-4415");
 script_tag(name:"cvss_base", value:"1.2");
 script_tag(name:"cvss_base_vector", value:"AV:L/AC:H/Au:N/C:N/I:N/A:P");
 script_tag(name:"qod_type", value:"remote_banner_unreliable");
 script_version ("$Revision: 5424 $");

 script_name("Apache HTTP Server 'ap_pregsub()' Function Local Denial of Service Vulnerability");

 script_xref(name : "URL" , value : "http://www.securityfocus.com/bid/50639");
 script_xref(name : "URL" , value : "http://httpd.apache.org/");
 script_xref(name : "URL" , value : "http://www.halfdog.net/Security/2011/ApacheModSetEnvIfIntegerOverflow/");
 script_xref(name : "URL" , value : "http://www.gossamer-threads.com/lists/apache/dev/403775");

 script_tag(name:"last_modification", value:"$Date: 2017-02-25 17:52:36 +0100 (Sat, 25 Feb 2017) $");
 script_tag(name:"creation_date", value:"2011-11-15 12:33:51 +0100 (Tue, 15 Nov 2011)");
 script_category(ACT_GATHER_INFO);
 script_family("Web Servers");
 script_copyright("This script is Copyright (C) 2011 Greenbone Networks GmbH");
 script_dependencies("http_version.nasl", "secpod_apache_detect.nasl");
 script_require_ports("Services/www", 80);
 script_tag(name : "summary" , value : tag_summary);
 exit(0);
}

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

httpdPort = get_http_port(default:80);
if(!httpdPort){
    exit(0);
}

version = get_kb_item("www/" + httpdPort + "/Apache");

if(version != NULL){

  if(version_in_range(version:version, test_version:"2.0",test_version2:"2.0.64") ||
     version_in_range(version:version, test_version:"2.2",test_version2:"2.2.21")) {
       security_message(port:httpdPort);
       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