8.2 High
AI Score
Confidence
High
5 Medium
CVSS2
Access Vector
NETWORK
Access Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
NONE
Availability Impact
NONE
AV:N/AC:L/Au:N/C:P/I:N/A:N
0.004 Low
EPSS
Percentile
72.9%
Apache Subversion is prone to multiple vulnerabilities.
# Copyright (C) 2015 Greenbone Networks GmbH
# 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-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# 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.
CPE = "cpe:/a:apache:subversion";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.805095");
script_version("2022-06-03T07:48:46+0000");
script_tag(name:"last_modification", value:"2022-06-03 07:48:46 +0000 (Fri, 03 Jun 2022)");
script_tag(name:"creation_date", value:"2015-08-18 13:39:48 +0530 (Tue, 18 Aug 2015)");
script_tag(name:"cvss_base", value:"5.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:N");
script_cve_id("CVE-2015-3184", "CVE-2015-3187");
script_tag(name:"qod_type", value:"remote_banner");
script_tag(name:"solution_type", value:"VendorFix");
script_name("Apache Subversion Multiple Vulnerabilities (Aug 2015)");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2015 Greenbone Networks GmbH");
script_family("General");
script_dependencies("gb_apache_subversion_detect.nasl");
script_mandatory_keys("apache/subversion/detected");
script_tag(name:"summary", value:"Apache Subversion is prone to multiple vulnerabilities.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"The following vulnerabilities exist:
- The mod_authz_svn does not properly restrict anonymous access in some mixed
anonymous/authenticated environments when using Apache httpd 2.4.
- The svnserve will reveal some paths that should be hidden by path-based authz. When a node is
copied rom an unreadable location to a readable location the unreadable path may be revealed.");
script_tag(name:"impact", value:"Successful exploitation will allow an authenticated remote
attacker to obtain potentially sensitive information from an ostensibly hidden repository.");
script_tag(name:"affected", value:"Apache Subversion version 1.7.x prior to 1.7.21 and 1.8.x
prior to 1.8.14.");
script_tag(name:"solution", value:"Update to version 1.7.21, 1.8.14 or later.");
script_xref(name:"URL", value:"http://www.securitytracker.com/id/1033215");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/76274");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/76273");
script_xref(name:"URL", value:"http://subversion.apache.org/security/CVE-2015-3187-advisory.txt");
script_xref(name:"URL", value:"http://subversion.apache.org/security/CVE-2015-3184-advisory.txt");
exit(0);
}
include("host_details.inc");
include("version_func.inc");
if (!port = get_app_port(cpe: CPE))
exit(0);
if (!version = get_app_version(cpe: CPE, port: port))
exit(0);
if (version_in_range(version: version, test_version: "1.7.0", test_version2: "1.7.20")) {
fix = "1.7.21";
VULN = TRUE;
}
if (version_in_range(version: version, test_version: "1.8.0", test_version2: "1.8.13")) {
fix = "1.8.14";
VULN = TRUE;
}
if(VULN) {
report = report_fixed_ver(installed_version: version, fixed_version: fix);
security_message(port: port, data: report);
exit(0);
}
exit(99);