#%NASL_MIN_LEVEL 70300
#
# copyright 2001 by Holm Diening / SLITE IT-Security ([email protected])
#
# See the Nessus Scripts License for details
#
# Changes by Tenable:
# - Revised plugin title, enhanced script output (7/06/09)
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(10730);
script_version("1.23");
script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");
script_name(english:"Raptor Firewall 6.5 HTTP Proxy Detection");
script_set_attribute(attribute:"synopsis", value:
"A firewall / HTTP proxy is running in front of the remote web server.");
script_set_attribute(attribute:"description", value:
"Raptor FW 6.5 appears to be running in front of the remote web
server. By sending an invalid HTTP request to a web server behind
the Raptor firewall, the HTTP proxy itself will respond. The server
banner of Raptor FW version 6.5 is always 'Simple, Secure Web Server
1.1'. A remote attacker could use this information to mount further
attacks.");
script_set_attribute(attribute:"solution", value:
"Patch httpd / httpd.exe by hand.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N");
script_set_attribute(attribute:"plugin_publication_date", value:"2001/08/23");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"asset_inventory", value:"True");
script_set_attribute(attribute:"cpe", value:"cpe:/a:symantec:raptor_firewall");
script_set_attribute(attribute:"thorough_tests", value:"true");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Firewalls");
script_copyright(english:"This script is Copyright (C) 2001-2022 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("find_service1.nasl", "httpver.nasl", "broken_web_server.nasl");
script_require_ports("Services/www", 80);
exit(0);
}
#
# The script code starts here
#
include("http_func.inc");
port = get_http_port(default:80, embedded:TRUE);
if (! get_port_state(port)) exit(0, "Port "+port+" is closed.");
socwww = open_sock_tcp(port);
if (! socwww) exit(1, "TCP connection failed to port "+port+".");
teststring = string("some invalid request\r\n\r\n");
testpattern = string("Simple, Secure Web Server 1.");
send(socket:socwww, data:teststring);
recv = http_recv(socket:socwww);
if (testpattern >< recv)
{
security_warning(port);
set_kb_item(name:"Services/www/" + port + "/embedded", value:TRUE);
}
close(socwww);
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