Lucene search
+L

TUTOS phpinfo() Information Disclosure (HTTP) - Active Check

🗓️ 16 Jun 2016 00:00:00Reported by Copyright (C) 2016 SCHUTZWERK GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 30 Views

TUTOS phpinfo() Information Disclosure (HTTP) - Active Check. TUTOS allows remote attackers to read system information via a direct request to php/admin/phpinfo.php, which calls the phpinfo function

Related
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2008-0149
9 Jan 200800:00
cve
cvelist
Cvelist
CVE-2008-0149
9 Jan 200800:00
cvelist
exploitdb
Exploit DB
TUTOS 1.3 - 'cmd.php' Remote Command Execution
7 Jan 200800:00
exploitdb
euvd
EUVD
EUVD-2008-0162
7 Oct 202500:30
euvd
nvd
NVD
CVE-2008-0149
9 Jan 200800:46
nvd
openvas
OpenVAS
phpinfo() Output Reporting (HTTP)
3 Nov 200500:00
openvas
prion
Prion
Information disclosure
9 Jan 200800:46
prion
ubuntucve
UbuntuCve
CVE-2008-0149
9 Jan 200800:46
ubuntucve
# SPDX-FileCopyrightText: 2016 SCHUTZWERK GmbH
# 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-or-later

CPE = "cpe:/a:tutos:tutos";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.111106");
  script_version("2025-11-11T05:40:18+0000");
  script_cve_id("CVE-2008-0149");
  script_tag(name:"last_modification", value:"2025-11-11 05:40:18 +0000 (Tue, 11 Nov 2025)");
  script_tag(name:"creation_date", value:"2016-06-16 16:40:16 +0200 (Thu, 16 Jun 2016)");
  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_name("TUTOS phpinfo() Information Disclosure (HTTP) - Active Check");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2016 SCHUTZWERK GmbH");
  script_family("Web application abuses");
  script_dependencies("sw_tutos_detect.nasl");
  script_require_ports("Services/www", 80);
  script_mandatory_keys("tutos/installed");

  script_tag(name:"summary", value:"TUTOS allows remote attackers to read system information via a
  direct request to php/admin/phpinfo.php, which calls the phpinfo function.");

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

  script_tag(name:"impact", value:"Some of the information that can be gathered from this file
  includes: The username of the user who installed php, if they are a SUDO user, the IP address of
  the host, the web server version, the system version(unix / linux), and the root directory of the
  web server.");

  script_tag(name:"solution", value:"Delete the listed file or restrict access to it.");

  script_tag(name:"qod_type", value:"remote_banner");
  script_tag(name:"solution_type", value:"Workaround");

  exit(0);
}

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

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

if( ! dir = get_app_location( cpe:CPE, port:port ) )
  exit( 0 );

if( dir == "/" )
  dir = "";

url = dir + "/php/admin/phpinfo.php";

host = http_host_name( dont_add_port:TRUE );
res = http_get_cache( item:url, port:port );
if( ! res || res !~ "^HTTP/1\.[01] 200" )
  exit( 0 );

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