Lucene search

K
nessusThis script is Copyright (C) 2006-2022 Tenable Network Security, Inc.WEBSPHERE_SOAP_FAULTACTOR_XSS.NASL
HistoryNov 16, 2006 - 12:00 a.m.

IBM WebSphere Application Server SOAP Connector Error Page XSS

2006-11-1600:00:00
This script is Copyright (C) 2006-2022 Tenable Network Security, Inc.
www.tenable.com
33

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

0.015 Low

EPSS

Percentile

86.8%

The remote SOAP server fails to sanitize user input via the URI before using it to generate dynamic XML content in an error page. An unauthenticated, remote attacker may be able to leverage this issue to inject arbitrary XML into a user’s browser.

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

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

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

  script_cve_id("CVE-2006-2431");
  script_bugtraq_id(17919);

  script_name(english:"IBM WebSphere Application Server SOAP Connector Error Page XSS");

  script_set_attribute(attribute:"synopsis", value:
"The remote SOAP server is vulnerable to a cross-site scripting
attack.");
  script_set_attribute(attribute:"description", value:
"The remote SOAP server fails to sanitize user input via the URI
before using it to generate dynamic XML content in an error page.  An
unauthenticated, remote attacker may be able to leverage this issue to
inject arbitrary XML into a user's browser.");
  script_set_attribute(attribute:"see_also", value:"https://www.securityfocus.com/archive/1/450704/30/0/threaded");
  script_set_attribute(attribute:"see_also", value:"http://www-01.ibm.com/support/search.wss?rs=0&q=PK16602&apar=only");
  script_set_attribute(attribute:"solution", value:
"Apply version 5.0.2 Cumulative Fix 17 / 5.1.1 Cumulative Fix 12 /
6.0.2 Fix Pack 9, depending on the installed version of IBM WebSphere
Application Server.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N");
  script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C");

  script_set_attribute(attribute:"exploitability_ease", value:"No exploit is required");
  script_set_attribute(attribute:"exploit_available", value:"false");
  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/05/10");
  script_set_attribute(attribute:"patch_publication_date", value:"2006/04/28");
  script_set_attribute(attribute:"plugin_publication_date", value:"2006/11/16");

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

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

  script_copyright(english:"This script is Copyright (C) 2006-2022 Tenable Network Security, Inc.");

  script_dependencies("soap_detect.nasl");
  script_require_keys("www/WebSphere");
  script_require_ports("Services/soap_http", 8880);

  exit(0);
}

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


port = get_kb_item("Services/soap_http");
if (!port) port = 8880;
if (!get_port_state(port)) exit(0);


# Make sure the banner is for WebSphere.
banner = get_http_banner(port:port);
if (!banner || "Server: WebSphere Application Server" >!< banner) exit(0);


# Send a request to exploit the flaw.
xss = string("/<nessus>", SCRIPT_NAME, "</nessus>");
w = http_send_recv3(method:"GET", item:xss, port:port);
if (isnull(w)) exit(0);
res = w[2];

# There's a problem if our exploit appears in 'faultactor' as-is.
if (string("<faultactor>", xss, "</faultactor>") >< res) 
{
  security_warning(port);
  set_kb_item(name: 'www/'+port+'/XSS', value: TRUE);
}

VendorProductVersionCPE
ibmwebsphere_application_servercpe:/a:ibm:websphere_application_server

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

0.015 Low

EPSS

Percentile

86.8%

Related for WEBSPHERE_SOAP_FAULTACTOR_XSS.NASL