Lucene search

K
nessusThis script is Copyright (C) 2010-2021 Tenable Network Security, Inc.IBM_LOGIN_QS_XSS.NASL
HistoryMar 15, 2010 - 12:00 a.m.

IBM Multiple Products login.php Query String XSS

2010-03-1500:00:00
This script is Copyright (C) 2010-2021 Tenable Network Security, Inc.
www.tenable.com
82

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.006 Low

EPSS

Percentile

78.6%

The version of IBM WebSphere Portal / IBM Lotus Web Content Management running on the remote host has a cross-site scripting vulnerability. The query string passed to login.php is not properly sanitized.

A remote attacker could exploit this by tricking a user into requesting a maliciously crafted URL, resulting in the execution of arbitrary script code.

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


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


if (description)
{
  script_id(45059);
  script_version("1.10");

  script_cve_id("CVE-2010-0714");
  script_bugtraq_id(38412);
  script_xref(name:"Secunia", value:"38174");

  script_name(english:"IBM Multiple Products login.php Query String XSS");
  script_summary(english:"Attempts a non-persistent XSS");

  script_set_attribute(
    attribute:"synopsis",
    value:
"A web application on the remote host has a cross-site scripting
vulnerability."
  );
  script_set_attribute(
    attribute:"description",
    value:
"The version of IBM WebSphere Portal / IBM Lotus Web Content
Management running on the remote host has a cross-site scripting
vulnerability.  The query string passed to login.php is not properly
sanitized. 

A remote attacker could exploit this by tricking a user into
requesting a maliciously crafted URL, resulting in the execution of
arbitrary script code."
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://www.hacktics.com/content/advisories/AdvIBM20100224.html"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"https://seclists.org/bugtraq/2010/Feb/225"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://www-01.ibm.com/support/docview.wss?uid=swg21421469"
  );
  script_set_attribute(
    attribute:"solution",
    value:"Apply the relevant fix referenced in the IBM advisory."
  );
  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(79);
  script_set_attribute(attribute:"vuln_publication_date",value:"2010/02/24");
  script_set_attribute(attribute:"patch_publication_date",value:"2010/02/24");
  script_set_attribute(attribute:"plugin_publication_date",value:"2010/03/15");
 script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/19");
  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe",value:"cpe:/a:ibm:websphere_portal");
  script_end_attributes();

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

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

  script_dependencies("http_version.nasl");
  script_exclude_keys("Settings/disable_cgi_scanning");
  script_require_ports("Services/www", 10040);

  exit(0);
}


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


port = get_http_port(default:10040);
xss = '"><script>alert("'+SCRIPT_NAME+'-'+unixtime()+'")</script>';
dir = '/wps/wcm/webinterface/login';
page = '/login.jsp';

exploited = test_cgi_xss(
  port:port,
  dirs:make_list(dir),
  cgi:page,
  qs:xss,
  pass_str:'value="'+xss,
  ctrl_re:'<title>IBM Lotus Web Content Management.</title>'
);

if (!exploited)
  exit(0, build_url(qs:dir+page, port:port) + " is not affected.");


VendorProductVersionCPE
ibmwebsphere_portalcpe:/a:ibm:websphere_portal

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.006 Low

EPSS

Percentile

78.6%

Related for IBM_LOGIN_QS_XSS.NASL