Lucene search
K

Subversion Module File Restriction Bypass

🗓️ 03 Nov 2005 00:00:00Reported by This script is Copyright (C) 2004 David MaciejakType 
openvas
 openvas
🔗 plugins.openvas.org👁 13 Views

Subversion Module File Restriction Bypass. Older version allows access to any file in a subversion repository

Related
Code
ReporterTitlePublishedViews
Family
Tenable Nessus
Subversion (SVN) < 1.0.6 Module File Restriction Bypass (deprecated)
20 Aug 200400:00
nessus
Tenable Nessus
GLSA-200407-20 : Subversion: Vulnerability in mod_authz_svn
30 Aug 200400:00
nessus
Tenable Nessus
Subversion < 1.0.6 mod_authz_svn Restricted File Access Bypass
27 Jul 200400:00
nessus
CVE
CVE-2004-1438
13 Feb 200505:00
cve
Cvelist
CVE-2004-1438
13 Feb 200505:00
cvelist
Debian CVE
CVE-2004-1438
13 Feb 200505:00
debiancve
EUVD
EUVD-2004-1435
7 Oct 202500:30
euvd
Gentoo Linux
Subversion: Vulnerability in mod_authz_svn
26 Jul 200400:00
gentoo
NVD
CVE-2004-1438
31 Dec 200405:00
nvd
OpenVAS
Subversion < 1.0.6 Module File Restriction Bypass
3 Nov 200500:00
openvas
Rows per page
# OpenVAS Vulnerability Test
# $Id: subversion_1_0_6.nasl 8023 2017-12-07 08:36:26Z teissa $
# Description: Subversion Module File Restriction Bypass
#
# Authors:
# David Maciejak <david dot maciejak at kyxar dot fr>
# based on work from Tenable Network Security
#
# Copyright:
# Copyright (C) 2004 David Maciejak
#
# 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 = "You are running a version of Subversion which is older than 1.0.6.

A flaw exist in older version, in the apache module mod_authz_svn.
An attacker can access to any file in a given subversion repository,
no matter what restrictions have been set by the administrator.";

tag_solution = "Upgrade to subversion 1.0.6 or newer.";

# ref: Subversion team July 2004

if(description)
{
 script_id(13848);
 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_cve_id("CVE-2004-1438");
 script_bugtraq_id(10800);
 script_tag(name:"cvss_base", value:"2.1");
 script_tag(name:"cvss_base_vector", value:"AV:L/AC:L/Au:N/C:P/I:N/A:N");
 script_xref(name:"OSVDB", value:"8239");

 name = "Subversion Module File Restriction Bypass";
 script_name(name);



 script_category(ACT_GATHER_INFO);
  script_tag(name:"qod_type", value:"remote_banner");

 script_copyright("This script is Copyright (C) 2004 David Maciejak");
 family = "Remote file access";
 script_family(family);
 script_dependencies("find_service2.nasl");
 script_require_ports("Services/subversion");
 script_tag(name : "solution" , value : tag_solution);
 script_tag(name : "summary" , value : tag_summary);
 exit(0);
}



# start check
# mostly horked from MetaSploit Framework subversion overflow check

port = get_kb_item("Services/subversion");
if ( ! port ) port = 3690;

if (! get_tcp_port_state(port))
	exit(0);

dat = string("( 2 ( edit-pipeline ) 24:svn://host/svn/OpenVASr0x ) ");

soc = open_sock_tcp(port);
if (!soc)
        exit(0);

r = recv_line(socket:soc, length:1024);

if (! r)
	exit(0);

send(socket:soc, data:dat);
r = recv_line(socket:soc, length:256);

if (! r)
	exit(0);

#display(r);

if (egrep(string:r, pattern:".*subversion-1\.0\.[0-5][^0-9].*"))
{
	security_message(port);
}

close(soc);
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

07 Dec 2017 00:00Current
6.4Medium risk
Vulners AI Score6.4
EPSS0.00246
13