{"summary":{"plugin_name":"wpcom-migration","display_name":"Migrate to WordPress.com","version":"6.77","risk_level":"critical","risk_score":70.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":15,"unauth_ratio":5,"superglobal_density":5,"filter_hooks":15,"rest_routes":10,"raw_input":10},"last_analyzed":"2026-11-23T10:43:00.034109","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":2000,"rating":94,"num_ratings":9,"tested":"7.1.4","requires":"4.0","requires_php":"7.4","author":"Automattic","short_description":"A WordPress plugin that helps users to migrate their sites to WordPress.com","tags":["copy","migrate","migration","move","transfer"],"added":"2023-03-01","last_updated":"2026-11-05 12:04pm GMT","metadata_fetched_at":"2026-11-15T05:21:44.196577+00:00","modules_missing":null,"modules_failed":null,"latest_release":"6.78"},"security_metrics":{"total_issues":12,"parameters_found":70,"unknown_parameters":2,"headers_accessed":12,"cookies_accessed":9,"wp_hooks":2,"rest_routes":30,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":1,"file_upload_parameters":2,"owasp_findings":{"A01":5,"A02":1,"A05":3,"A07":5},"attack_surface_level":"large","attack_surface_score":142,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":1},"comparison":{"percentile":7.8,"rank":457003,"peer_count":495724,"better_than":7.8,"risk_distribution":{"low":98975,"high":177790,"medium":120222,"critical":38722,"minimal":60015}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"high","findings_count":5,"description":"Access control enforces policy such that users cannot act outside of their intended permissions","recommendations":["Add a real permission_callback to every REST route — never '__return_true' for state-changing endpoints","Verify nonces on all wp_ajax_nopriv_ handlers and re-check capabilities server-side","Validate and canonicalize file paths to block traversal on read/write/delete operations","Never trust a user-supplied role/capability — enforce it against the acting user's own permissions"],"findings_summary":["REST route '/verify_xmlrpc_error' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/verify_registration' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/remote_authorize' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/connection' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","Pattern 'nopriv_no_nonce' x1 - Nopriv AJAX handler without nonce verification (1 occurrence(s))"]},{"category":"A07","name":"Identification and Authentication Failures","severity":"high","findings_count":5,"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 'authenticate' - Hooks the 'authenticate' authentication/identity flow — verify it cannot be abused to bypass authentication","Auth hook 'determine_current_user' - Hooks the 'authenticate' authentication/identity flow — verify it cannot be abused to bypass authentication","Auth hook 'wp_authenticate_user' - Hooks the 'authenticate' 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","Auth hook 'wp_login' - Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication"]},{"category":"A02","name":"Cryptographic Failures","severity":"low","findings_count":1,"description":"Failures related to cryptography which often lead to exposure of sensitive data","recommendations":["Never store passwords or API keys in plain text","Use WordPress options API with encryption for sensitive data","Implement proper key management practices","Use HTTPS for all sensitive data transmission"],"findings_summary":["Parameter 'wpcom_migration_reprint_secret' - Sensitive data exposure"]},{"category":"A05","name":"Security Misconfiguration","severity":"low","findings_count":3,"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 callback/wings/misc.php:152 - phpinfo();","Misconfiguration in vendor/automattic/jetpack-status/src/class-errors.php:35 - $display_errors  = @ini_set( 'display_errors', 1 );","Misconfiguration in vendor/automattic/jetpack-status/src/class-errors.php:36 - $error_reporting = @error_reporting( E_ALL );"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"/verify_xmlrpc_error","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/verify_registration","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/remote_authorize","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/connection","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"pattern_match","pattern":"nopriv_no_nonce","count":1,"severity":"high","examples":["wpcom_migration.php:136"],"risk":"Nopriv AJAX handler without nonce verification (1 occurrence(s))"}],"A02":[{"type":"parameter","name":"wpcom_migration_reprint_secret","locations":{"POST":[{"file":"/plugins/wpcom-migration/tags/6.77/reprint/class-manual-page.php","line":208,"offset":5699,"snippet":"$_POST[self::SECRET_FIELD]"}]},"risk":"Sensitive data exposure"}],"A05":[{"type":"misconfiguration","file":"callback/wings/misc.php","line":"152","match":"phpinfo();","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"vendor/automattic/jetpack-status/src/class-errors.php","line":"35","match":"$display_errors  = @ini_set( 'display_errors', 1 );","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"vendor/automattic/jetpack-status/src/class-errors.php","line":"36","match":"$error_reporting = @error_reporting( E_ALL );","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"}],"A07":[{"type":"auth_hook","name":"authenticate","risk":"Hooks the 'authenticate' authentication/identity flow — verify it cannot be abused to bypass authentication"},{"type":"auth_hook","name":"determine_current_user","risk":"Hooks the 'authenticate' authentication/identity flow — verify it cannot be abused to bypass authentication"},{"type":"auth_hook","name":"wp_authenticate_user","risk":"Hooks the 'authenticate' 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"},{"type":"auth_hook","name":"wp_login","risk":"Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication"}]}}