Lucene search
+L

mod_ssl off by one

🗓️ 03 Nov 2005 00:00:00Reported by This script is Copyright (C) 2002 Thomas ReinkeType 
openvas
 openvas
🔗 plugins.openvas.org👁 27 Views

The remote host is running an older version of mod_ssl, potentially vulnerable to off-by-one buffer overflow allowing arbitrary code execution via .htaccess file

Related
Refs
Code
ReporterTitlePublishedViews
Family
nessus
Apache mod_ssl < 2.8.10 Off-by-one Overflow
18 Aug 200400:00
nessus
nessus
Debian DSA-135-1 : libapache-mod-ssl - buffer overflow / DoS
29 Sep 200400:00
nessus
nessus
Mandrake Linux Security Advisory : mod_ssl (MDKSA-2002:048)
31 Jul 200400:00
nessus
nessus
Apache mod_ssl ssl_compat_directive Function Overflow
2 Jul 200200:00
nessus
nessus
RHEL 2.1 : mod_ssl (RHSA-2002:136)
6 Jul 200400:00
nessus
nessus
SSA-18706 Security updates for Slackware 8.1
13 Jul 200500:00
nessus
cve
CVE-2002-0653
2 Apr 200305:00
cve
cvelist
CVE-2002-0653
2 Apr 200305:00
cvelist
f5
K000138057: mod_ssl vulnerabilities CVE-2002-1157 and CVE-2002-0653
27 Dec 202319:03
f5
nvd
CVE-2002-0653
11 Jul 200204:00
nvd
Rows per page
SourceLink
www.2002:028
# OpenVAS Vulnerability Test
# $Id: mod_ssl_offby1.nasl 8023 2017-12-07 08:36:26Z teissa $
# Description: mod_ssl off by one
#
# Authors:
# This script was written by Thomas Reinke <[email protected]>,
# Script audit and contributions from Carmichael Security <http://www.carmichaelsecurity.com>
# Erik Anderson <[email protected]>
# Added BugtraqID and CAN
#
# Copyright:
# Copyright (C) 2002 Thomas Reinke
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2,
# 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 = "The remote host is using a version of mod_ssl which is
older than 2.8.10.

This version is vulnerable to an off by one buffer overflow
which may allow a user with write access to .htaccess files
to execute arbitrary code on the system with permissions
of the web server.

*** Note that several Linux distributions (such as RedHat)
*** patched the old version of this module. Therefore, this
*** might be a false positive. Please check with your vendor
*** to determine if you really are vulnerable to this flaw";

tag_solution = "Upgrade to version 2.8.10 or newer";

if(description)
{
 script_id(11039);
 script_version("$Revision: 8023 $");
 script_tag(name:"last_modification", value:"$Date: 2017-12-07 09:36:26 +0100 (Thu, 07 Dec 2017) $");
 script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
 script_bugtraq_id(5084);
 script_tag(name:"cvss_base", value:"4.6");
 script_tag(name:"cvss_base_vector", value:"AV:L/AC:L/Au:N/C:P/I:P/A:P");
 script_tag(name:"qod_type", value:"remote_banner_unreliable");
 script_cve_id("CVE-2002-0653");
 script_xref(name:"SuSE", value:"SUSE-SA:2002:028");

 
 name = "mod_ssl off by one";

 script_name(name);
 

 
 
 script_category(ACT_GATHER_INFO);
 
 
 script_copyright("This script is Copyright (C) 2002 Thomas Reinke");
 family = "Web Servers";
 script_family(family);
 script_dependencies("find_service.nasl", "no404.nasl", "http_version.nasl");
 script_require_ports("Services/www", 80);
 script_require_keys("www/apache");
 script_tag(name : "solution" , value : tag_solution);
 script_tag(name : "summary" , value : tag_summary);
 exit(0);
}

#
# The script code starts here
#
include("http_func.inc");
include("global_settings.inc");

port = get_http_port(default:80);

if(get_port_state(port))
{
 banner = get_http_banner(port:port);
 if(!banner)exit(0);
 
 serv = strstr(banner, "Server");
 if("Apache/" >!< serv ) exit(0);
 if("Apache/2" >< serv) exit(0);
 if("Apache-AdvancedExtranetServer/2" >< serv)exit(0);

 if(ereg(pattern:".*mod_ssl/(1.*|2\.([0-7]\..*|8\.[0-9][^0-9])).*", string:serv))
 {
   security_message(port);
 }
}

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