Lucene search
K

CVSweb Detection

🗓️ 10 May 2000 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 12 Views

Detects CVSweb CGI on the remote server, indicating potential access risk to source code.

Code
#
# (C) Tenable Network Security, Inc.
# 


include("compat.inc");

if(description)
{
 script_id(10402);
 script_version ("1.28");
 script_cvs_date("Date: 2019/11/25");

 script_name(english:"CVSweb Detection");
 script_set_attribute(attribute:"synopsis", value:
"The remote web server host the 'cvsweb' CGI." );
 script_set_attribute(attribute:"description", value:
"CVSweb is a web interface for a CVS repository.  It allows users to
browse through the history of the source code of a given project. 

If your environement contains sensitive source code, then access to
this CGI should be password-protected." );
 script_set_attribute(attribute:"risk_factor", value: "None");
 script_set_attribute(attribute:"solution", value: "n/a");
 script_set_attribute(attribute:"plugin_publication_date", value: "2000/05/10");
 script_set_attribute(attribute:"plugin_type", value:"remote");
 script_set_attribute(attribute:"cpe", value:"cpe:/a:freebsd:cvsweb");
 script_set_attribute(attribute:"asset_inventory", value:"True");
 script_end_attributes();


 summary["english"] = "Determines whether cvsweb.cgi is installed on the remote host";
 script_summary(english:summary["english"]);
 script_category(ACT_GATHER_INFO);
 script_copyright(english:"This script is Copyright (C) 2005-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
 family["english"] = "CGI abuses";
 script_family(english:family["english"]);
 script_dependencie("http_version.nasl");
 script_require_ports("Services/www", 80);
 script_exclude_keys("Settings/disable_cgi_scanning");
 exit(0);
}

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

port = get_http_port(default:80 );

foreach dir ( cgi_dirs() )
{
 r = http_send_recv3(method:"GET", item:dir + '/cvsweb.cgi/', port:port);
 if (isnull(r)) exit(0);

 generator = egrep(pattern:'<meta name="generator" content=', string:r[2]);
 if ( ! generator ) exit(0);
 if ( "CVSweb" >< generator )
 {
   version = ereg_replace(pattern:'.*content="(.*)".*', string:generator, replace:"\1");
   report = 'CVSweb version : ' + version;
   set_kb_item(name:"www/" + port + "/cvsweb/version", value:version);
   security_note(port:port, extra:report);
 }
}

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

25 Nov 2019 00:00Current
5.5Medium risk
Vulners AI Score5.5
12