{"summary":{"plugin_name":"website-monetization-by-magenet","display_name":"Website Monetization by MageNet","version":"1.0.29.3","risk_level":"high","risk_score":55.0,"risk_factors":{"staleness":20,"static_analysis":20,"owasp":5,"vuln_history":5,"superglobal_density":5},"last_analyzed":"2026-11-23T14:31:30.180719","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":20000,"rating":58,"num_ratings":7,"tested":"6.8.3","requires":"4.0","requires_php":"False","author":"MageNet","short_description":"Get additional income from your website or blog by placing text ads automatically.","tags":["advertising","contextual ads","contextual advertising","earn money online","website monetization"],"added":"2013-11-01","last_updated":"2025-05-20 3:55pm GMT","metadata_fetched_at":null,"modules_missing":[],"modules_failed":[],"latest_release":null},"security_metrics":{"total_issues":74,"parameters_found":5,"unknown_parameters":0,"headers_accessed":0,"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":{"A01":1,"A03":2,"A04":1},"attack_surface_level":"minimal","attack_surface_score":7,"tainted_sinks":8,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":3},"comparison":{"percentile":23.6,"rank":383468,"peer_count":502216,"better_than":23.6,"risk_distribution":{"low":102045,"high":178209,"medium":121583,"critical":38915,"minimal":61464}},"executive_summary":null,"vulnerabilities":[{"id":"52907581-626f-4f2b-b9cb-1ad624de1e6e","title":"Website Monetization by MageNet < 1.0.29.2 - Cross-Site Request Forgery","created_at":"2023-07-10T19:21:49.000Z","updated_at":"2023-08-07T08:45:10.000Z","published_date":"2023-03-16T00:00:00.000Z","description":null,"poc":null,"vuln_type":"CSRF","references":{"url":["https://patchstack.com/database/vulnerability/website-monetization-by-magenet/wordpress-website-monetization-by-magenet-plugin-1-0-29-1-cross-site-request-forgery-csrf-vulnerability"],"cve":["2023-22673"]},"cvss":null,"verified":false,"fixed_in":"1.0.29.2","introduced_in":null}],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"medium","findings_count":1,"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":["Reachable 'option_update' sink x2 - 2 attacker-reachable 'option_update' sink(s) found by the reachability analyzer"]},{"category":"A03","name":"Injection","severity":"medium","findings_count":2,"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":["Reachable 'file_include' sink x6 - 6 attacker-reachable 'file_include' sink(s) found by the reachability analyzer","Pattern 'sqli_interpolated' x3 - Interpolated variable in SQL query string (3 occurrence(s))"]},{"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: 20 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]}],"owasp_findings":{"A01":[{"type":"reachability_sink","sink":"option_update","count":2,"risk":"2 attacker-reachable 'option_update' sink(s) found by the reachability analyzer"}],"A03":[{"type":"reachability_sink","sink":"file_include","count":6,"risk":"6 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"},{"type":"pattern_match","pattern":"sqli_interpolated","count":3,"severity":"critical","examples":["MagenetLinkAutoinstall.php:218","MagenetLinkAutoinstall.php:391","MagenetLinkAutoinstall.php:478"],"risk":"Interpolated variable in SQL query string (3 occurrence(s))"}],"A04":[{"type":"direct_file_access","count":20,"risk":"20 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}]}}