Lucene search
K

PHP-Nuke opendir.php Traversal Arbitrary File Read

🗓️ 17 Apr 2001 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 24 Views

PHP-Nuke opendir.php allows arbitrary file read on remote server. Upgrade to remediate vulnerability.

Related
Refs
Code
ReporterTitlePublishedViews
Family
Tenable Nessus
PHP-Nuke Software Detection
20 Aug 200400:00
nessus
CVE
CVE-2001-0321
9 Mar 200205:00
cve
Cvelist
CVE-2001-0321
9 Mar 200205:00
cvelist
EUVD
EUVD-2001-0321
7 Oct 202500:30
euvd
NVD
CVE-2001-0321
3 May 200104:00
nvd
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#

include('deprecated_nasl_level.inc');
include('compat.inc');

if (description)
{
  script_id(10655);
  script_version("1.26");
  script_set_attribute(attribute:"plugin_modification_date", value:"2024/11/22");

  script_cve_id("CVE-2001-0321");

  script_name(english:"PHP-Nuke opendir.php Traversal Arbitrary File Read");

  script_set_attribute(attribute:"synopsis", value:
"Arbitrary files may be read on the remote server.");
  script_set_attribute(attribute:"description", value:
"The remote host has the CGI 'opendir.php' installed. This CGI allows
anyone to read arbitrary files with the privileges of the HTTP server.");
  script_set_attribute(attribute:"solution", value:
"Upgrade your version of phpnuke.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N");

  script_set_attribute(attribute:"vuln_publication_date", value:"2001/02/12");
  script_set_attribute(attribute:"plugin_publication_date", value:"2001/04/17");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:phpnuke:php-nuke");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_set_attribute(attribute:"enable_cgi_scanning", value:"true");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"CGI abuses");

  script_copyright(english:"This script is Copyright (C) 2001-2024 Tenable Network Security, Inc.");

  script_dependencies("php_nuke_installed.nasl");
  script_require_ports("Services/www", 80);

  exit(0);
}

include("global_settings.inc");
include("misc_func.inc");
include("http.inc");

port = get_http_port(default:80);
installed = get_kb_item("www/" + port + "/php-nuke");
if ( ! installed ) exit(0);
array = eregmatch(pattern:"(.*) under (.*)", string:installed);
if ( ! array ) exit(0);
url = array[2];


r = http_send_recv3(method:"GET",item:string(url, "/opendir.php?/etc/passwd"), port:port);
if (isnull(r)) exit(0);
res = strcat(r[0], r[1], '\r\n', r[2]);
if(egrep(pattern:".*root:.*:0:[01]:.*", string:res))
  security_warning(port);

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

22 Nov 2024 00:00Current
5.7Medium risk
Vulners AI Score5.7
CVSS 25
EPSS0.0005
24