| Source | Link |
|---|---|
| cvstrac | www.cvstrac.org/index.html/doc/trunk/www/index.html |
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
include('deprecated_nasl_level.inc');
include("compat.inc");
if(description)
{
script_id(15722);
script_version("1.14");
script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");
script_name(english:"CVSTrac Detection");
script_set_attribute(attribute:"synopsis", value:
"The remote web server contains a web-based source code management
application.");
script_set_attribute(attribute:"description", value:
"The remote host is running CVSTrac, a web-based bug and patch-set
tracking system for CVS.");
script_set_attribute(attribute:"see_also", value:"http://www.cvstrac.org/index.html/doc/trunk/www/index.html");
script_set_attribute(attribute:"solution", value:
"n/a");
script_set_attribute(attribute:"risk_factor", value:"None");
script_set_attribute(attribute:"plugin_publication_date", value:"2004/11/13");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"asset_inventory", value:"True");
script_set_attribute(attribute:"cpe", value:"cpe:/a:cvstrac:cvstrac");
script_set_attribute(attribute:"thorough_tests", value:"true");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"CGI abuses");
script_copyright(english:"This script is Copyright (C) 2004-2022 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("http_version.nasl");
script_require_keys("www/PHP");
script_exclude_keys("Settings/disable_cgi_scanning");
script_require_ports("Services/www", 80);
exit(0);
}
#
# The script code starts here
#
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
port = get_http_port(default:80, embedded: 0);
if(!can_host_php(port:port))exit(0);
dirs = "";
function check(loc)
{
local_var line, w, version, version_str;
w = http_send_recv3(method:"GET", item:string(loc, "/index"), port:port);
if (isnull(w)) exit(0);
line = egrep(pattern:"<a href=.about.>CVSTrac version .*", string: w[2]);
if ( line )
{
version_str = chomp(line);
version = ereg_replace(pattern:"<a href=.about.>CVSTrac version ([0-9.]*)</a>", string:version_str, replace:"\1");
if ( version == version_str ) version = "unknown";
if ( loc == "" ) loc = "/";
set_kb_item(name:"www/" + port + "/cvstrac",
value:version + " under " + loc );
dirs += " - " + loc + '\n';
}
}
# Loop through directories.
if (thorough_tests) check_dirs = list_uniq(make_list("/cvstrac", cgi_dirs()));
else check_dirs = make_list(cgi_dirs());
foreach dir (check_dirs)
{
check(loc:dir);
}
if ( dirs )
{
info = string(
"\n",
"CVSTrac is installed under the following location(s) :\n",
"\n",
dirs
);
security_note(port:port, extra:info);
}
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