{"summary":{"plugin_name":"ajax-login-and-registration-modal-popup","display_name":"AJAX Login and Registration modal popup + inline form","version":"2.28","risk_level":"low","risk_score":25.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":10,"superglobal_density":5},"last_analyzed":"2026-11-23T14:55:18.934567","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":3000,"rating":94,"num_ratings":120,"tested":"7.1.4","requires":"4.9","requires_php":"7.4","author":"Max K","short_description":"AJAX login, registration and password reset in a popup or on a page. Gutenberg blocks, skins, redirects and a setup guide.","tags":["Ajax login","login","modal","popup","registration"],"added":"2018-03-04","last_updated":"2026-11-07 6:37pm GMT","metadata_fetched_at":"2026-11-16T09:57:25.814371+00:00","modules_missing":null,"modules_failed":null,"latest_release":"2.29"},"security_metrics":{"total_issues":7,"parameters_found":23,"unknown_parameters":1,"headers_accessed":2,"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":3,"A05":2,"A07":4},"attack_surface_level":"medium","attack_surface_score":25,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":5},"comparison":{"percentile":71.5,"rank":141961,"peer_count":497681,"better_than":71.5,"risk_distribution":{"low":99904,"high":177865,"medium":120732,"critical":38751,"minimal":60429}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A07","name":"Identification and Authentication Failures","severity":"high","findings_count":4,"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 'user_login' - Authentication-related parameter — verify login flow hardening","Parameter 'login' - Authentication-related parameter — verify login flow hardening","Auth hook 'lrm_lostpassword' - Hooks the 'lostpassword' authentication/identity flow — verify it cannot be abused to bypass authentication","Auth hook 'lrm_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' x5 - Nopriv AJAX handler without nonce verification (5 occurrence(s))"]},{"category":"A02","name":"Cryptographic Failures","severity":"low","findings_count":3,"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 'password-confirmation' - Sensitive data exposure","Parameter 'password1' - Sensitive data exposure"]},{"category":"A05","name":"Security Misconfiguration","severity":"low","findings_count":2,"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-ajax.php:859 - ini_set('display_errors',1);","Misconfiguration in includes/class-wpml.php:165 - //        ini_set('display_errors',1);"]}],"owasp_findings":{"A01":[{"type":"pattern_match","pattern":"nopriv_no_nonce","count":5,"severity":"high","examples":["includes/class-core.php:179","includes/class-core.php:180","includes/class-core.php:181"],"risk":"Nopriv AJAX handler without nonce verification (5 occurrence(s))"}],"A02":[{"type":"parameter","name":"password","locations":{"POST":[{"file":"/plugins/ajax-login-and-registration-modal-popup/tags/2.28/includes/class-ajax.php","line":28,"offset":713,"snippet":"$_POST['password']"},{"file":"/plugins/ajax-login-and-registration-modal-popup/tags/2.28/includes/class-ajax.php","line":92,"offset":3524,"snippet":"$_POST['password']"},{"file":"/plugins/ajax-login-and-registration-modal-popup/tags/2.28/includes/class-ajax.php","line":93,"offset":3591,"snippet":"$_POST['password']"},{"file":"/plugins/ajax-login-and-registration-modal-popup/tags/2.28/includes/class-ajax.php","line":292,"offset":12059,"snippet":"$_POST['password']"},{"file":"/plugins/ajax-login-and-registration-modal-popup/tags/2.28/includes/class-ajax.php","line":293,"offset":12192,"snippet":"$_POST['password']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"password-confirmation","locations":{"POST":[{"file":"/plugins/ajax-login-and-registration-modal-popup/tags/2.28/includes/class-ajax.php","line":298,"offset":12448,"snippet":"$_POST['password-confirmation']"},{"file":"/plugins/ajax-login-and-registration-modal-popup/tags/2.28/includes/class-ajax.php","line":298,"offset":12508,"snippet":"$_POST['password-confirmation']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"password1","locations":{"POST":[{"file":"/plugins/ajax-login-and-registration-modal-popup/tags/2.28/includes/class-ajax.php","line":699,"offset":28731,"snippet":"$_POST['password1']"},{"file":"/plugins/ajax-login-and-registration-modal-popup/tags/2.28/includes/class-ajax.php","line":699,"offset":28768,"snippet":"$_POST['password1']"},{"file":"/plugins/ajax-login-and-registration-modal-popup/tags/2.28/includes/class-ajax.php","line":713,"offset":29241,"snippet":"$_POST['password1']"}]},"risk":"Sensitive data exposure"}],"A05":[{"type":"misconfiguration","file":"includes/class-ajax.php","line":"859","match":"ini_set('display_errors',1);","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"},{"type":"misconfiguration","file":"includes/class-wpml.php","line":"165","match":"//        ini_set('display_errors',1);","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"}],"A07":[{"type":"parameter","name":"user_login","locations":{"POST":[{"file":"/plugins/ajax-login-and-registration-modal-popup/tags/2.28/includes/class-ajax.php","line":567,"offset":23183,"snippet":"$_POST['user_login']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"login","locations":{"GET":[{"file":"/plugins/ajax-login-and-registration-modal-popup/tags/2.28/includes/class-ajax.php","line":756,"offset":30768,"snippet":"$_REQUEST['login']"},{"file":"/plugins/ajax-login-and-registration-modal-popup/tags/2.28/includes/class-ajax.php","line":756,"offset":30799,"snippet":"$_REQUEST['login']"},{"file":"/plugins/ajax-login-and-registration-modal-popup/tags/2.28/includes/class-ajax.php","line":766,"offset":31174,"snippet":"$_REQUEST['login']"},{"file":"/plugins/ajax-login-and-registration-modal-popup/tags/2.28/views/restore-password.php","line":11,"offset":288,"snippet":"$_GET['login']"},{"file":"/plugins/ajax-login-and-registration-modal-popup/tags/2.28/views/restore-password.php","line":11,"offset":339,"snippet":"$_GET['login']"}],"POST":[{"file":"/plugins/ajax-login-and-registration-modal-popup/tags/2.28/includes/class-ajax.php","line":756,"offset":30768,"snippet":"$_REQUEST['login']"},{"file":"/plugins/ajax-login-and-registration-modal-popup/tags/2.28/includes/class-ajax.php","line":756,"offset":30799,"snippet":"$_REQUEST['login']"},{"file":"/plugins/ajax-login-and-registration-modal-popup/tags/2.28/includes/class-ajax.php","line":766,"offset":31174,"snippet":"$_REQUEST['login']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"auth_hook","name":"lrm_lostpassword","risk":"Hooks the 'lostpassword' authentication/identity flow — verify it cannot be abused to bypass authentication"},{"type":"auth_hook","name":"lrm_password_reset","risk":"Hooks the 'password_reset' authentication/identity flow — verify it cannot be abused to bypass authentication"}]}}