IBM Lotus Sametime Multiple Cross-Site Scripting Vulnerabilities

2011-03-09T00:00:00
ID OPENVAS:1361412562310801901
Type openvas
Reporter This script is Copyright (C) 2011 Greenbone Networks GmbH
Modified 2018-10-20T00:00:00

Description

The host is running IBM Lotus Sametime Server and is prone to cross site scripting vulnerability

                                        
                                            ###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_ibm_lotus_sametime_xss_vuln.nasl 11997 2018-10-20 11:59:41Z mmartin $
#
# IBM Lotus Sametime Server 'stcenter.nsf' Cross Site Scripting Vulnerability
#
# Authors:
# Antu Sanadi <santu@secpod.com>
#
# Copyright:
# Copyright (c) 2011 Greenbone Networks GmbH, http://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################

CPE = 'cpe:/a:ibm:lotus_domino';

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.801901");
  script_version("$Revision: 11997 $");
  script_tag(name:"last_modification", value:"$Date: 2018-10-20 13:59:41 +0200 (Sat, 20 Oct 2018) $");
  script_tag(name:"creation_date", value:"2011-03-09 16:08:21 +0100 (Wed, 09 Mar 2011)");
  script_cve_id("CVE-2011-1106");
  script_tag(name:"cvss_base", value:"4.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:N");
  script_name("IBM Lotus Sametime Multiple Cross-Site Scripting Vulnerabilities");
  script_xref(name:"URL", value:"http://secunia.com/advisories/43430/");
  script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/65555");
  script_xref(name:"URL", value:"http://downloads.securityfocus.com/vulnerabilities/exploits/46481.txt");
  script_xref(name:"URL", value:"http://www-01.ibm.com/support/docview.wss?rs=899&uid=swg21496276");

  script_category(ACT_ATTACK);
  script_family("Web application abuses");
  script_copyright("This script is Copyright (C) 2011 Greenbone Networks GmbH");
  script_dependencies("gb_lotus_domino_detect.nasl");
  script_require_ports("Services/www", 80);
  script_mandatory_keys("dominowww/installed");

  script_tag(name:"impact", value:"Successful exploitation allows remote attackers to execute
  arbitrary HTML and script code in a user's browser session in context of an affected site.");
  script_tag(name:"affected", value:"IBM Lotus Sametime version 8.0 and 8.0.1");
  script_tag(name:"insight", value:"Input passed to the 'authReasonCode' parameter in 'stcenter.nsf'
  when 'OpenDatabase' is set, is not properly sanitised before being returned to the user.");
  script_tag(name:"solution", value:"Vendor has released a patch to fix this issue, please refer
  below link for patch information.");
  script_tag(name:"summary", value:"The host is running IBM Lotus Sametime Server and is prone to
  cross site scripting vulnerability");

  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"qod_type", value:"remote_vul");

  exit(0);
}


include("http_func.inc");
include("http_keepalive.inc");
include("host_details.inc");

if( ! port = get_app_port( cpe:CPE, service:"www" ) ) exit( 0 );

url = "/stcenter.nsf?OpenDatabase&authReasonCode=" +
      "'><script>alert('XSS-TEST');</script>'";

if( http_vuln_check(port:port, url:url, check_header:TRUE,
    pattern:"<script>alert\('XSS-TEST'\)</script>" ) ) {
  report = report_vuln_url( port:port, url:url );
  security_message( port:port, data:report );
  exit( 0 );
}

exit( 99 );