The remote host is missing an update to the system as announced in the referenced advisory. Affected packages are apache, apache+mod_ssl, apache+mod_ssl+ipv6, apache+mod_perl, apache+ipv6, apache+ssl, ru-apache, ru-apache+mod_ssl. A buffer overflow in the get_tag function in mod_include for Apache 1.3.x to 1.3.32 allows local users to execute arbitrary code as the apache user via SSI (XSSI) documents triggering a length calculation error
Reporter | Title | Published | Views | Family All 39 |
---|---|---|---|---|
![]() | Buffer overflow in mod_include - CAN-2004-0940 | 17 May 200704:00 | – | f5 |
![]() | SOL4207 - Buffer overflow in mod_include - CAN-2004-0940 | 16 May 200700:00 | – | f5 |
![]() | DSA-594-1 apache - buffer overflows | 17 Nov 200400:00 | – | osv |
![]() | Gentoo Security Advisory GLSA 200411-03 (apache) | 24 Sep 200800:00 | – | openvas |
![]() | Gentoo Security Advisory GLSA 200411-03 (apache) | 24 Sep 200800:00 | – | openvas |
![]() | Apache mod_include privilege escalation | 3 Nov 200500:00 | – | openvas |
![]() | FreeBSD Ports: apache | 4 Sep 200800:00 | – | openvas |
![]() | Apache HTTP Server 'mod_include' Privilege Escalation Vulnerability | 3 Nov 200500:00 | – | openvas |
![]() | Debian: Security Advisory (DSA-594-1) | 17 Jan 200800:00 | – | openvas |
![]() | Debian Security Advisory DSA 594-1 (apache) | 17 Jan 200800:00 | – | openvas |
Source | Link |
---|---|
vuxml | www.vuxml.org/freebsd/6e6a6b8a-2fde-11d9-b3a2-0050fc56d258.html |
securitylab | www.securitylab.ru/48807.html |
securityfocus | www.securityfocus.com/bid/11471 |
# SPDX-FileCopyrightText: 2008 E-Soft Inc.
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.52314");
script_version("2024-02-02T05:06:11+0000");
script_tag(name:"last_modification", value:"2024-02-02 05:06:11 +0000 (Fri, 02 Feb 2024)");
script_tag(name:"creation_date", value:"2008-09-04 20:41:11 +0200 (Thu, 04 Sep 2008)");
script_cve_id("CVE-2004-0940");
script_tag(name:"cvss_base", value:"6.9");
script_tag(name:"cvss_base_vector", value:"AV:L/AC:M/Au:N/C:C/I:C/A:C");
script_tag(name:"severity_vector", value:"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2024-02-02 03:05:26 +0000 (Fri, 02 Feb 2024)");
script_name("FreeBSD Ports: apache");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2008 E-Soft Inc.");
script_family("FreeBSD Local Security Checks");
script_dependencies("gather-package-list.nasl");
script_mandatory_keys("ssh/login/freebsd", "ssh/login/freebsdrel");
script_tag(name:"insight", value:"The following packages are affected:
apache
apache+mod_ssl
apache+mod_ssl+ipv6
apache+mod_perl
apache+ipv6
apache+ssl
ru-apache
ru-apache+mod_ssl
CVE-2004-0940
Buffer overflow in the get_tag function in mod_include for Apache
1.3.x to 1.3.32 allows local users who can create SSI documents to
execute arbitrary code as the apache user via SSI (XSSI) documents
that trigger a length calculation error.");
script_tag(name:"solution", value:"Update your system with the appropriate patches or
software upgrades.");
script_xref(name:"URL", value:"http://www.securitylab.ru/48807.html");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/11471");
script_xref(name:"URL", value:"http://www.vuxml.org/freebsd/6e6a6b8a-2fde-11d9-b3a2-0050fc56d258.html");
script_tag(name:"summary", value:"The remote host is missing an update to the system
as announced in the referenced advisory.");
script_tag(name:"qod_type", value:"package");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("revisions-lib.inc");
include("pkg-lib-bsd.inc");
vuln = FALSE;
txt = "";
bver = portver(pkg:"apache");
if(!isnull(bver) && revcomp(a:bver, b:"1.3.33")<0) {
txt += 'Package apache version ' + bver + ' is installed which is known to be vulnerable.\n';
vuln = TRUE;
}
bver = portver(pkg:"apache+mod_ssl");
if(!isnull(bver) && revcomp(a:bver, b:"1.3.32+2.8.21_1")<0) {
txt += 'Package apache+mod_ssl version ' + bver + ' is installed which is known to be vulnerable.\n';
vuln = TRUE;
}
bver = portver(pkg:"apache+mod_ssl+ipv6");
if(!isnull(bver) && revcomp(a:bver, b:"1.3.32+2.8.21_1")<0) {
txt += 'Package apache+mod_ssl+ipv6 version ' + bver + ' is installed which is known to be vulnerable.\n';
vuln = TRUE;
}
bver = portver(pkg:"apache+mod_perl");
if(!isnull(bver) && revcomp(a:bver, b:"1.3.31")<=0) {
txt += 'Package apache+mod_perl version ' + bver + ' is installed which is known to be vulnerable.\n';
vuln = TRUE;
}
bver = portver(pkg:"apache+ipv6");
if(!isnull(bver) && revcomp(a:bver, b:"1.3.33")<0) {
txt += 'Package apache+ipv6 version ' + bver + ' is installed which is known to be vulnerable.\n';
vuln = TRUE;
}
bver = portver(pkg:"apache+ssl");
if(!isnull(bver) && revcomp(a:bver, b:"1.3.29.1.55")<=0) {
txt += 'Package apache+ssl version ' + bver + ' is installed which is known to be vulnerable.\n';
vuln = TRUE;
}
bver = portver(pkg:"ru-apache");
if(!isnull(bver) && revcomp(a:bver, b:"1.3.33+30.21")<0) {
txt += 'Package ru-apache version ' + bver + ' is installed which is known to be vulnerable.\n';
vuln = TRUE;
}
bver = portver(pkg:"ru-apache+mod_ssl");
if(!isnull(bver) && revcomp(a:bver, b:"1.3.33+30.21+2.8.22")<0) {
txt += 'Package ru-apache+mod_ssl version ' + bver + ' is installed which is known to be vulnerable.\n';
vuln = TRUE;
}
if(vuln) {
security_message(data:txt);
} else if (__pkg_match) {
exit(99);
}
Transform Your Security Services
Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.
Book a live demo