OCS Inventory NG < 1.02.1 Multiple SQLi Vulnerabilities
🗓️ 15 Sep 2009 00:00:00Reported by Copyright (C) 2009 Greenbone AGType
openvas🔗 plugins.openvas.org👁 28 Views
| Reporter | Title | Published | Views | Family All 12 |
|---|---|---|---|---|
| CVE-2009-3040 | 1 Jun 200900:00 | – | circl | |
| CVE-2009-3040 | 1 Sep 200918:04 | – | cve | |
| CVE-2009-3040 | 1 Sep 200918:04 | – | cvelist | |
| CVE-2009-3040 | 1 Sep 200918:04 | – | debiancve | |
| OCS Inventory NG 1.02 - Multiple SQL Injections | 1 Jun 200900:00 | – | exploitdb | |
| EUVD-2009-3024 | 7 Oct 202500:30 | – | euvd | |
| CVE-2009-3040 | 1 Sep 200918:30 | – | nvd | |
| DEBIAN-CVE-2009-3040 | 1 Sep 200918:30 | – | osv | |
| UBUNTU-CVE-2009-3040 | 1 Sep 200918:30 | – | osv | |
| Sql injection | 1 Sep 200918:30 | – | prion |
10
| Source | Link |
|---|---|
| securityfocus | www.securityfocus.com/bid/35152 |
| leidecker | www.leidecker.info/advisories/2009-05-30-ocs_inventory_ng_sql_injection.shtml |
| securityfocus | www.securityfocus.com/archive/1/archive/1/503936/100/0/threaded |
# SPDX-FileCopyrightText: 2009 Greenbone AG
# 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-only
CPE = "cpe:/a:ocsinventory-ng:ocs_inventory_ng";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.900938");
script_version("2026-05-08T16:04:57+0000");
script_tag(name:"last_modification", value:"2026-05-08 16:04:57 +0000 (Fri, 08 May 2026)");
script_tag(name:"creation_date", value:"2009-09-15 09:32:43 +0200 (Tue, 15 Sep 2009)");
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_cve_id("CVE-2009-3040");
script_tag(name:"qod_type", value:"remote_banner");
script_tag(name:"solution_type", value:"VendorFix");
script_name("OCS Inventory NG < 1.02.1 Multiple SQLi Vulnerabilities");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2009 Greenbone AG");
script_family("Web application abuses");
script_dependencies("gb_ocs_inventory_http_detect.nasl");
script_mandatory_keys("ocs_inventory/detected");
script_tag(name:"summary", value:"OCS Inventory NG is prone to multiple SQL injection (SQLi)
vulnerabilities.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"The user supplied input passedd into 'N', 'DL', 'O', 'v'
parameters in download.php and 'systemid' parameter in group_show.php file is not sanitised
before being used in an SQL query.");
script_tag(name:"impact", value:"Successful exploitation will allow attackers to inject arbitrary
SQL code and obtain sensitive information about system configurations and software on the
network.");
script_tag(name:"affected", value:"OCS Inventory NG version 1.02 and probably prior.");
script_tag(name:"solution", value:"Update to version 1.02.1 or later.");
script_xref(name:"URL", value:"http://www.securityfocus.com/archive/1/archive/1/503936/100/0/threaded");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/35152");
script_xref(name:"URL", value:"http://www.leidecker.info/advisories/2009-05-30-ocs_inventory_ng_sql_injection.shtml");
exit(0);
}
include("host_details.inc");
include("version_func.inc");
if (!port = get_app_port(cpe: CPE))
exit(0);
if (!infos = get_app_version_and_location(cpe: CPE, port: port, exit_no_version: TRUE))
exit(0);
vers = infos["version"];
path = infos["location"];
if (version_is_less(version: vers, test_version: "1.02.1")) {
report = report_fixed_ver(installed_version: vers, fixed_version: "1.02.1", install_path: path);
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
08 May 2026 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.01422