Lucene search
+L

Openfiler Multiple Vulnerabilities (Sep 2012) - Active Check

🗓️ 25 Sep 2012 00:00:00Reported by Copyright (C) 2012 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 24 Views

Openfiler Multiple Vulnerabilities. Allows execution of arbitrary commands in user's browser session, disclosure of PHP configuration details, and gaining sensitive information

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
attackerkb
CVE-2012-10040
11 Aug 202514:56
attackerkb
circl
Circl
CVE-2012-10040
29 May 201815:50
circl
cnnvd
CNNVD
Openfiler 安全漏洞
11 Aug 202500:00
cnnvd
cve
CVE
CVE-2012-10040
11 Aug 202514:56
cve
cvelist
Cvelist
CVE-2012-10040 Openfiler v2.x NetworkCard Command Execution
11 Aug 202514:56
cvelist
euvd
EUVD
EUVD-2012-6596
7 Oct 202500:30
euvd
metasploit
Metasploit
Openfiler v2.x NetworkCard Command Execution
4 Sep 201200:00
metasploit
nvd
NVD
CVE-2012-10040
11 Aug 202515:15
nvd
ptsecurity
Positive Technologies
PT-2025-32553 · Openfiler · Openfiler
11 Aug 202500:00
ptsecurity
rapid7
Rapid7 Vulnerability Database (full)
CVE-2012-10040: Improper Neutralization of Special Elements used in an OS Command
11 Aug 202500:00
rapid7
Rows per page
# SPDX-FileCopyrightText: 2012 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.802967");
  script_version("2025-11-11T05:40:18+0000");
  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_tag(name:"last_modification", value:"2025-11-11 05:40:18 +0000 (Tue, 11 Nov 2025)");
  script_tag(name:"creation_date", value:"2012-09-25 17:31:13 +0530 (Tue, 25 Sep 2012)");
  script_cve_id("CVE-2012-10040");
  script_name("Openfiler Multiple Vulnerabilities (Sep 2012) - Active Check");
  script_xref(name:"URL", value:"https://www.exploit-db.com/exploits/21191");
  script_xref(name:"URL", value:"https://web.archive.org/web/20210922060411/https://itsecuritysolutions.org/2012-09-06-Openfiler-v2.x-multiple-vulnerabilities/");
  script_xref(name:"URL", value:"https://packetstorm.news/files/id/116405");
  script_xref(name:"URL", value:"https://web.archive.org/web/20210123154002/http://www.securityfocus.com/bid/55500");
  script_xref(name:"URL", value:"http://secunia.com/advisories/42507");
  script_xref(name:"URL", value:"http://forums.cnet.com/7726-6132_102-5357559.html");
  script_xref(name:"URL", value:"https://dev.openfiler.com/attachments/152/Openfiler_v2.99.1_multiple_vulnerabilities.txt");

  # nb: Not really an attack request (just a plain GET to the phpinfo.php file)...
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2012 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("find_service.nasl", "httpver.nasl", "global_settings.nasl");
  script_require_ports("Services/www", 446);
  script_exclude_keys("Settings/disable_cgi_scanning");

  script_tag(name:"vuldetect", value:"Sends a crafted HTTP GET request and checks the response.

  Notes:

  - This script checks for the presence of the phpinfo.html flaw which indicates that the system
  is also affected by the other attached flaws.

  - It is currently expected that a result of this VT is reported if the system is generally
  exposing a phpinfo() output on the relevant URL / endpoint (independent from the running product).
  Exposing such sensitive information is generally seen as a security misconfiguration and should be
  avoided.");

  script_tag(name:"impact", value:"Successful exploitation will allow attacker to execute arbitrary
  HTML and script code, arbitrary commands in a user's browser session in context of an affected
  site and gain sensitive information.");

  script_tag(name:"affected", value:"Openfiler versions 2.3, 2.99.1 and 2.99.2 are known to be
  affected. Other versions might be affected as well.");

  script_tag(name:"insight", value:"- 'usercookie' and 'passcookie' cookies contain the username and
  password, respectively, in plain text and these cookies are not protected with the 'HttpOnly'
  flag.

  - Input passed to the 'device' parameter in system.html and 'targetName' parameter in
  volumes_iscsi_targets.html is not properly sanitised before being returned to the user.

  - Access not being restricted to uptime.html and phpinfo.html can be exploited to disclose PHP
  configuration details.

  - Input passed to the 'device' parameter in /opt/openfiler/var/www/htdocs/admin/system.html is not
  properly satinitised, which allows 'openfiler' user to execute arbitrary commands by injecting
  commands into the 'device' parameter.");

  script_tag(name:"solution", value:"No known solution was made available for at least one year
  since the disclosure of this vulnerability. Likely none will be provided anymore. General solution
  options are to upgrade to a newer release, disable respective features, remove the product or
  replace the product by another one.");

  script_tag(name:"summary", value:"Openfiler is prone to multiple vulnerabilities.");

  script_tag(name:"solution_type", value:"WillNotFix");

  script_tag(name:"qod_type", value:"remote_app");

  exit(0);
}

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

port = http_get_port(default:446);

res = http_get_cache(item:"/", port:port);

if(res && ">Openfiler Storage Control Center<" >< res && ">Openfiler<" >< res) {

  url = "/phpinfo.html";
  res = http_get_cache(item:url, port:port);
  if(!res || res !~ "^HTTP/1\.[01] 200")
    continue;

  if(concl = http_check_for_phpinfo_output(data:res)) {
    report = http_report_vuln_url(port:port, url:url);
    report += '\nConcluded from:\n' + concl;
    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 Nov 2025 00:00Current
7.7High risk
Vulners AI Score7.7
CVSS 49.4
EPSS0.02394
SSVC
24