Lucene search

K
nessusThis script is Copyright (C) 2006-2022 and is owned by Tenable, Inc. or an Affiliate thereof.BLUEDRAGON_621.NASL
HistoryJun 23, 2006 - 12:00 a.m.

BlueDragon 6.2.1 Multiple Remote Vulnerabilities (XSS, DoS)

2006-06-2300:00:00
This script is Copyright (C) 2006-2022 and is owned by Tenable, Inc. or an Affiliate thereof.
www.tenable.com
17

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

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

EPSS

0.03

Percentile

90.9%

The remote host is running BlueDragon Server / Server JX, Java-based servers for stand-alone deployment of CFML (ColdFusion Markup Language) pages.

The version of BlueDragon Server / Server JX installed on the remote host fails to sanitize user-supplied input passed as part of the filename before using it in a dynamically-generated error page. An unauthenticated attacker can exploit this issue to execute arbitrary HTML and script code in a user’s browser within the context of the affected application.

In addition, the server reportedly stops responding when it tries to handle a request containing an MS-DOS device name with the ‘.cfm’ extension.

#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#

include('deprecated_nasl_level.inc');
include('compat.inc');

if (description)
{
  script_id(21748);
  script_version("1.28");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");

  script_cve_id("CVE-2006-2310", "CVE-2006-2311");
  script_bugtraq_id(18623, 18624);

  script_name(english:"BlueDragon 6.2.1 Multiple Remote Vulnerabilities (XSS, DoS)");

  script_set_attribute(attribute:"synopsis", value:
"The remote web server is prone to denial of service and cross-site
scripting attacks.");
  script_set_attribute(attribute:"description", value:
"The remote host is running BlueDragon Server / Server JX, Java-based
servers for stand-alone deployment of CFML (ColdFusion Markup
Language) pages. 

The version of BlueDragon Server / Server JX installed on the remote
host fails to sanitize user-supplied input passed as part of the
filename before using it in a dynamically-generated error page.  An
unauthenticated attacker can exploit this issue to execute arbitrary
HTML and script code in a user's browser within the context of the
affected application. 

In addition, the server reportedly stops responding when it tries to
handle a request containing an MS-DOS device name with the '.cfm'
extension.");
  # https://secuniaresearch.flexerasoftware.com/secunia_research/2006-18/advisory/
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?edca57c9");
  script_set_attribute(attribute:"solution", value:
"Unknown at this time.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P");
  script_set_cvss_temporal_vector("CVSS2#E:POC/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:"2006/06/23");
  script_set_attribute(attribute:"plugin_publication_date", value:"2006/06/23");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:new_atlanta_communications:bluedragon_server");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_end_attributes();

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

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

  script_dependencies("http_version.nasl", "cross_site_scripting.nasl");
  script_require_ports("Services/www", 8080);

  exit(0);
}


include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
include("url_func.inc");


port = get_http_port(default:8080);
if (get_kb_item("www/"+port+"/generic_xss")) exit(0);

# Make sure the banner looks like BlueDragon.
banner = get_http_banner(port:port);
if (!banner || "BlueDragon" >!< banner) exit(0);


# Try to exploit the flaw.
xss = string("<script>alert('", SCRIPT_NAME, "')</script>");
r = http_send_recv3(method:"GET", item:string("/", urlencode(str:xss), ".cfm"), port:port);
if (isnull(r)) exit(0);
# nb: keepalives seem to sometimes cause the script to fail.
res = strcat(r[0], r[1], '\r\n', r[2]);

# There's a problem if we see our XSS.
if (string("Request</TD><TD>/", xss) >< res)
{
 security_warning(port);
 set_kb_item(name: 'www/'+port+'/XSS', value: TRUE);
}

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

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

EPSS

0.03

Percentile

90.9%

Related for BLUEDRAGON_621.NASL