{"summary":{"plugin_name":"login-ip-country-restriction","display_name":"Login IP & Country Restriction","version":"6.8.4","risk_level":"high","risk_score":60.0,"risk_factors":{"static_analysis":30,"owasp":5,"attack_surface":5,"superglobal_density":5,"filter_hooks":15},"last_analyzed":"2026-11-23T14:36:47.425860","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":8000,"rating":92,"num_ratings":52,"tested":"7.2","requires":"5.1","requires_php":"7.4","author":"Iulia Cazan","short_description":"Tighten your website security and fight against dictionary bot attacks originating from other countries, by denying access.","tags":["block country","block ip","country firewall","country restriction","login restriction"],"added":"2014-11-04","last_updated":"2026-10-21 10:36am GMT","metadata_fetched_at":"2026-11-23T02:52:49.150588+00:00","modules_missing":[],"modules_failed":[],"latest_release":"6.8.3"},"security_metrics":{"total_issues":101,"parameters_found":14,"unknown_parameters":0,"headers_accessed":7,"cookies_accessed":0,"wp_hooks":2,"rest_routes":0,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A07":3},"attack_surface_level":"medium","attack_surface_score":16,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":16.0,"rank":422878,"peer_count":503286,"better_than":16.0,"risk_distribution":{"low":102534,"high":178330,"medium":121738,"critical":38966,"minimal":61718}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"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":["Parameter '_login_ip_country_restriction_settings_nonce' - Authentication-related parameter — verify login flow hardening","Parameter '_login_ip_country_restriction_settings' - Authentication-related parameter — verify login flow hardening","Auth hook 'authenticate' - Hooks the 'authenticate' authentication/identity flow — verify it cannot be abused to bypass authentication"]}],"owasp_findings":{"A07":[{"type":"parameter","name":"_login_ip_country_restriction_settings_nonce","locations":{"POST":[{"file":"/plugins/login-ip-country-restriction/tags/6.8.4/login-restrict-country.php","line":677,"offset":21962,"snippet":"filter_input(INPUT_POST, '_login_ip_country_restriction_settings_nonce', FILTER_DEFAULT)"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"_login_ip_country_restriction_settings","locations":{"POST":[{"file":"/plugins/login-ip-country-restriction/tags/6.8.4/login-restrict-country.php","line":697,"offset":22761,"snippet":"filter_input(INPUT_POST, '_login_ip_country_restriction_settings', FILTER_DEFAULT, FILTER_REQUIRE_ARRAY)"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"auth_hook","name":"authenticate","risk":"Hooks the 'authenticate' authentication/identity flow — verify it cannot be abused to bypass authentication"}]}}