Skip to content
Spiderfootplus

Type to search. Press / or Ctrl K from any page.

Exposure template · medium

phpinfo() page exposed

phpinfo() page exposed. Spiderfootplus requests /phpinfo.php, /info.php, /php_info.php on each web host and reports a match.

What it checks

On every web host the scan discovers, Spiderfootplus sends 3 GET requests and reports a finding when the response matches. It only reads; it never logs in, writes or exploits.

/phpinfo.php/info.php/php_info.php

Detect it

# Every exposure template, with the rest of the web checks$ spiderfootplus scan example.com -p web # List the templates and their severities$ spiderfootplus templates

template_scan is marked invasive: it requests paths a normal visitor would not. Only scan hosts you are authorised to test.

Fix it: turn off debug and diagnostics in production

  1. Disable debug mode and developer tooling in the production configuration.
  2. If the endpoint is needed for operations, bind it to localhost or an internal network and require authentication.
  3. Review recent logs for requests to the endpoint; debug pages often leak environment variables and secrets.

Write your own

Templates are YAML in a nuclei-compatible format. See Write a vulnerability template to add a check like this one.