{"summary":{"plugin_name":"gateland","display_name":"گیت‌لند | درگاه پرداخت هوشمند گیت‌لند","version":"2.3.8","risk_level":"low","risk_score":25.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":10,"unauth_ratio":5},"last_analyzed":"2026-11-23T12:09:41.655493","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":5000,"rating":94,"num_ratings":18,"tested":"7.1.5","requires":"6.8","requires_php":"7.4","author":"Mahdi Yousefi [MahdiY]","short_description":"گیت لند درگاه پرداخت جامع، ایمن و هوشمند وردپرس برای تمام درگاه‌های پرداخت است که شما از نصب افزونه‌های پرداخت متعدد و غیراستاندارد بی نیاز می‌کند","tags":["payment","payment gateway","پرداخت","درگاه پرداخت"],"added":"2025-04-26","last_updated":"2026-11-16 9:25am GMT","metadata_fetched_at":"2026-11-22T05:12:45.079104+00:00","modules_missing":[],"modules_failed":[],"latest_release":"2.5.2"},"security_metrics":{"total_issues":51,"parameters_found":44,"unknown_parameters":2,"headers_accessed":7,"cookies_accessed":0,"wp_hooks":2,"rest_routes":18,"query_vars":2,"shortcode_atts":0,"rest_routes_with_access_patterns":4,"file_upload_parameters":0,"owasp_findings":{"A01":3,"A02":1},"attack_surface_level":"large","attack_surface_score":82,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":4},"comparison":{"percentile":82.8,"rank":24492,"peer_count":142284,"better_than":82.8,"risk_distribution":{"high":68561,"medium":41398,"low":17028,"critical":7834,"minimal":7459,"Unknown":4}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"high","findings_count":3,"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 '(?P<id>\\d+)/start' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '(?P<id>\\d+)/callback' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","Pattern 'rest_no_permission' x4 - REST endpoint with no permission check (4 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 'secret' - Sensitive data exposure"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"(?P<id>\\d+)/start","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"(?P<id>\\d+)/callback","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"pattern_match","pattern":"rest_no_permission","count":4,"severity":"high","examples":["src/Rest.php:34","src/Rest.php:40","src/API/PaymentAPI.php:15"],"risk":"REST endpoint with no permission check (4 occurrence(s))"}],"A02":[{"type":"parameter","name":"secret","locations":{"GET":[{"file":"/plugins/gateland/tags/2.3.8/src/Plugins/EDD/Gateway.php","line":176,"offset":5090,"snippet":"$_GET['secret']"},{"file":"/plugins/gateland/tags/2.3.8/src/Plugins/EDD/Gateway.php","line":180,"offset":5171,"snippet":"$_GET['secret']"},{"file":"/plugins/gateland/tags/2.3.8/src/Plugins/Give/Load.php","line":203,"offset":5985,"snippet":"$_GET['secret']"},{"file":"/plugins/gateland/tags/2.3.8/src/Plugins/LearnDash/Gateway.php","line":254,"offset":8602,"snippet":"$_GET['secret']"},{"file":"/plugins/gateland/tags/2.3.8/src/Plugins/LearnDash/Gateway.php","line":326,"offset":11090,"snippet":"$_GET['secret']"},{"file":"/plugins/gateland/tags/2.3.8/src/Plugins/LearnPress/Gateway.php","line":240,"offset":6603,"snippet":"$_GET['secret']"},{"file":"/plugins/gateland/tags/2.3.8/src/Plugins/MyCred/Gateway.php","line":221,"offset":6871,"snippet":"$_GET['secret']"},{"file":"/plugins/gateland/tags/2.3.8/src/Plugins/PMP/Gateway.php","line":183,"offset":5698,"snippet":"$_GET['secret']"},{"file":"/plugins/gateland/tags/2.3.8/src/Plugins/TeraWallet/Load.php","line":142,"offset":3999,"snippet":"$_GET['secret']"},{"file":"/plugins/gateland/tags/2.3.8/src/Plugins/Woocommerce/Gateway.php","line":306,"offset":9881,"snippet":"$_GET['secret']"},{"file":"/plugins/gateland/tags/2.3.8/src/Plugins/Woocommerce/Gateway.php","line":310,"offset":9956,"snippet":"$_GET['secret']"},{"file":"/plugins/gateland/tags/2.3.8/src/Plugins/WPUF/Gateway.php","line":258,"offset":8670,"snippet":"$_GET['secret']"}]},"risk":"Sensitive data exposure"}]}}