{"summary":{"plugin_name":"google-authenticator","display_name":"Google Authenticator","version":"0.56","risk_level":"medium","risk_score":45.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":5,"superglobal_density":15,"filter_hooks":15},"last_analyzed":"2026-11-23T10:21:38.297277","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":20000,"rating":86,"num_ratings":135,"tested":"7.1","requires":"4.5","requires_php":"False","author":"Ivan","short_description":"Google Authenticator for your WordPress blog.","tags":["authentication","login","otp","password","security"],"added":"2011-05-16","last_updated":"2026-08-23 8:48pm GMT","metadata_fetched_at":"2026-08-02T15:47:18.268000+00:00","modules_missing":null,"modules_failed":null,"latest_release":"0.56"},"security_metrics":{"total_issues":6,"parameters_found":17,"unknown_parameters":0,"headers_accessed":1,"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":{"A02":2,"A03":7,"A07":4},"attack_surface_level":"medium","attack_surface_score":19,"tainted_sinks":5,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":4,"dangerous_patterns":0},"comparison":{"percentile":54.8,"rank":203991,"peer_count":451309,"better_than":54.8,"risk_distribution":{"medium":111595,"minimal":48783,"high":174920,"low":78291,"critical":37720}},"executive_summary":null,"vulnerabilities":[{"id":"5d3b6fa8-3e11-4f01-8157-2d87b4961d43","title":"Google Authenticator <= 0.47 - Two Factor Authentication Bypass","created_at":"2016-04-29T14:28:57.000Z","updated_at":"2019-11-01T06:00:07.000Z","published_date":"2016-04-28T00:00:00.000Z","vuln_type":"AUTHBYPASS","references":{"url":["https://wordpress.org/plugins/google-authenticator/changelog/","https://plugins.trac.wordpress.org/changeset/1406125/google-authenticator"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"0.48","introduced_in":null},{"id":"9ae793b2-31d4-4a9d-9481-52f07024b07e","title":"Google Authenticator < 0.56 - 2FA Secret Overwrite via CSRF","created_at":"2026-08-03T14:00:24.000Z","updated_at":"2026-08-03T14:00:24.000Z","published_date":"2026-08-03T00:00:00.000Z","vuln_type":"CSRF","references":{"cve":["2026-14204"]},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"0.56","introduced_in":null}],"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":["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 $_REQUEST on echo","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 $_REQUEST on echo","phpcs_security: Easy XSS detected because of direct user input with $_REQUEST on echo"]},{"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 'GA_otp_code' - Authentication-related parameter — verify login flow hardening","Parameter 'googleotp' - Authentication-related parameter — verify login flow hardening","Auth hook 'authenticate' - Hooks the 'authenticate' authentication/identity flow — verify it cannot be abused to bypass authentication","Reachable 'auth_bypass' sink x4 - 4 attacker-reachable 'auth_bypass' sink(s) found by the reachability analyzer"]},{"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 'GA_secret' - Sensitive data exposure","Parameter 'GA_password' - Sensitive data exposure"]}],"owasp_findings":{"A02":[{"type":"parameter","name":"GA_secret","locations":{"POST":[{"file":"/plugins/google-authenticator/tags/0.56/google-authenticator.php","line":281,"offset":10290,"snippet":"$_POST['GA_secret']"},{"file":"/plugins/google-authenticator/tags/0.56/google-authenticator.php","line":281,"offset":10352,"snippet":"$_POST['GA_secret']"},{"file":"/plugins/google-authenticator/tags/0.56/google-authenticator.php","line":726,"offset":29921,"snippet":"$_REQUEST['GA_secret']"},{"file":"/plugins/google-authenticator/tags/0.56/google-authenticator.php","line":915,"offset":38207,"snippet":"$_POST['GA_secret']"},{"file":"/plugins/google-authenticator/tags/0.56/google-authenticator.php","line":915,"offset":38231,"snippet":"$_POST['GA_secret']"}],"GET":[{"file":"/plugins/google-authenticator/tags/0.56/google-authenticator.php","line":726,"offset":29921,"snippet":"$_REQUEST['GA_secret']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"GA_password","locations":{"POST":[{"file":"/plugins/google-authenticator/tags/0.56/google-authenticator.php","line":917,"offset":38366,"snippet":"$_POST['GA_password']"},{"file":"/plugins/google-authenticator/tags/0.56/google-authenticator.php","line":917,"offset":38392,"snippet":"$_POST['GA_password']"}]},"risk":"Sensitive data exposure"}],"A03":[{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/google-authenticator/tags/0.56/google-authenticator.php","line":669},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/google-authenticator/tags/0.56/google-authenticator.php","line":669},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/google-authenticator/tags/0.56/google-authenticator.php","line":670},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/google-authenticator/tags/0.56/google-authenticator.php","line":670},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/google-authenticator/tags/0.56/google-authenticator.php","line":671},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/google-authenticator/tags/0.56/google-authenticator.php","line":671},{"type":"reachability_sink","sink":"file_include","count":1,"risk":"1 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"}],"A07":[{"type":"parameter","name":"GA_otp_code","locations":{"POST":[{"file":"/plugins/google-authenticator/tags/0.56/google-authenticator.php","line":282,"offset":10395,"snippet":"$_POST['GA_otp_code']"},{"file":"/plugins/google-authenticator/tags/0.56/google-authenticator.php","line":282,"offset":10459,"snippet":"$_POST['GA_otp_code']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"googleotp","locations":{"POST":[{"file":"/plugins/google-authenticator/tags/0.56/google-authenticator.php","line":611,"offset":24014,"snippet":"$_POST['googleotp']"},{"file":"/plugins/google-authenticator/tags/0.56/google-authenticator.php","line":612,"offset":24108,"snippet":"$_POST['googleotp']"},{"file":"/plugins/google-authenticator/tags/0.56/google-authenticator.php","line":661,"offset":26653,"snippet":"$_REQUEST['googleotp']"}],"GET":[{"file":"/plugins/google-authenticator/tags/0.56/google-authenticator.php","line":661,"offset":26653,"snippet":"$_REQUEST['googleotp']"}]},"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":"reachability_sink","sink":"auth_bypass","count":4,"risk":"4 attacker-reachable 'auth_bypass' sink(s) found by the reachability analyzer"}]}}