{"summary":{"plugin_name":"sg-security","display_name":"Security Optimizer – The All-In-One Protection Plugin","version":"1.7.0","risk_level":"medium","risk_score":40.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":10,"superglobal_density":5,"filter_hooks":15,"rest_routes":10,"installs_modifier":-10},"last_analyzed":"2026-11-29T22:12:28.960286","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":1000000,"rating":90,"num_ratings":158,"tested":"7.1.5","requires":"4.7","requires_php":"7.0","author":"SiteGround","short_description":"Secure your WordPress site from brute-force attacks, threats, malware, and bots. Free to use and easy to set up.","tags":["firewall","login","malware scanner","security","web application firewall"],"added":"2021-05-31","last_updated":"2026-11-25 8:20am GMT","metadata_fetched_at":"2026-11-28T04:33:24.113583+00:00","modules_missing":[],"modules_failed":[],"latest_release":"1.7.1"},"security_metrics":{"total_issues":25,"parameters_found":21,"unknown_parameters":2,"headers_accessed":9,"cookies_accessed":1,"wp_hooks":2,"rest_routes":34,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":9,"file_upload_parameters":0,"owasp_findings":{"A02":1,"A03":1,"A07":9},"attack_surface_level":"large","attack_surface_score":91,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":3},"comparison":{"percentile":62.2,"rank":187754,"peer_count":496238,"better_than":62.2,"risk_distribution":{"low":99227,"high":177821,"medium":120359,"critical":38729,"minimal":60102}},"executive_summary":null,"vulnerabilities":[{"id":"5600f324-3301-4e1a-a9a8-6e97d45cdadc","title":"SiteGround Security < 1.2.6 - Authentication Bypass via 2-FA Authentication Setup","created_at":"2022-04-07T16:00:23.000Z","updated_at":"2022-04-08T07:18:29.000Z","published_date":"2022-04-07T00:00:00.000Z","vuln_type":"BYPASS","references":{"cve":["2022-0992"],"url":["https://www.wordfence.com/blog/2022/04/critical-authentication-bypass-vulnerability-patched-in-siteground-security-plugin/"]},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"1.2.6","introduced_in":null},{"id":"b8dbb1a7-2f25-474d-b2b3-17ceb0d61839","title":"SiteGround Security < 1.2.6 - Authorization Weakness to Authentication Bypass via 2-FA Back-up Codes","created_at":"2022-04-07T16:00:55.000Z","updated_at":"2022-04-08T07:19:26.000Z","published_date":"2022-04-07T00:00:00.000Z","vuln_type":"BYPASS","references":{"url":["https://www.wordfence.com/blog/2022/04/critical-authentication-bypass-vulnerability-patched-in-siteground-security-plugin/"],"cve":["2022-0993"]},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"1.2.6","introduced_in":null},{"id":"acf3e369-1290-4b3f-83bf-2209b9dd06e1","title":"SiteGround Security < 1.3.1 - Admin+ SQLi","created_at":"2023-01-13T02:52:38.000Z","updated_at":"2023-01-13T02:52:38.000Z","published_date":"2023-01-13T00:00:00.000Z","vuln_type":"SQLI","references":{"url":["https://github.com/namah-age/CVEs/blob/master/1.md","https://www.siteground.com/viewtos/responsible_disclosure_policy?scid=4&lang=en"],"cve":["2023-0234"]},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"1.3.1","introduced_in":null},{"id":"81e93640-7d42-4c73-98e4-479af79a3d58","title":"Security Optimizer – The All-In-One Protection Plugin < 1.5.1 - Missing Authorization via hide_notice()","created_at":"2024-07-25T17:16:03.000Z","updated_at":"2024-07-25T17:16:03.000Z","published_date":"2024-07-19T00:00:00.000Z","vuln_type":"NO AUTHORISATION","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/679da7c0-98b9-4da0-bf1f-5c991e8a8111"],"cve":["2024-38774"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"1.5.1","introduced_in":null},{"id":"34b39d3f-0308-4136-b93b-67b8f302cb82","title":"SiteGround Security <= 1.5.8 - Missing Authorization","created_at":"2025-12-20T12:28:00.000Z","updated_at":"2026-01-18T06:22:34.000Z","published_date":"2025-11-30T00:00:00.000Z","vuln_type":"NO AUTHORISATION","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/25922abb-7604-4134-92e8-23a1559f57fb"],"cve":["2025-66121"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"1.5.9","introduced_in":null},{"id":"ab14b11c-96ab-4d07-89e0-1d67e4314267","title":"Security Optimizer – The All-In-One Protection Plugin < 1.6.5 - Login Access IP Allowlist Bypass via post_password","created_at":"2026-07-23T14:00:07.000Z","updated_at":"2026-07-23T14:00:07.000Z","published_date":"2026-07-23T00:00:00.000Z","vuln_type":"BYPASS","references":{"cve":["2026-13342"]},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"1.6.5","introduced_in":"1.5.8"},{"id":"d71ec58d-2b09-4d07-a6b7-7dea34eb2926","title":"Security Optimizer < 1.6.7 - 2FA Bypass","created_at":"2026-09-02T14:50:19.000Z","updated_at":"2026-09-02T14:50:19.000Z","published_date":"2026-08-28T00:00:00.000Z","vuln_type":"AUTHBYPASS","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/5ce8f128-78c6-4118-a178-0c163c55b07d"],"cve":["2026-82228"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"1.6.7","introduced_in":null},{"id":"253fe868-0e85-496f-8b01-a8b5107db217","title":"Security Optimizer < 1.6.9 - 2FA Bypass via Missing Rate Limiting","created_at":"2026-10-29T14:00:24.000Z","updated_at":"2026-10-29T14:00:24.000Z","published_date":"2026-10-29T00:00:00.000Z","vuln_type":"AUTHBYPASS","references":{"cve":["2026-118185"]},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"1.6.9","introduced_in":null}],"recommendations":[{"category":"A07","name":"Identification and Authentication Failures","severity":"critical","findings_count":9,"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 'sgc2facode' - Authentication-related parameter — verify login flow hardening","Parameter 'sgc2fabackupcode' - Authentication-related parameter — verify login flow hardening","Parameter 'interim-login' - Authentication-related parameter — verify login flow hardening","Parameter 'sgs-2fa-setup' - Authentication-related parameter — verify login flow hardening","Auth hook 'authenticate' - Hooks the 'authenticate' authentication/identity flow — verify it cannot be abused to bypass authentication"]},{"category":"A03","name":"Injection","severity":"medium","findings_count":1,"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":["Pattern 'sqli_interpolated' x3 - Interpolated variable in SQL query string (3 occurrence(s))"]},{"category":"A02","name":"Cryptographic Failures","severity":"low","findings_count":1,"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 'post_password' - Sensitive data exposure"]}],"owasp_findings":{"A02":[{"type":"parameter","name":"post_password","locations":{"POST":[{"file":"/plugins/sg-security/tags/1.7.0/core/Login_Service/Login_Service.php","line":47,"offset":885,"snippet":"$_POST['post_password']"}]},"risk":"Sensitive data exposure"}],"A03":[{"type":"pattern_match","pattern":"sqli_interpolated","count":3,"severity":"critical","examples":["core/Install_Service/Install_1_2_0.php:29","core/Install_Service/Install_1_2_0.php:30","core/Options_Service/Options_Service.php:143"],"risk":"Interpolated variable in SQL query string (3 occurrence(s))"}],"A07":[{"type":"parameter","name":"sgc2facode","locations":{"POST":[{"file":"/plugins/sg-security/tags/1.7.0/core/Loader/Loader.php","line":357,"offset":11715,"snippet":"$_POST['sgc2facode']"},{"file":"/plugins/sg-security/tags/1.7.0/core/Sg_2fa/Sg_2fa.php","line":867,"offset":24604,"snippet":"$_POST['sgc2facode']"},{"file":"/plugins/sg-security/tags/1.7.0/core/Sg_2fa/Sg_2fa.php","line":871,"offset":24852,"snippet":"$_POST['sgc2facode']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"sgc2fabackupcode","locations":{"POST":[{"file":"/plugins/sg-security/tags/1.7.0/core/Loader/Loader.php","line":357,"offset":11748,"snippet":"$_POST['sgc2fabackupcode']"},{"file":"/plugins/sg-security/tags/1.7.0/core/Sg_2fa/Sg_2fa.php","line":796,"offset":22527,"snippet":"$_POST['sgc2fabackupcode']"},{"file":"/plugins/sg-security/tags/1.7.0/core/Sg_2fa/Sg_2fa.php","line":802,"offset":22820,"snippet":"$_POST['sgc2fabackupcode']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"interim-login","locations":{"GET":[{"file":"/plugins/sg-security/tags/1.7.0/core/Sg_2fa/Sg_2fa.php","line":427,"offset":10393,"snippet":"$_REQUEST['interim-login']"},{"file":"/plugins/sg-security/tags/1.7.0/core/Sg_2fa/Sg_2fa.php","line":427,"offset":10450,"snippet":"$_REQUEST['interim-login']"},{"file":"/plugins/sg-security/tags/1.7.0/core/Sg_2fa/Sg_2fa.php","line":596,"offset":15819,"snippet":"$_REQUEST['interim-login']"},{"file":"/plugins/sg-security/tags/1.7.0/core/Sg_2fa/Sg_2fa.php","line":596,"offset":15864,"snippet":"$_REQUEST['interim-login']"}],"POST":[{"file":"/plugins/sg-security/tags/1.7.0/core/Sg_2fa/Sg_2fa.php","line":427,"offset":10393,"snippet":"$_REQUEST['interim-login']"},{"file":"/plugins/sg-security/tags/1.7.0/core/Sg_2fa/Sg_2fa.php","line":427,"offset":10450,"snippet":"$_REQUEST['interim-login']"},{"file":"/plugins/sg-security/tags/1.7.0/core/Sg_2fa/Sg_2fa.php","line":596,"offset":15819,"snippet":"$_REQUEST['interim-login']"},{"file":"/plugins/sg-security/tags/1.7.0/core/Sg_2fa/Sg_2fa.php","line":596,"offset":15864,"snippet":"$_REQUEST['interim-login']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"sgs-2fa-setup","locations":{"POST":[{"file":"/plugins/sg-security/tags/1.7.0/core/Sg_2fa/Sg_2fa.php","line":915,"offset":26219,"snippet":"$_POST['sgs-2fa-setup']"},{"file":"/plugins/sg-security/tags/1.7.0/core/Sg_2fa/Sg_2fa.php","line":963,"offset":27830,"snippet":"$_POST['sgs-2fa-setup']"}]},"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":"wp_login","risk":"Hooks the 'wp_login' 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":"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"}]}}