{"summary":{"plugin_name":"ldap-login-for-intranet-sites","display_name":"Active Directory Integration / LDAP Integration","version":"5.4.6","risk_level":"high","risk_score":55.0,"risk_factors":{"static_analysis":10,"owasp":5,"attack_surface":15,"superglobal_density":10,"filter_hooks":15},"last_analyzed":"2026-11-23T14:39:49.984740","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":4000,"rating":98,"num_ratings":211,"tested":"7.1.5","requires":"5.0","requires_php":"5.6.0","author":"miniOrange","short_description":"Active Directory Integration/LDAP Integration enables login & sync in WordPress with Active Directory/LDAP Directory credentials, 24/7 ACTIVE SUPPORT","tags":["active directory","active directory integration","authentication","ldap","ldap authentication"],"added":"2015-08-06","last_updated":"2026-11-03 7:47am GMT","metadata_fetched_at":"2026-11-22T14:03:49.588462+00:00","modules_missing":[],"modules_failed":[],"latest_release":"5.4.6"},"security_metrics":{"total_issues":26,"parameters_found":65,"unknown_parameters":1,"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":1,"owasp_findings":{"A02":4,"A03":9,"A07":5},"attack_surface_level":"large","attack_surface_score":72,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":6},"comparison":{"percentile":23.7,"rank":381727,"peer_count":500335,"better_than":23.7,"risk_distribution":{"low":101120,"high":178050,"medium":121273,"critical":38813,"minimal":61079}},"executive_summary":null,"vulnerabilities":[{"id":"f9fd62f7-e086-43cc-b08b-5e04d8723c91","title":"Active Directory Integration / LDAP Integration < 3.6.95 - Reflected Cross-Site Scripting","created_at":"2021-10-18T08:05:42.000Z","updated_at":"2021-10-18T08:05:42.000Z","published_date":"2021-10-18T00:00:00.000Z","vuln_type":"XSS","references":{},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"3.6.95","introduced_in":null},{"id":"0ed5e1b3-f2a3-4eb1-b8ae-d3a62f600107","title":"Active Directory Integration / LDAP Integration < 4.1.1 - Unauthenticated Data Disclosure","created_at":"2023-04-19T10:10:54.000Z","updated_at":"2023-04-19T10:10:55.000Z","published_date":"2023-04-19T00:00:00.000Z","vuln_type":"SENSITIVE DATA DISCLOSURE","references":{"cve":["2023-0812"]},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"4.1.1","introduced_in":null},{"id":"4894b09e-4d30-4de3-8b7e-037a4c3cf207","title":" Active Directory Integration < 4.1.5 - SQL Injection via CSRF","created_at":"2023-06-09T18:19:35.000Z","updated_at":"2023-06-09T19:43:19.000Z","published_date":"2023-05-12T00:00:00.000Z","vuln_type":"SQLI","references":{"cve":["2023-2599","2023-2484"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"4.1.5","introduced_in":null},{"id":"1d7b475e-4c0d-4ac6-b09f-e5d51eaff8b2","title":"Active Directory Integration / LDAP Integration < 4.1.6 - Sensitive Information Disclosure","created_at":"2023-06-29T18:16:49.000Z","updated_at":"2023-06-29T18:16:49.000Z","published_date":"2023-06-28T00:00:00.000Z","vuln_type":"UNKNOWN","references":{"cve":["2023-3447"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"4.1.6","introduced_in":null},{"id":"91f4e500-71f3-4ef6-9cc7-24a7c12a5748","title":"Active Directory Integration < 4.1.10 - Unauthenticated Log Disclosure","created_at":"2023-09-25T14:54:34.000Z","updated_at":"2023-09-25T14:54:36.000Z","published_date":"2023-09-25T00:00:00.000Z","vuln_type":"SENSITIVE DATA DISCLOSURE","references":{"cve":["2023-5003"]},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"4.1.10","introduced_in":null},{"id":"2744b765-117f-4165-b0b7-b78f3b4ce89f","title":"Active Directory Integration / LDAP Integration < 4.2 - Admin LDAP Passback","created_at":"2023-09-26T18:20:01.000Z","updated_at":"2023-10-09T07:16:26.000Z","published_date":"2023-09-25T00:00:00.000Z","vuln_type":"UNKNOWN","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/0585969d-dd08-4058-9d72-138a55a2cdf1"],"cve":["2023-4506"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"4.2","introduced_in":null}],"recommendations":[{"category":"A03","name":"Injection","severity":"critical","findings_count":9,"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 'mo_ldap_local_query_email' - Parameter name suggests injection sink — verify sanitization","Parameter 'mo_ldap_local_query_phone' - Parameter name suggests injection sink — verify sanitization","Parameter 'mo_ldap_local_query' - Parameter name suggests injection sink — verify sanitization","Parameter 'mo_ldap_local_query_feedback' - Parameter name suggests injection sink — verify sanitization","Parameter 'mo_ldap_local_query_mail' - Parameter name suggests injection sink — verify sanitization"]},{"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":["Parameter 'enable_ldap_login' - Authentication-related parameter — verify login flow hardening","Parameter 'mo_ldap_local_enable_unique_id_login' - Authentication-related parameter — verify login flow hardening","Parameter 'mo_ldap_local_enable_admin_wp_login' - 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 'user_register' - Hooks the 'user_register' authentication/identity flow — verify it cannot be abused to bypass authentication"]},{"category":"A02","name":"Cryptographic Failures","severity":"low","findings_count":4,"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","Parameter 'admin_password' - Sensitive data exposure","Parameter 'test_password' - Sensitive data exposure"]}],"owasp_findings":{"A02":[{"type":"parameter","name":"password","locations":{"POST":[{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-save-options-handler.php","line":606,"offset":26928,"snippet":"$_POST['password']"},{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-save-options-handler.php","line":606,"offset":26951,"snippet":"$_POST['password']"},{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-save-options-handler.php","line":671,"offset":31273,"snippet":"$_POST['password']"},{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-save-options-handler.php","line":671,"offset":31296,"snippet":"$_POST['password']"},{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-save-options-handler.php","line":673,"offset":31570,"snippet":"$_POST['password']"},{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-user-handler.php","line":90,"offset":2978,"snippet":"$_POST['password']"},{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-user-handler.php","line":91,"offset":3404,"snippet":"$_POST['password']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"confirmPassword","locations":{"POST":[{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-save-options-handler.php","line":607,"offset":27219,"snippet":"$_POST['confirmPassword']"},{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-save-options-handler.php","line":607,"offset":27249,"snippet":"$_POST['confirmPassword']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"admin_password","locations":{"POST":[{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-save-options-handler.php","line":782,"offset":38269,"snippet":"$_POST['admin_password']"},{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-save-options-handler.php","line":792,"offset":39180,"snippet":"$_POST['admin_password']"},{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-save-options-handler.php","line":792,"offset":39209,"snippet":"$_POST['admin_password']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"test_password","locations":{"POST":[{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-save-options-handler.php","line":1015,"offset":56119,"snippet":"$_POST['test_password']"},{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-save-options-handler.php","line":1015,"offset":56147,"snippet":"$_POST['test_password']"}]},"risk":"Sensitive data exposure"}],"A03":[{"type":"parameter","name":"mo_ldap_local_query_email","locations":{"POST":[{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-save-options-handler.php","line":1162,"offset":66769,"snippet":"$_POST['mo_ldap_local_query_email']"},{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-save-options-handler.php","line":1162,"offset":66837,"snippet":"$_POST['mo_ldap_local_query_email']"}]},"risk":"Parameter name suggests injection sink — verify sanitization"},{"type":"parameter","name":"mo_ldap_local_query_phone","locations":{"POST":[{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-save-options-handler.php","line":1163,"offset":66913,"snippet":"$_POST['mo_ldap_local_query_phone']"},{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-save-options-handler.php","line":1163,"offset":66986,"snippet":"$_POST['mo_ldap_local_query_phone']"}]},"risk":"Parameter name suggests injection sink — verify sanitization"},{"type":"parameter","name":"mo_ldap_local_query","locations":{"POST":[{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-save-options-handler.php","line":1164,"offset":67062,"snippet":"$_POST['mo_ldap_local_query']"},{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-save-options-handler.php","line":1164,"offset":67129,"snippet":"$_POST['mo_ldap_local_query']"}]},"risk":"Parameter name suggests injection sink — verify sanitization"},{"type":"parameter","name":"mo_ldap_local_query_feedback","locations":{"POST":[{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-save-options-handler.php","line":1299,"offset":74708,"snippet":"$_POST['mo_ldap_local_query_feedback']"}]},"risk":"Parameter name suggests injection sink — verify sanitization"},{"type":"parameter","name":"mo_ldap_local_query_mail","locations":{"POST":[{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-save-options-handler.php","line":1336,"offset":76508,"snippet":"$_POST['mo_ldap_local_query_mail']"},{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-save-options-handler.php","line":1336,"offset":76575,"snippet":"$_POST['mo_ldap_local_query_mail']"}]},"risk":"Parameter name suggests injection sink — verify sanitization"},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/views/mo-ldap-local-ldap-config-page.php","line":646},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/views/mo-ldap-local-registration-page.php","line":40},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/views/mo-ldap-local-registration-page.php","line":40},{"type":"pattern_match","pattern":"sqli_interpolated","count":6,"severity":"critical","examples":["class-mo-ldap-user-auth-reports.php:90","handlers/class-mo-ldap-local-save-options-handler.php:145","handlers/class-mo-ldap-local-save-options-handler.php:210"],"risk":"Interpolated variable in SQL query string (6 occurrence(s))"}],"A07":[{"type":"parameter","name":"enable_ldap_login","locations":{"POST":[{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-save-options-handler.php","line":695,"offset":32592,"snippet":"$_POST['enable_ldap_login']"},{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-save-options-handler.php","line":695,"offset":32666,"snippet":"$_POST['enable_ldap_login']"},{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-save-options-handler.php","line":1073,"offset":61150,"snippet":"$_POST['enable_ldap_login']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"mo_ldap_local_enable_unique_id_login","locations":{"POST":[{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-save-options-handler.php","line":731,"offset":35101,"snippet":"$_POST['mo_ldap_local_enable_unique_id_login']"},{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-save-options-handler.php","line":731,"offset":35194,"snippet":"$_POST['mo_ldap_local_enable_unique_id_login']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"mo_ldap_local_enable_admin_wp_login","locations":{"POST":[{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-save-options-handler.php","line":1135,"offset":64829,"snippet":"$_POST['mo_ldap_local_enable_admin_wp_login']"},{"file":"/plugins/ldap-login-for-intranet-sites/tags/5.4.6/handlers/class-mo-ldap-local-save-options-handler.php","line":1135,"offset":64921,"snippet":"$_POST['mo_ldap_local_enable_admin_wp_login']"}]},"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":"user_register","risk":"Hooks the 'user_register' authentication/identity flow — verify it cannot be abused to bypass authentication"}]}}