Lucene search
K

MantisBT Multiple Local File Include and Cross Site Scripting Vulnerabilities

🗓️ 30 Sep 2011 00:00:00Reported by Copyright (C) 2011 SecPodType 
openvas
 openvas
🔗 plugins.openvas.org👁 28 Views

MantisBT Multiple Local File Include and Cross Site Scripting Vulnerabilities. Successful exploitation will allow attackers to conduct cross-site scripting attacks and disclose potentially sensitive information. Input appended to the URL after manage_config_email_page.php, manage_config_workflow_page.php and bugs/plugin.php is not properly sanitised before being returned to the user. Input passed to the 'action' parameter in bug_actiongroup_ext_page.php and bug_actiongroup_page.php is not properly verified before being used to include files. Input passed to the 'os', 'os_build', and 'platform' parameters in bug_report_page.php and bug_update_advanced_page.php is not properly sanitised before being returned to the user. Upgrade to MantisBT version 1.2.8 or later. For updates refer to http://www.mantisbt.org/download.php. This host is running MantisBT and is prone to multiple local file include and cross-site scripting vulnerabilities. MantisBT versions prior to 1.2.

Related
Refs
Code
ReporterTitlePublishedViews
Family
IBM Security Bulletins
Potential Security Vulnerabilities With JavaTM SDKs
17 Jun 201814:01
ibm
CVE
CVE-2011-3356
21 Sep 201116:00
cve
CVE
CVE-2011-3357
21 Sep 201116:00
cve
CVE
CVE-2011-3358
21 Sep 201116:00
cve
CVE
CVE-2011-3578
21 Sep 201116:00
cve
Cvelist
CVE-2011-3356
21 Sep 201116:00
cvelist
Cvelist
CVE-2011-3357
21 Sep 201116:00
cvelist
Cvelist
CVE-2011-3358
21 Sep 201116:00
cvelist
Cvelist
CVE-2011-3578
21 Sep 201116:00
cvelist
d2
DSquare Exploit Pack: D2SEC_MANTISBT
21 Sep 201116:55
d2
Rows per page
##############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_mantis_mult_lfi_n_xss_vuln.nasl 7044 2017-09-01 11:50:59Z teissa $
#
# MantisBT Multiple Local File Include and Cross Site Scripting Vulnerabilities
#
# Authors:
# Sooraj KS <[email protected]>
#
# Copyright:
# Copyright (c) 2011 SecPod, http://www.secpod.com
#
# 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 attackers to conduct cross-site scripting
  attacks and disclose potentially sensitive information.
  Impact Level: Application";
tag_affected = "MantisBT versions prior to 1.2.8";

tag_insight = "- Input appended to the URL after manage_config_email_page.php,
    manage_config_workflow_page.php and bugs/plugin.php is not properly
    sanitised before being returned to the user.
  - Input passed to the 'action' parameter in bug_actiongroup_ext_page.php
    and bug_actiongroup_page.php is not properly verified before being used
    to include files.
  - Input passed to the 'os', 'os_build', and 'platform' parameters in
    bug_report_page.php and bug_update_advanced_page.php is not properly
    sanitised before being returned to the user.";
tag_solution = "Upgrade to MantisBT version 1.2.8 or later.
  For updates refer to http://www.mantisbt.org/download.php";
tag_summary = "This host is running MantisBT and is prone to multiple local file
  include and cross-site scripting vulnerabilities.";

if(description)
{
  script_id(902573);
  script_version("$Revision: 7044 $");
  script_tag(name:"last_modification", value:"$Date: 2017-09-01 13:50:59 +0200 (Fri, 01 Sep 2017) $");
  script_tag(name:"creation_date", value:"2011-09-30 15:58:03 +0200 (Fri, 30 Sep 2011)");
  script_bugtraq_id(49448);
  script_cve_id("CVE-2011-3356", "CVE-2011-3357", "CVE-2011-3358", "CVE-2011-3578");
  script_tag(name:"cvss_base", value:"6.8");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:P");
  script_name("MantisBT Multiple Local File Include and Cross Site Scripting Vulnerabilities");
  script_xref(name : "URL" , value : "http://secunia.com/advisories/45829/");
  script_xref(name : "URL" , value : "http://www.mantisbt.org/bugs/view.php?id=13191");
  script_xref(name : "URL" , value : "http://www.mantisbt.org/bugs/view.php?id=13281");
  script_xref(name : "URL" , value : "https://www.htbridge.ch/advisory/multiple_vulnerabilities_in_mantisbt.html");

  script_tag(name:"qod_type", value:"remote_banner");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2011 SecPod");
  script_dependencies("mantis_detect.nasl");
  script_family("Web application abuses");
  script_require_ports("Services/www", 80);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  exit(0);
}


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

## Get HTTP Port
mantisPort = get_http_port(default:80);
if(!get_port_state(mantisPort)){
  exit(0);
}

## Check Host Supports PHP
if(!can_host_php(port:mantisPort)){
  exit(0);
}

## GET the version from KB
mantisVer = get_version_from_kb(port:mantisPort,app:"mantis");
if(mantisVer)
{
  ## Check for the MantisBT versions prior to 1.2.8
  if(version_is_less(version:mantisVer, test_version:"1.2.8")){
    security_message(mantisPort);
  }
}

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