Lucene search
K

STHS v2 Web Portal 'team' parameter Multiple SQL Injection Vulnerabilities

🗓️ 15 Feb 2012 00:00:00Reported by This script is Copyright (C) 2012 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 51 Views

STHS v2 Web Portal 'team' parameter Multiple SQL Injection Vulnerabilities identified as OpenVAS Vulnerabilit

Related
Refs
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2012-1217
13 Feb 201200:00
circl
CVE
CVE-2012-1217
20 Feb 201220:00
cve
Cvelist
CVE-2012-1217
20 Feb 201220:00
cvelist
EUVD
EUVD-2012-1243
7 Oct 202500:30
euvd
NVD
CVE-2012-1217
21 Feb 201213:31
nvd
OpenVAS
STHS v2 Web Portal 'team' parameter Multiple SQLi Vulnerabilities
15 Feb 201200:00
openvas
Prion
Cross site scripting
21 Feb 201213:31
prion
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_STHS_51991.nasl 5700 2017-03-23 16:03:37Z cfi $
#
# STHS v2 Web Portal 'team' parameter Multiple SQL Injection Vulnerabilities
#
# Authors:
# Michael Meyer <[email protected]>
#
# Copyright:
# Copyright (c) 2012 Greenbone Networks GmbH
#
# 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.
###############################################################################

tag_summary = "STHS v2 Web Portal is prone to multiple SQL-injection vulnerabilities
because the application fails to sufficiently sanitize user-supplied
data before using it in an SQL query.

Exploiting these issues could allow an attacker to compromise the
application, access or modify data, or exploit latent vulnerabilities
in the underlying database.

STHS v2 Web Portal 2.2 is vulnerable; other versions may also
be affected.";

if (description)
{
 script_id(103421);
 script_bugtraq_id(51991);
 script_cve_id("CVE-2012-1217");
 script_version("$Revision: 5700 $");
 script_name("STHS v2 Web Portal 'team' parameter Multiple SQL Injection Vulnerabilities");
 script_xref(name : "URL" , value : "http://www.securityfocus.com/bid/51991");
 script_xref(name : "URL" , value : "http://xforce.iss.net/xforce/xfdb/73154");
 script_xref(name : "URL" , value : "http://www.simhl.net/");
 script_xref(name : "URL" , value : "http://0nto.wordpress.com/2012/02/13/sths-v2-web-portal-2-2-sql-injection-vulnerabilty/");

 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_tag(name:"last_modification", value:"$Date: 2017-03-23 17:03:37 +0100 (Thu, 23 Mar 2017) $");
 script_tag(name:"creation_date", value:"2012-02-15 11:22:27 +0100 (Wed, 15 Feb 2012)");
 script_category(ACT_ATTACK);
 script_tag(name:"qod_type", value:"remote_vul");
 script_family("Web application abuses");
 script_copyright("This script is Copyright (C) 2012 Greenbone Networks GmbH");
 script_dependencies("find_service.nasl", "http_version.nasl");
 script_require_ports("Services/www", 80);
 script_exclude_keys("Settings/disable_cgi_scanning");

 script_tag(name : "summary" , value : tag_summary);

 exit(0);
}

include("http_func.inc");
include("http_keepalive.inc");
   
port = get_http_port( default:80 );
if( ! can_host_php( port:port ) ) exit( 0 );

foreach dir( make_list_unique( "/", cgi_dirs( port:port ) ) ) {

  if( dir == "/" ) dir = "";
  url = dir + "/home.php";
  buf = http_get_cache( item:url, port:port );

  if( buf =~ "Site powered by.*SIMHL.net" ) {

    url = dir + "/prospects.php?team=-1%20union%20select%20openvas_sqli_test,saf,3,4,5,6,7,8,9,10,11,12";

    if( http_vuln_check( port:port, url:url, pattern:"Unknown column 'openvas_sqli_test' in 'field list'" ) ) {
      report = report_vuln_url( port:port, url:url );
      security_message( port:port, data:report );
      exit( 0 );
    }
  }
}

exit( 99 );

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

23 Mar 2017 00:00Current
0.6Low risk
Vulners AI Score0.6
EPSS0.01457
51