{"summary":{"plugin_name":"phpinfo-wp","display_name":"phpinfo() WP – Site Health, PHP Compatibility & Server Audit","version":"8.0.8","risk_level":"medium","risk_score":35.0,"risk_factors":{"static_analysis":5,"owasp":10,"attack_surface":15,"superglobal_density":5},"last_analyzed":"2026-11-23T10:21:53.044357","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":3000,"rating":90,"num_ratings":8,"tested":"7.1.5","requires":"5.9","requires_php":"7.3","author":"Exeebit","short_description":"Stop silent site breakages. The ultimate in-admin server audit & per-user troubleshooting tool built for agencies and professional developers.","tags":["health check","php compatibility","phpinfo()","site health","troubleshooting"],"added":"2021-06-11","last_updated":"2026-11-19 1:12am GMT","metadata_fetched_at":"2026-11-23T06:17:37.923603+00:00","modules_missing":[],"modules_failed":[],"latest_release":"8.0.8"},"security_metrics":{"total_issues":6,"parameters_found":104,"unknown_parameters":0,"headers_accessed":7,"cookies_accessed":1,"wp_hooks":2,"rest_routes":0,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A03":2,"A05":25,"A07":3},"attack_surface_level":"large","attack_surface_score":106,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":63.7,"rank":182918,"peer_count":504269,"better_than":63.7,"risk_distribution":{"low":103004,"high":178400,"medium":121926,"critical":38994,"minimal":61945}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A05","name":"Security Misconfiguration","severity":"high","findings_count":25,"description":"Missing appropriate security hardening or improperly configured permissions","recommendations":["Remove phpinfo() and error_reporting()/display_errors overrides from shipped code","Never define WP_DEBUG inside a plugin — leave debug configuration to the site owner","Fail closed: do not expose stack traces or environment details to visitors"],"findings_summary":["Misconfiguration in includes/class-abilities.php:28 - 'description' => __('Inspect PHP version, server configuration, extensions, and audit grade collected by phpinfo() WP.', 'phpinfo-wp'),","Misconfiguration in includes/class-admin-bar.php:74 - \"### 🖥️ WordPress & Server Telemetry (phpinfo() WP v8.0)\",","Misconfiguration in includes/class-admin-nav.php:51 - 'piwp-viewer'     => ['label' => __('phpinfo() Viewer', 'phpinfo-wp'),  'pro' => false, 'icon' => 'dashicons-info'],","Misconfiguration in includes/class-alerts.php:58 - $full    = \"Alert from phpinfo() WP Pro\\nSite: {$site}\\n\\n{$body}\\n\\n---\\n\"","Misconfiguration in includes/class-alerts.php:62 - 'From: phpinfo() WP <' . get_option('admin_email') . '>',"]},{"category":"A07","name":"Identification and Authentication Failures","severity":"high","findings_count":3,"description":"Functions related to a user's identity, authentication, or session management","recommendations":["Enforce strong passwords and rate-limit login attempts","Add MFA/2FA for privileged accounts","Use wp_verify_nonce() and capability checks together — neither alone is sufficient","Audit any authenticate / determine_current_user filter for bypass paths"],"findings_summary":["Auth hook 'wp_login' - Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication","Auth hook 'wp_login_failed' - Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication","Auth hook 'user_register' - Hooks the 'user_register' authentication/identity flow — verify it cannot be abused to bypass authentication"]},{"category":"A03","name":"Injection","severity":"medium","findings_count":2,"description":"User-supplied data is not validated, filtered, or sanitized by the application","recommendations":["Use $wpdb->prepare() for all database queries — never interpolate or concatenate input","Sanitize all user input with appropriate WordPress functions","Escape output based on context (esc_html, esc_attr, etc.)","Never pass user input to eval(), include/require, or a variable function"],"findings_summary":["phpcs_security: Easy XSS detected because of direct user input with $_SERVER on echo","phpcs_security: Easy XSS detected because of direct user input with $_SERVER on echo"]}],"owasp_findings":{"A03":[{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/phpinfo-wp/tags/8.0.8/views/info.php","line":113},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/phpinfo-wp/tags/8.0.8/views/info.php","line":114}],"A05":[{"type":"misconfiguration","file":"includes/class-abilities.php","line":"28","match":"'description' => __('Inspect PHP version, server configuration, extensions, and audit grade collected by phpinfo() WP.', 'phpinfo-wp'),","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"includes/class-admin-bar.php","line":"74","match":"\"### 🖥️ WordPress & Server Telemetry (phpinfo() WP v8.0)\",","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"includes/class-admin-nav.php","line":"51","match":"'piwp-viewer'     => ['label' => __('phpinfo() Viewer', 'phpinfo-wp'),  'pro' => false, 'icon' => 'dashicons-info'],","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"includes/class-alerts.php","line":"58","match":"$full    = \"Alert from phpinfo() WP Pro\\nSite: {$site}\\n\\n{$body}\\n\\n---\\n\"","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"includes/class-alerts.php","line":"62","match":"'From: phpinfo() WP <' . get_option('admin_email') . '>',","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"includes/class-alerts.php","line":"64","match":"$sent = wp_mail($to, \"[phpinfo() WP] {$subject}\", $full, $headers);","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"includes/class-alerts.php","line":"77","match":"$text = \"*[phpinfo() WP] {$subject}*\\nSite: {$site}\\n\\n{$body}\";","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"includes/class-background-scan.php","line":"307","match":"<span style=\"background:rgba(119,123,179,0.12); color:#777BB3; font-size:10.5px; font-weight:700; letter-spacing:0.4px; padding:1px 6px; border-radius:4px; text-transform:uppercase;\">phpinfo() WP</spa","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"includes/class-cli.php","line":"7","match":"* Manage phpinfo() WP from the command line.","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"includes/class-config-grader-fixer.php","line":"567","match":"$lines = [self::mark_begin($mode), \"$c Managed by phpinfo() WP — auto-fix. Edit via the Config Grader page.\"];","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"includes/class-deactivate-modal.php","line":"18","match":"'phpinfo() viewer + .htaccess editor',","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"includes/class-deactivate-modal.php","line":"47","match":"<h2 id=\"phpinfowp-dm-title\" class=\"phpinfowp-dm-title\">Before you deactivate phpinfo() WP…</h2>","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"includes/class-eol.php","line":"72","match":"'<div class=\"notice notice-%s is-dismissible piwp-notice\"><p><strong>phpinfo() WP:</strong> %s</p></div>',","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"includes/class-error-log.php","line":"522","match":"$content = preg_replace(\"/define\\s*\\(\\s*['\\\"]WP_DEBUG['\\\"]\\s*,\\s*[^)]+\\);/i\", \"define( 'WP_DEBUG', true );\", $content, 1);","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"includes/class-error-log.php","line":"534","match":"if (!$has_debug)   $block .= \"define( 'WP_DEBUG', true );\\n\";","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"includes/class-error-log.php","line":"562","match":"$mu_code = \"<?php\\n// Generated by phpinfo() WP - Safe Error Logging\\ndefined('ABSPATH') or die();\\nif (!defined('WP_DEBUG')) define('WP_DEBUG', true);\\nif (!defined('WP_DEBUG_LOG')) define('WP_DEBUG_","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"includes/class-mail-check.php","line":"325","match":"$subject = '[phpinfo() WP] Mail deliverability test';","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"includes/class-network.php","line":"13","match":"'phpinfo() WP', 'phpinfo() WP', 'manage_network_options',","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"includes/class-report.php","line":"412","match":"sprintf('Update PHP runtime to %s or newer immediately. In phpinfo() WP open Vulnerability Scanner to generate a pre-formatted host fix ticket.', $cve_data['required_version'])","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"includes/class-safemode.php","line":"250","match":"* full phpinfo() WP runtime — mu-plugins should be minimal & dependency-free.","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"includes/class-safemode.php","line":"256","match":"* phpinfo() WP — Troubleshooting Safemode mu-plugin","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"includes/class-safemode.php","line":"258","match":"* Installed automatically by phpinfo() WP. Filters the active plugins list","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"includes/class-update-audit.php","line":"856","match":"'<div class=\"notice notice-info piwp-notice\"><p><strong>phpinfo() WP:</strong> WordPress %s is available. '","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"includes/class-update-guard.php","line":"1304","match":"echo ' <span style=\"color:#999;font-size:11px;margin-left:10px;\">by phpinfo() WP</span>';","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"includes/class-update-history.php","line":"786","match":"? sprintf(__('[phpinfo() WP] Auto-rollback executed for %s', 'phpinfo-wp'), $slug)","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"}],"A07":[{"type":"auth_hook","name":"wp_login","risk":"Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication"},{"type":"auth_hook","name":"wp_login_failed","risk":"Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication"},{"type":"auth_hook","name":"user_register","risk":"Hooks the 'user_register' authentication/identity flow — verify it cannot be abused to bypass authentication"}]}}