CyberRota Analysis
AI-GeneratedThe Mailgun for WordPress plugin is susceptible to Server-Side Request Forgery (SSRF) due to inadequate input validation in the add_list() function, affecting versions up to 2.2.0. This vulnerability allows unauthenticated attackers to exploit the WordPress site's API key to make unauthorized POST requests to Mailgun API endpoints, potentially leading to the interception of sensitive emails and administrator account takeover. WordPress site administrators using this plugin should prioritize immediate updates to mitigate the risk of exploitation.
Original NVD Description
The Mailgun for WordPress plugin for WordPress is vulnerable to Server-Side Request Forgery (SSRF) via path traversal in versions up to and including 2.2.0. This is due to insufficient input validation in the add_list() function, which accepts user-controlled array keys from $_POST['addresses'], passes them through sanitize_text_field(). This makes it possible for unauthenticated attackers to make authenticated POST requests to any Mailgun API endpoint using the WordPress site's API key, including creating inbound email-forwarding routes that can intercept password reset emails, leading to administrator account takeover.