Lucene search

K
openvasCopyright (C) 2011 Greenbone Networks GmbHOPENVAS:1361412562310902407
HistoryApr 01, 2011 - 12:00 a.m.

BugTracker.NET Cross-Site Scripting and SQL Injection Vulnerabilities

2011-04-0100:00:00
Copyright (C) 2011 Greenbone Networks GmbH
plugins.openvas.org
14

CVSS2

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:S/C:P/I:P/A:P

AI Score

6.9

Confidence

Low

EPSS

0.002

Percentile

59.9%

BugTracker.NET is prone to cross-site scripting and SQL injection vulnerabilities.

# Copyright (C) 2011 Greenbone Networks GmbH
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# 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.

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.902407");
  script_version("2022-04-28T13:38:57+0000");
  script_tag(name:"last_modification", value:"2022-04-28 13:38:57 +0000 (Thu, 28 Apr 2022)");
  script_tag(name:"creation_date", value:"2011-04-01 15:39:52 +0200 (Fri, 01 Apr 2011)");
  script_cve_id("CVE-2010-3266", "CVE-2010-3267");
  script_tag(name:"cvss_base", value:"6.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:P/I:P/A:P");
  script_name("BugTracker.NET Cross-Site Scripting and SQL Injection Vulnerabilities");
  script_xref(name:"URL", value:"http://secunia.com/advisories/42418");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/45121");
  script_xref(name:"URL", value:"http://www.exploit-db.com/exploits/15653/");
  script_xref(name:"URL", value:"http://www.securityfocus.com/archive/1/archive/1/514957/100/0/threaded");
  script_xref(name:"URL", value:"http://www.coresecurity.com/content/multiple-vulnerabilities-in-bugtracker");

  script_tag(name:"qod_type", value:"remote_banner");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2011 Greenbone Networks GmbH");
  script_family("Web application abuses");
  script_dependencies("gb_bugtracker_detect.nasl");
  script_require_ports("Services/www", 80);
  script_mandatory_keys("BugTrackerNET/installed");

  script_tag(name:"impact", value:"Successful exploitation will allow attacker to cause SQL Injection attack
  and to conduct cross-site scripting attacks.");

  script_tag(name:"affected", value:"BugTracker.NET version prior to 3.4.5.");

  script_tag(name:"insight", value:"The flaws are due to:

  - Input passed to the 'pcd' parameter in edit_bug.aspx, 'bug_id' parameter
  in edit_comment.aspx, 'default_name' parameter in edit_customfield.aspx,
  and 'id' parameter in edit_user_permissions2.aspx is not properly sanitised
  before being returned to the user.

  - Input passed via the 'qu_id' parameter to bugs.aspx, 'row_id' parameter to
  delete_query.aspx, 'us_id' and 'new_project' parameters to edit_bug.aspx,
  and 'bug_list' parameter to massedit.aspx is not properly sanitised before
  being used in a SQL query.");

  script_tag(name:"solution", value:"Upgrade to BugTracker.NET version 3.4.5 or later.");

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

  script_tag(name:"summary", value:"BugTracker.NET is prone to cross-site scripting and SQL injection vulnerabilities.");

  exit(0);
}

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

port = http_get_port(default:80);

if(ver = get_version_from_kb(port:port, app:"btnet"))
{
  if(version_is_less(version:ver, test_version: "3.4.5")){
    report = report_fixed_ver(installed_version:ver, fixed_version:"3.4.5");
    security_message(port: port, data: report);
  }
}

CVSS2

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:S/C:P/I:P/A:P

AI Score

6.9

Confidence

Low

EPSS

0.002

Percentile

59.9%