Mailgun for WordPress <= 2.2.0 - Unauthenticated Server-Side Request Forgery (SSRF) via 'addresses' Array Keys
No fixed version listed yet.Check the vendor advisory. References ↓
mailgun · Mailgun for WordPress
The Mailgun for WordPress plugin, in versions up to and including 2.2.0, fails to validate user-controlled array keys submitted through the add_list() function, enabling server-side request forgery via path traversal. An unauthenticated remote attacker can exploit this with no user interaction to send authenticated POST requests to arbitrary Mailgun API endpoints using the site's API key, such as creating inbound email-forwarding routes that can capture password reset emails and lead to administrator account takeover.
Official description · CVE.org
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.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited 6 days after disclosure.
- Disclosedday 0
- First seen exploitedVulnCheck KEV evidence+6 days
Affected versions and fixes
as published in the CVE recordmailgun Mailgun for WordPress
Affected: <= 2.2.0