Description
The Brevo - Email, SMS, Web Push, Chat, and more. plugin for WordPress is vulnerable to authorization bypass due to type juggling in all versions up to, and including, 3.3.0. This is due to the use of loose comparison (==) instead of strict comparison (===) when validating the installation ID in the `/wp-json/mailin/v1/mailin_disconnect` REST API endpoint. This makes it possible for unauthenticated attackers to disconnect the Brevo integration, delete the API key, remove all subscription forms, and reset plugin settings by sending a boolean `true` value for the `id` parameter, which bypasses the authorization check through PHP type juggling.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
neeraj_slit Brevo – Email, SMS, Web Push, Chat, and more.
Default version status: unaffected
0 to ≤ 3.3.0affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/f29e5b19-2505-4b02-92c7-071833de6bc2?source=cve ↗
- https://plugins.trac.wordpress.org/browser/mailin/tags/3.2.9/sendinblue.php#L1833 ↗
- https://plugins.trac.wordpress.org/browser/mailin/tags/3.2.9/sendinblue.php#L1795 ↗
- https://plugins.trac.wordpress.org/changeset/3448639/ ↗