Lucene search

K
nessusThis script is Copyright (C) 2012-2018 and is owned by Tenable, Inc. or an Affiliate thereof.GLASSFISH_CVE-2011-3559.NASL
HistoryFeb 22, 2012 - 12:00 a.m.

Oracle GlassFish Server 2.1.1 < 2.1.1.14 / 3.0.1 < 3.0.1.4 / 3.1.1 < 3.1.1.1 Web Container Component Unspecified Vulnerability

2012-02-2200:00:00
This script is Copyright (C) 2012-2018 and is owned by Tenable, Inc. or an Affiliate thereof.
www.tenable.com
24

7.8 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:N/I:N/A:C

0.013 Low

EPSS

Percentile

86.2%

The version of GlassFish Server running on the remote host is affected by an unspecified vulnerability related to the Web Container component that could affect availability.

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

include("compat.inc");

if (description)
{
  script_id(58089);
  script_version("1.8");
  script_cvs_date("Date: 2018/11/15 20:50:25");

  script_cve_id("CVE-2011-3559");
  script_bugtraq_id(50204);

  script_name(english:"Oracle GlassFish Server 2.1.1 < 2.1.1.14 / 3.0.1 < 3.0.1.4 / 3.1.1 < 3.1.1.1 Web Container Component Unspecified Vulnerability");
  script_summary(english:"Checks the version of Oracle GlassFish");

  script_set_attribute(attribute:"synopsis", value:
"The remote web server has an unspecified vulnerability that could
affect availability.");
  script_set_attribute(attribute:"description", value:
"The version of GlassFish Server running on the remote host is
affected by an unspecified vulnerability related to the Web Container
component that could affect availability.");
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?8af6daee");
  script_set_attribute(attribute:"solution", value:
"Upgrade to GlassFish Server 2.1.1.14 / 3.0.1.4 / 3.1.1.1 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");

  script_set_attribute(attribute:"vuln_publication_date", value:"2011/10/18");
  script_set_attribute(attribute:"patch_publication_date", value:"2011/10/18");
  script_set_attribute(attribute:"plugin_publication_date", value:"2012/02/22");

  script_set_attribute(attribute:"plugin_type",value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:oracle:glassfish_server");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Web Servers");

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

  script_dependencies("glassfish_detect.nasl");
  script_require_keys("www/glassfish");

  exit(0);
}

include("global_settings.inc");
include("misc_func.inc");
include("audit.inc");
include("glassfish.inc");

#
# Main
#

# Check for GlassFish
get_kb_item_or_exit('www/glassfish');

port = get_glassfish_port(default:8080);

# Get the version number out of the KB.
ver = get_kb_item_or_exit("www/" + port + "/glassfish/version");
banner = get_kb_item_or_exit("www/" + port + "/glassfish/source");
pristine = get_kb_item_or_exit("www/" + port + "/glassfish/version/pristine");

fix = NULL;
if (ver =~ '^2\\.1\\.1([^0-9]|$)') 
{
  max_vuln = '2.1.1.13';
  fix = '2.1.1.14';
}
else if (ver =~ '^3\\.0\\.1([^0-9]|$)')
{
  max_vuln = '3.0.1.3';
  fix = '3.0.1.4';
}
else if (ver =~ '^3\\.1\\.1([^0-9]|$)')
{
  max_vuln = '3.1.1.0';
  fix = '3.1.1.1';
}
else fix = NULL;

# Check if the installation is vulnerable.
if (!isnull(fix) && ver_compare(ver:ver, fix:max_vuln, strict:FALSE) <= 0)
{
  if (report_verbosity > 0)
  {
    report =
      '\n  Version source    : ' + banner +
      '\n  Installed version : ' + pristine +
      '\n  Fixed version     : ' + fix +
      '\n';
    security_hole(port:port, extra:report);
  }
  else security_hole(port);
}
else exit(0, "The Oracle GlassFish "+pristine+" install on port " + port + " is not affected.");
VendorProductVersionCPE
oracleglassfish_servercpe:/a:oracle:glassfish_server

7.8 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:N/I:N/A:C

0.013 Low

EPSS

Percentile

86.2%