CVSS2
Attack Vector
LOCAL
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:L/AC:L/Au:N/C:P/I:P/A:P
CVSS3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
AI Score
Confidence
High
EPSS
Percentile
26.9%
The remote host is using a version of mod_ssl that is older than 2.8.10.
This version is vulnerable to an off-by-one buffer overflow that could 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
#%NASL_MIN_LEVEL 70300
#
# 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
#
# See the Nessus Scripts License for details
#
# Changes by Tenable:
# - Revised plugin title, output formatting (9/18/09)
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(11039);
script_version("1.34");
script_set_attribute(attribute:"plugin_modification_date", value:"2024/05/28");
script_cve_id("CVE-2002-0653");
script_bugtraq_id(5084);
script_xref(name:"SuSE", value:"SUSE-SA:2002:028");
script_name(english:"Apache mod_ssl ssl_compat_directive Function Overflow");
script_set_attribute(attribute:"synopsis", value:
"The remote web server is using a module that is affected by a remote
code execution vulnerability.");
script_set_attribute(attribute:"description", value:
"The remote host is using a version of mod_ssl that is older than
2.8.10.
This version is vulnerable to an off-by-one buffer overflow that could
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");
script_set_attribute(attribute:"see_also", value:"https://marc.info/?l=vuln-dev&m=102477330617604&w=2");
script_set_attribute(attribute:"see_also", value:"https://marc.info/?l=bugtraq&m=102513970919836&w=2");
script_set_attribute(attribute:"solution", value:
"Upgrade to mod_ssl version 2.8.10 or newer.");
script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:P");
script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value:"2002/06/24");
script_set_attribute(attribute:"plugin_publication_date", value:"2002/07/02");
script_set_attribute(attribute:"potential_vulnerability", value:"true");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/a:mod_ssl:mod_ssl");
script_set_attribute(attribute:"thorough_tests", value:"true");
script_set_attribute(attribute:"enable_cgi_scanning", value:"true");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Web Servers");
script_copyright(english:"This script is Copyright (C) 2002-2024 Thomas Reinke");
script_dependencies("find_service1.nasl", "no404.nasl", "http_version.nasl");
script_require_keys("Settings/ParanoidReport", "www/apache");
script_exclude_keys("Settings/disable_cgi_scanning");
script_require_ports("Services/www", 80);
exit(0);
}
include("audit.inc");
include("backport.inc");
include("global_settings.inc");
include("http_func.inc");
port = get_http_port(default:80, embedded:TRUE);
if (report_paranoia < 2) audit(AUDIT_PARANOID);
if(get_port_state(port))
{
banner = get_backport_banner(banner:get_http_banner(port:port));
if(!banner || backported )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_warning(port);
}
}
CVSS2
Attack Vector
LOCAL
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:L/AC:L/Au:N/C:P/I:P/A:P
CVSS3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
AI Score
Confidence
High
EPSS
Percentile
26.9%