{"summary":{"plugin_name":"melapress-login-security","display_name":"Melapress Login Security","version":"2.4.3","risk_level":"high","risk_score":65.0,"risk_factors":{"static_analysis":20,"owasp":10,"attack_surface":15,"superglobal_density":5,"filter_hooks":15},"last_analyzed":"2026-11-23T14:06:26.395424","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":4000,"rating":96,"num_ratings":20,"tested":"7.1.4","requires":"5.5","requires_php":"8.0","author":"Melapress","short_description":"Enforce WordPress login and password security policies to protect user accounts and prevent unauthorized logins.","tags":["Brute Force","limit login attempts","limit logins","login","login security"],"added":"2023-02-23","last_updated":"2026-11-11 9:08am GMT","metadata_fetched_at":"2026-11-16T08:24:07.029038+00:00","modules_missing":null,"modules_failed":null,"latest_release":"2.4.3"},"security_metrics":{"total_issues":131,"parameters_found":61,"unknown_parameters":2,"headers_accessed":4,"cookies_accessed":0,"wp_hooks":2,"rest_routes":0,"query_vars":0,"shortcode_atts":2,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A01":1,"A02":2,"A03":3,"A07":15},"attack_surface_level":"large","attack_surface_score":63,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":3},"comparison":{"percentile":10.7,"rank":444221,"peer_count":497534,"better_than":10.7,"risk_distribution":{"low":99833,"high":177860,"medium":120697,"critical":38749,"minimal":60395}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A07","name":"Identification and Authentication Failures","severity":"critical","findings_count":15,"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 'wc_reset_password' - Authentication-related parameter — verify login flow hardening","Parameter 'kill_sessions' - Authentication-related parameter — verify login flow hardening","Parameter 'mepr_process_forgot_password_form' - Authentication-related parameter — verify login flow hardening","Parameter 'mls_wp2fa_status' - Authentication-related parameter — verify login flow hardening","Parameter 'reset_password_on_next_login' - Authentication-related parameter — verify login flow hardening"]},{"category":"A03","name":"Injection","severity":"high","findings_count":3,"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 $_REQUEST on echo","phpcs_security: Easy XSS detected because of direct user input with $_GET on echo","phpcs_security: Easy XSS detected because of direct user input with $_GET on echo"]},{"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' x3 - Nopriv AJAX handler without nonce verification (3 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 'um_account_nonce_password' - Sensitive data exposure","Parameter 'mls-reset-password' - Sensitive data exposure"]}],"owasp_findings":{"A01":[{"type":"pattern_match","pattern":"nopriv_no_nonce","count":3,"severity":"high","examples":["app/helpers/class-wp-password-gen.php:61","app/helpers/class-ppm-wp-password-gen.php:49","third-party/wp-async-request.php:60"],"risk":"Nopriv AJAX handler without nonce verification (3 occurrence(s))"}],"A02":[{"type":"parameter","name":"um_account_nonce_password","locations":{"POST":[{"file":"/plugins/melapress-login-security/tags/2.4.3/app/enforcers/class-check-user-expiry.php","line":219,"offset":5939,"snippet":"$_POST['um_account_nonce_password']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"mls-reset-password","locations":{"GET":[{"file":"/plugins/melapress-login-security/tags/2.4.3/app/enforcers/class-reset-passwords.php","line":98,"offset":2615,"snippet":"$_REQUEST['mls-reset-password']"},{"file":"/plugins/melapress-login-security/tags/2.4.3/app/enforcers/class-reset-passwords.php","line":98,"offset":2661,"snippet":"$_REQUEST['mls-reset-password']"},{"file":"/plugins/melapress-login-security/tags/2.4.3/app/enforcers/class-reset-passwords.php","line":99,"offset":2789,"snippet":"$_REQUEST['mls-reset-password']"}],"POST":[{"file":"/plugins/melapress-login-security/tags/2.4.3/app/enforcers/class-reset-passwords.php","line":98,"offset":2615,"snippet":"$_REQUEST['mls-reset-password']"},{"file":"/plugins/melapress-login-security/tags/2.4.3/app/enforcers/class-reset-passwords.php","line":98,"offset":2661,"snippet":"$_REQUEST['mls-reset-password']"},{"file":"/plugins/melapress-login-security/tags/2.4.3/app/enforcers/class-reset-passwords.php","line":99,"offset":2789,"snippet":"$_REQUEST['mls-reset-password']"}]},"risk":"Sensitive data exposure"}],"A03":[{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/melapress-login-security/tags/2.4.3/admin/templates/admin-form.php","line":66},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/melapress-login-security/tags/2.4.3/app/modules/failed-logins/inactive-users.php","line":98},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/melapress-login-security/tags/2.4.3/app/modules/failed-logins/inactive-users.php","line":98}],"A07":[{"type":"parameter","name":"wc_reset_password","locations":{"GET":[{"file":"/plugins/melapress-login-security/tags/2.4.3/app/enforcers/class-forms.php","line":493,"offset":16591,"snippet":"$_REQUEST['wc_reset_password']"},{"file":"/plugins/melapress-login-security/tags/2.4.3/app/enforcers/class-forms.php","line":493,"offset":16660,"snippet":"$_REQUEST['wc_reset_password']"},{"file":"/plugins/melapress-login-security/tags/2.4.3/app/enforcers/class-forms.php","line":520,"offset":17806,"snippet":"$_REQUEST['wc_reset_password']"},{"file":"/plugins/melapress-login-security/tags/2.4.3/app/enforcers/class-forms.php","line":520,"offset":17875,"snippet":"$_REQUEST['wc_reset_password']"}],"POST":[{"file":"/plugins/melapress-login-security/tags/2.4.3/app/enforcers/class-forms.php","line":493,"offset":16591,"snippet":"$_REQUEST['wc_reset_password']"},{"file":"/plugins/melapress-login-security/tags/2.4.3/app/enforcers/class-forms.php","line":493,"offset":16660,"snippet":"$_REQUEST['wc_reset_password']"},{"file":"/plugins/melapress-login-security/tags/2.4.3/app/enforcers/class-forms.php","line":520,"offset":17806,"snippet":"$_REQUEST['wc_reset_password']"},{"file":"/plugins/melapress-login-security/tags/2.4.3/app/enforcers/class-forms.php","line":520,"offset":17875,"snippet":"$_REQUEST['wc_reset_password']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"kill_sessions","locations":{"POST":[{"file":"/plugins/melapress-login-security/tags/2.4.3/app/enforcers/class-reset-passwords.php","line":169,"offset":6036,"snippet":"$_POST['kill_sessions']"},{"file":"/plugins/melapress-login-security/tags/2.4.3/app/enforcers/class-reset-passwords.php","line":169,"offset":6109,"snippet":"$_POST['kill_sessions']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"mepr_process_forgot_password_form","locations":{"POST":[{"file":"/plugins/melapress-login-security/tags/2.4.3/app/enforcers/class-reset-passwords.php","line":288,"offset":9985,"snippet":"$_POST['mepr_process_forgot_password_form']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"mls_wp2fa_status","locations":{"GET":[{"file":"/plugins/melapress-login-security/tags/2.4.3/app/enforcers/class-restrict-login-credentials.php","line":321,"offset":9543,"snippet":"$_GET['mls_wp2fa_status']"},{"file":"/plugins/melapress-login-security/tags/2.4.3/app/enforcers/class-restrict-login-credentials.php","line":321,"offset":9599,"snippet":"$_GET['mls_wp2fa_status']"},{"file":"/plugins/melapress-login-security/tags/2.4.3/app/enforcers/class-restrict-login-credentials.php","line":364,"offset":11202,"snippet":"$_GET['mls_wp2fa_status']"},{"file":"/plugins/melapress-login-security/tags/2.4.3/app/enforcers/class-restrict-login-credentials.php","line":364,"offset":11258,"snippet":"$_GET['mls_wp2fa_status']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"reset_password_on_next_login","locations":{"POST":[{"file":"/plugins/melapress-login-security/tags/2.4.3/app/enforcers/class-user-profile.php","line":383,"offset":12893,"snippet":"$_POST['reset_password_on_next_login']"},{"file":"/plugins/melapress-login-security/tags/2.4.3/app/enforcers/class-user-profile.php","line":391,"offset":13308,"snippet":"$_POST['reset_password_on_next_login']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"mepr_process_login_form","locations":{"POST":[{"file":"/plugins/melapress-login-security/tags/2.4.3/app/modules/failed-logins/class-failed-logins.php","line":463,"offset":19932,"snippet":"$_POST['mepr_process_login_form']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"auth_hook","name":"mls_process_reset","risk":"Hooks the 'password_reset' authentication/identity flow — verify it cannot be abused to bypass authentication"},{"type":"auth_hook","name":"authenticate","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":"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"},{"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":"wp_authenticate","risk":"Hooks the 'authenticate' authentication/identity flow — verify it cannot be abused to bypass authentication"},{"type":"auth_hook","name":"password_reset","risk":"Hooks the 'password_reset' authentication/identity flow — verify it cannot be abused to bypass authentication"}]}}