AlienVault OSSIM Web Front End Detection

2009-11-02T00:00:00
ID OSSIM_WEB_DETECT.NASL
Type nessus
Reporter This script is Copyright (C) 2009-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
Modified 2020-05-02T00:00:00

Description

The AlienVault Open Source Security Information Management (OSSIM) web front end was detected on the remote host. OSSIM is a suite of security tools used to monitor and maintain a network.

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

include("compat.inc");

if (description)
{
  script_id(42336);
  script_version("1.12");
  script_cvs_date("Date: 2019/11/22");

  script_name(english:"AlienVault OSSIM Web Front End Detection");
  script_summary(english:"Checks for OSSIM.");

  script_set_attribute(attribute:"synopsis", value:
"The web front end for a security suite was detected on the remote
host.");
  script_set_attribute(attribute:"description", value:
"The AlienVault Open Source Security Information Management (OSSIM)
web front end was detected on the remote host. OSSIM is a suite of
security tools used to monitor and maintain a network.");
  # http://web.archive.org/web/20110206014753/http://www.alienvault.com/products.php?section=OpenSourceSIM
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?69b0679d");
  script_set_attribute(attribute:"see_also", value:"https://www.alienvault.com/products/ossim");
  script_set_attribute(attribute:"solution", value:"n/a");
  script_set_attribute(attribute:"risk_factor", value:"None");

  script_set_attribute(attribute:"plugin_publication_date", value:"2009/11/02");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:alienvault:open_source_security_information_management");
  script_set_attribute(attribute:"asset_inventory", value:"True");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"CGI abuses");

  script_copyright(english:"This script is Copyright (C) 2009-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("http_version.nasl");
  script_require_keys("www/PHP");
  script_require_ports("Services/www", 443);

  exit(0);
}

include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("webapp_func.inc");
include("http.inc");

# Had some issues with request timeouts during testing so bumping this
# up.
port = get_http_port(default:443, php:TRUE);
app_name = "AlienVault OSSIM";

url = "/ossim/session/login.php";
res = http_send_recv3(method:"GET", item:url, port:port, exit_on_fail:TRUE);

if (
  (
    "<title> AlienVault - Open Source SIM </title>" >< res[2] ||
    "<title> AlienVault - The Open Source SIM </title>" >< res[2] ||
    "<title> OSSIM Framework Login" >< res[2] ||
    "<title> AlienVault - Open Source SIEM </title>" >< res[2] ||
    "<title>AlienVault OSSIM" >< res[2] ||
    "<h1> OSSIM Login" >< res[2] ||
    'alt="OSSIM logo"' >< res[2]
  ) &&
  '/pixmaps/ossim.png' >< res[2]
) installs = add_install(appname:'ossim', dir:"/ossim", port:port, installs:installs, cpe: "cpe:/a:alienvault:open_source_security_information_management");
else audit(AUDIT_WEB_APP_NOT_INST, app_name, port);

if (report_verbosity > 0)
{
  report = get_install_report(port:port, installs:installs, item:'/', display_name:app_name);
  security_note(port:port, extra:report);
}
else security_note(port);