{"summary":{"plugin_name":"quick-adsense-reloaded","display_name":"Quads Ads Manager for Google AdSense","version":"3.0.6","risk_level":"high","risk_score":50.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":15,"unauth_ratio":5,"superglobal_density":5,"rest_routes":10,"raw_input":5},"last_analyzed":"2026-11-23T13:01:53.758690","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":20000,"rating":98,"num_ratings":1087,"tested":"7.1.5","requires":"5.0","requires_php":"7.4","author":"Ads by WPQuads","short_description":"Ads & AdSense plugin supporting Media.net, DFP, ads.txt, Web Stories ads, click fraud protection, revenue sharing, and ad blocker detection.","tags":["ad manager","ads","adsense","banner","monetize"],"added":"2015-12-04","last_updated":"2026-11-09 2:09pm GMT","metadata_fetched_at":"2026-11-22T08:39:43.112171+00:00","modules_missing":[],"modules_failed":[],"latest_release":"3.0.6"},"security_metrics":{"total_issues":91,"parameters_found":66,"unknown_parameters":1,"headers_accessed":14,"cookies_accessed":9,"wp_hooks":2,"rest_routes":50,"query_vars":1,"shortcode_atts":0,"rest_routes_with_access_patterns":27,"file_upload_parameters":2,"owasp_findings":{"A01":7,"A02":1,"A03":5,"A04":1,"A08":1},"attack_surface_level":"large","attack_surface_score":178,"tainted_sinks":185,"tainted_sql":90,"tainted_ssrf":0,"tainted_file_ops":4,"auth_bypass_sinks":0,"dangerous_patterns":8},"comparison":{"percentile":43.4,"rank":282761,"peer_count":499556,"better_than":43.4,"risk_distribution":{"low":100735,"high":177992,"medium":121107,"critical":38804,"minimal":60918}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"critical","findings_count":7,"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 '/paypal_notify_url' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/paypal_disable_ad_notify_url' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route 'import_old_db' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","Reachable 'file_write' sink x4 - 4 attacker-reachable 'file_write' sink(s) found by the reachability analyzer","Reachable 'option_update' sink x2 - 2 attacker-reachable 'option_update' sink(s) found by the reachability analyzer"]},{"category":"A03","name":"Injection","severity":"high","findings_count":5,"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 $_POST on echo","Reachable 'file_include' sink x80 - 80 attacker-reachable 'file_include' sink(s) found by the reachability analyzer","Reachable 'sql' sink x90 - 90 attacker-reachable 'sql' sink(s) found by the reachability analyzer","Reachable 'variable_injection' sink x1 - 1 attacker-reachable 'variable_injection' sink(s) found by the reachability analyzer","Pattern 'sqli_interpolated' x5 - Interpolated variable in SQL query string (5 occurrence(s))"]},{"category":"A08","name":"Software and Data Integrity Failures","severity":"medium","findings_count":1,"description":"Code and infrastructure that does not protect against integrity violations — notably insecure deserialization of attacker-controlled data","recommendations":["Never call unserialize() on attacker-controlled data — use json_decode() instead","If deserialization is unavoidable, pass ['allowed_classes' => false]","Verify integrity (signatures/checksums) of updates and imported data"],"findings_summary":["Reachable 'unserialize' sink x7 - 7 attacker-reachable 'unserialize' sink(s) found by the reachability analyzer"]},{"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 'password' - Sensitive data exposure"]},{"category":"A04","name":"Insecure Design","severity":"low","findings_count":1,"description":"Missing or ineffective control design — e.g. plugin files that perform work when requested directly, bypassing the WordPress bootstrap","recommendations":["Add a `defined('ABSPATH') || exit;` guard to every PHP file so it cannot be requested directly","Move logic out of directly-reachable files into hook callbacks loaded by WordPress","Threat-model unauthenticated entry points during design, not after release"],"findings_summary":["Direct file access: 6 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"/paypal_notify_url","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/paypal_disable_ad_notify_url","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"import_old_db","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"reachability_sink","sink":"file_write","count":4,"risk":"4 attacker-reachable 'file_write' sink(s) found by the reachability analyzer"},{"type":"reachability_sink","sink":"option_update","count":2,"risk":"2 attacker-reachable 'option_update' sink(s) found by the reachability analyzer"},{"type":"pattern_match","pattern":"nopriv_no_nonce","count":1,"severity":"high","examples":["includes/ad-selling-helper.php:588"],"risk":"Nopriv AJAX handler without nonce verification (1 occurrence(s))"},{"type":"pattern_match","pattern":"rest_no_permission","count":2,"severity":"high","examples":["includes/ad-selling-helper.php:595","includes/reports/commonV2.php:61"],"risk":"REST endpoint with no permission check (2 occurrence(s))"}],"A02":[{"type":"parameter","name":"password","locations":{"POST":[{"file":"/plugins/quick-adsense-reloaded/tags/3.0.6/includes/ad-selling-helper.php","line":1213,"offset":57509,"snippet":"$_POST['password']"},{"file":"/plugins/quick-adsense-reloaded/tags/3.0.6/includes/ad-selling-helper.php","line":1222,"offset":58050,"snippet":"$_POST['password']"},{"file":"/plugins/quick-adsense-reloaded/tags/3.0.6/includes/ad-selling-helper.php","line":2178,"offset":98293,"snippet":"$_POST['password']"},{"file":"/plugins/quick-adsense-reloaded/tags/3.0.6/includes/ad-selling-helper.php","line":2178,"offset":98350,"snippet":"$_POST['password']"},{"file":"/plugins/quick-adsense-reloaded/tags/3.0.6/includes/ad-selling-helper.php","line":2687,"offset":126370,"snippet":"$_POST['password']"},{"file":"/plugins/quick-adsense-reloaded/tags/3.0.6/includes/ad-selling-helper.php","line":2687,"offset":126426,"snippet":"$_POST['password']"}]},"risk":"Sensitive data exposure"}],"A03":[{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_POST on echo","file":"/plugins/quick-adsense-reloaded/tags/3.0.6/includes/admin/tools.php","line":490},{"type":"reachability_sink","sink":"file_include","count":80,"risk":"80 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"},{"type":"reachability_sink","sink":"sql","count":90,"risk":"90 attacker-reachable 'sql' sink(s) found by the reachability analyzer"},{"type":"reachability_sink","sink":"variable_injection","count":1,"risk":"1 attacker-reachable 'variable_injection' sink(s) found by the reachability analyzer"},{"type":"pattern_match","pattern":"sqli_interpolated","count":5,"severity":"critical","examples":["includes/reports/commonV2.php:294","includes/reports/analytics.php:101","includes/reports/analytics.php:373"],"risk":"Interpolated variable in SQL query string (5 occurrence(s))"}],"A04":[{"type":"direct_file_access","count":6,"risk":"6 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}],"A08":[{"type":"reachability_sink","sink":"unserialize","count":7,"risk":"7 attacker-reachable 'unserialize' sink(s) found by the reachability analyzer"}]}}