{"summary":{"plugin_name":"password-policy-manager","display_name":"Password Policy Manager","version":"2.0.8","risk_level":"high","risk_score":50.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":10,"superglobal_density":15,"filter_hooks":15},"last_analyzed":"2026-11-23T13:54:20.072498","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":6000,"rating":88,"num_ratings":14,"tested":"7.1","requires":"5.3","requires_php":"5.3.0","author":"miniOrange","short_description":"Enforce strong passwords with expiry, reset, score checks, inactive user lock, and user password management using Password Policy Manager.","tags":["password security","password strength","reset password","secure Password","strong password"],"added":"2021-01-08","last_updated":"2026-08-26 11:32am GMT","metadata_fetched_at":"2026-08-30T02:55:26.293377+00:00","modules_missing":null,"modules_failed":null,"latest_release":"2.0.8"},"security_metrics":{"total_issues":10,"parameters_found":39,"unknown_parameters":0,"headers_accessed":3,"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":{"A01":1,"A02":2,"A03":7,"A07":6},"attack_surface_level":"medium","attack_surface_score":41,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":5},"comparison":{"percentile":46.2,"rank":248340,"peer_count":461821,"better_than":46.2,"risk_distribution":{"medium":113570,"minimal":51581,"high":175564,"low":83188,"critical":37918}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A03","name":"Injection","severity":"critical","findings_count":7,"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":["Parameter 'query_email' - Parameter name suggests injection sink — verify sanitization","Parameter 'query' - Parameter name suggests injection sink — verify sanitization","Parameter 'query_phone' - Parameter name suggests injection sink — verify sanitization","Parameter 'moppm_query_feedback' - Parameter name suggests injection sink — verify sanitization","Parameter 'moppm_query_feedback_specific_feature' - Parameter name suggests injection sink — verify sanitization"]},{"category":"A07","name":"Identification and Authentication Failures","severity":"critical","findings_count":6,"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 'session_id' - Authentication-related parameter — verify login flow hardening","Parameter 'moppm_login_nonce' - Authentication-related parameter — verify login flow hardening","Parameter 'moppm_session_id' - Authentication-related parameter — verify login flow hardening","Auth hook 'authenticate' - Hooks the 'authenticate' authentication/identity flow — verify it cannot be abused to bypass authentication","Auth hook 'validate_password_reset' - Hooks the 'password_reset' authentication/identity flow — verify it cannot be abused to bypass authentication"]},{"category":"A01","name":"Broken Access Control","severity":"medium","findings_count":1,"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":["Pattern 'nopriv_no_nonce' x2 - Nopriv AJAX handler without nonce verification (2 occurrence(s))"]},{"category":"A02","name":"Cryptographic Failures","severity":"low","findings_count":2,"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 'password' - Sensitive data exposure","Parameter 'confirmPassword' - Sensitive data exposure"]}],"owasp_findings":{"A01":[{"type":"pattern_match","pattern":"nopriv_no_nonce","count":2,"severity":"high","examples":["controllers/class-moppm-ajax.php:38","controllers/ajax.php:20"],"risk":"Nopriv AJAX handler without nonce verification (2 occurrence(s))"}],"A02":[{"type":"parameter","name":"password","locations":{"POST":[{"file":"/plugins/password-policy-manager/tags/2.0.8/controllers/account.php","line":64,"offset":2497,"snippet":"$_POST['password']"},{"file":"/plugins/password-policy-manager/tags/2.0.8/controllers/account.php","line":64,"offset":2520,"snippet":"$_POST['password']"},{"file":"/plugins/password-policy-manager/tags/2.0.8/controllers/account.php","line":157,"offset":6211,"snippet":"$_POST['password']"},{"file":"/plugins/password-policy-manager/tags/2.0.8/controllers/account.php","line":157,"offset":6234,"snippet":"$_POST['password']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"confirmPassword","locations":{"POST":[{"file":"/plugins/password-policy-manager/tags/2.0.8/controllers/account.php","line":65,"offset":2748,"snippet":"$_POST['confirmPassword']"},{"file":"/plugins/password-policy-manager/tags/2.0.8/controllers/account.php","line":65,"offset":2778,"snippet":"$_POST['confirmPassword']"}]},"risk":"Sensitive data exposure"}],"A03":[{"type":"parameter","name":"query_email","locations":{"POST":[{"file":"/plugins/password-policy-manager/tags/2.0.8/controllers/support.php","line":39,"offset":1302,"snippet":"$_POST['query_email']"},{"file":"/plugins/password-policy-manager/tags/2.0.8/controllers/support.php","line":39,"offset":1356,"snippet":"$_POST['query_email']"}]},"risk":"Parameter name suggests injection sink — verify sanitization"},{"type":"parameter","name":"query","locations":{"POST":[{"file":"/plugins/password-policy-manager/tags/2.0.8/controllers/support.php","line":40,"offset":1406,"snippet":"$_POST['query']"},{"file":"/plugins/password-policy-manager/tags/2.0.8/controllers/support.php","line":40,"offset":1459,"snippet":"$_POST['query']"}]},"risk":"Parameter name suggests injection sink — verify sanitization"},{"type":"parameter","name":"query_phone","locations":{"POST":[{"file":"/plugins/password-policy-manager/tags/2.0.8/controllers/support.php","line":41,"offset":1503,"snippet":"$_POST['query_phone']"},{"file":"/plugins/password-policy-manager/tags/2.0.8/controllers/support.php","line":41,"offset":1562,"snippet":"$_POST['query_phone']"}]},"risk":"Parameter name suggests injection sink — verify sanitization"},{"type":"parameter","name":"moppm_query_feedback","locations":{"POST":[{"file":"/plugins/password-policy-manager/tags/2.0.8/handler/class-moppmfeedbackhandler.php","line":91,"offset":3499,"snippet":"$_POST['moppm_query_feedback']"},{"file":"/plugins/password-policy-manager/tags/2.0.8/handler/class-moppmfeedbackhandler.php","line":92,"offset":3640,"snippet":"$_POST['moppm_query_feedback']"}]},"risk":"Parameter name suggests injection sink — verify sanitization"},{"type":"parameter","name":"moppm_query_feedback_specific_feature","locations":{"POST":[{"file":"/plugins/password-policy-manager/tags/2.0.8/handler/class-moppmfeedbackhandler.php","line":95,"offset":3778,"snippet":"$_POST['moppm_query_feedback_specific_feature']"},{"file":"/plugins/password-policy-manager/tags/2.0.8/handler/class-moppmfeedbackhandler.php","line":96,"offset":3940,"snippet":"$_POST['moppm_query_feedback_specific_feature']"}]},"risk":"Parameter name suggests injection sink — verify sanitization"},{"type":"parameter","name":"query_mail","locations":{"POST":[{"file":"/plugins/password-policy-manager/tags/2.0.8/handler/class-moppmfeedbackhandler.php","line":126,"offset":5063,"snippet":"$_POST['query_mail']"},{"file":"/plugins/password-policy-manager/tags/2.0.8/handler/class-moppmfeedbackhandler.php","line":126,"offset":5116,"snippet":"$_POST['query_mail']"}]},"risk":"Parameter name suggests injection sink — verify sanitization"},{"type":"pattern_match","pattern":"sqli_interpolated","count":3,"severity":"critical","examples":["uninstall.php:21","uninstall.php:22","database/database.php:77"],"risk":"Interpolated variable in SQL query string (3 occurrence(s))"}],"A07":[{"type":"parameter","name":"session_id","locations":{"POST":[{"file":"/plugins/password-policy-manager/tags/2.0.8/handler/class-moppm-ajax.php","line":254,"offset":10696,"snippet":"$_POST['session_id']"},{"file":"/plugins/password-policy-manager/tags/2.0.8/handler/class-moppm-ajax.php","line":254,"offset":10754,"snippet":"$_POST['session_id']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"moppm_login_nonce","locations":{"POST":[{"file":"/plugins/password-policy-manager/tags/2.0.8/handler/class-moppmfeedbackhandler.php","line":31,"offset":680,"snippet":"$_POST['moppm_login_nonce']"},{"file":"/plugins/password-policy-manager/tags/2.0.8/handler/class-moppmfeedbackhandler.php","line":31,"offset":745,"snippet":"$_POST['moppm_login_nonce']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"moppm_session_id","locations":{"POST":[{"file":"/plugins/password-policy-manager/tags/2.0.8/handler/class-moppmfeedbackhandler.php","line":36,"offset":1011,"snippet":"$_POST['moppm_session_id']"},{"file":"/plugins/password-policy-manager/tags/2.0.8/handler/class-moppmfeedbackhandler.php","line":36,"offset":1075,"snippet":"$_POST['moppm_session_id']"}]},"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"},{"type":"auth_hook","name":"validate_password_reset","risk":"Hooks the 'password_reset' 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"}]}}