Lucene search
K

OCS Inventory NG Multiple SQL Injection Vulnerabilities

🗓️ 01 Jun 2010 00:00:00Reported by Copyright (C) 2010 SecPodType 
openvas
 openvas
🔗 plugins.openvas.org👁 24 Views

This host is running OCS Inventory NG and is prone to multiple SQL injection vulnerabilities. Successful exploitation will allow remote attackers to view, add, modify or delete information in the back-end database. The flaws are due to the error in the 'index.php' page, which fails to properly verify the user-supplied input via the 'search' form for the various inventory fields and via the All softwares search form for the 'Software name' field

Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2010-1733
5 May 201018:00
cve
Cvelist
CVE-2010-1733
5 May 201018:00
cvelist
Debian CVE
CVE-2010-1733
5 May 201018:00
debiancve
EUVD
EUVD-2010-1753
7 Oct 202500:30
euvd
NVD
CVE-2010-1733
6 May 201012:47
nvd
OpenVAS
Mandriva Update for ocsinventory MDVSA-2010:178 (ocsinventory)
14 Sep 201000:00
openvas
OpenVAS
OCS Inventory NG < 1.02.3 Multiple SQLi Vulnerabilities
1 Jun 201000:00
openvas
OpenVAS
Mandriva Update for ocsinventory MDVSA-2010:178 (ocsinventory)
14 Sep 201000:00
openvas
OSV
DEBIAN-CVE-2010-1733
6 May 201012:47
osv
Prion
Sql injection
6 May 201012:47
prion
Rows per page
##############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_ocs_inventory_ng_mult_sql_inj_vuln_may10.nasl 5394 2017-02-22 09:22:42Z teissa $
#
# OCS Inventory NG Multiple SQL Injection Vulnerabilities
#
# Authors:
# Madhuri D <[email protected]>
#
# Copyright:
# Copyright (c) 2010 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 remote attackers to to view, add, modify
  or delete information in the back-end database.
  Impact Level: Application.";
tag_affected = "OCS Inventory NG prior to 1.02.3";

tag_insight = "The flaws are due to the error in the 'index.php' page, which fails to
  properly varify the user supplied input via the 'search' form for the various
  inventory fields and via the All softwares search form for the 'Software name'
  field.";
tag_solution = "Upgrade to OCS Inventory NG version 1.02.3
  For updates refer to http://www.ocsinventory-ng.org/";
tag_summary = "This host is running OCS Inventory NG and is prone to multiple SQL
  injection vulnerabilities.";

if(description)
{
  script_id(902059);
  script_version("$Revision: 5394 $");
  script_tag(name:"last_modification", value:"$Date: 2017-02-22 10:22:42 +0100 (Wed, 22 Feb 2017) $");
  script_tag(name:"creation_date", value:"2010-06-01 15:40:11 +0200 (Tue, 01 Jun 2010)");
  script_cve_id("CVE-2010-1733");
  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("OCS Inventory NG Multiple SQL Injection Vulnerabilities");
  script_xref(name : "URL" , value : "http://secunia.com/advisories/38311");
  script_xref(name : "URL" , value : "http://xforce.iss.net/xforce/xfdb/55873");

  script_tag(name:"qod_type", value:"remote_banner");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2010 SecPod");
  script_family("Web application abuses");
  script_dependencies("secpod_ocs_inventory_ng_detect.nasl");
  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");

ocsPort = get_http_port(default:80);
if(!get_port_state(ocsPort)){
  exit(0);
}

ocsVer = get_kb_item("www/"+ ocsPort + "/OCS_Inventory_NG");
if(isnull(ocsVer)){
  exit(0);
}

ocsVer = eregmatch(pattern:"^(.+) under (/.*)$", string:ocsVer);
if(ocsVer[1] != NULL)
{
  ## Check the OCS_Inventory_NG version less than 1.02.3
  if(version_is_less(version:ocsVer[1], test_version:"1.02.3")){
    security_message(ocsPort);
  }
}

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