{"summary":{"plugin_name":"payu-india","display_name":"PayU India","version":"3.9.2","risk_level":"medium","risk_score":37.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":10,"unauth_ratio":10,"superglobal_density":5,"rest_routes":2},"last_analyzed":"2026-11-23T13:22:21.686767","removed_from_directory":false,"closed_reason":"not-found","closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":7000,"rating":100,"num_ratings":1,"tested":"7.1.3","requires":"5.3","requires_php":"7.4","author":"PayU India","short_description":"CommercePro payment plugin by PayU Payment Gateway (India) for WooCommerce (tested from 5.3 to 9.8.1).","tags":["gateway","payment","payu"],"added":"2021-02-10","last_updated":"2026-10-21 6:19am GMT","metadata_fetched_at":"2026-10-25T05:04:53.244650+00:00","modules_missing":null,"modules_failed":null,"latest_release":"3.9.2"},"security_metrics":{"total_issues":2,"parameters_found":24,"unknown_parameters":0,"headers_accessed":3,"cookies_accessed":0,"wp_hooks":2,"rest_routes":4,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":4,"file_upload_parameters":0,"owasp_findings":{"A01":6,"A07":1},"attack_surface_level":"medium","attack_surface_score":34,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":6},"comparison":{"percentile":63.1,"rank":180283,"peer_count":488806,"better_than":63.1,"risk_distribution":{"high":177115,"critical":38356,"medium":118987,"low":96004,"minimal":58344}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"critical","findings_count":6,"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":["REST route '/get-payment-success-update' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/get-payment-failed-update' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/get-shipping-cost' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/refund-status-update' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","Pattern 'rest_no_permission' x5 - REST endpoint with no permission check (5 occurrence(s))"]},{"category":"A07","name":"Identification and Authentication Failures","severity":"medium","findings_count":1,"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":["Auth hook 'wp_login' - Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"/get-payment-success-update","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/get-payment-failed-update","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/get-shipping-cost","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/refund-status-update","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"pattern_match","pattern":"rest_no_permission","count":5,"severity":"high","examples":["includes/payu-refund-process.php:296","includes/class-payu-shipping-tax-api-calculation.php:26","includes/class-payu-shipping-tax-api-calculation.php:265"],"risk":"REST endpoint with no permission check (5 occurrence(s))"},{"type":"pattern_match","pattern":"nopriv_no_nonce","count":1,"severity":"high","examples":["includes/buy_now/buy-now-payu.php:151"],"risk":"Nopriv AJAX handler without nonce verification (1 occurrence(s))"}],"A07":[{"type":"auth_hook","name":"wp_login","risk":"Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication"}]}}