stripe_apiThis module provides an integration with the Stripe payment platform, including an endpoint for receiving Stripe webhook events and passing them on to other modules.
The module doesn't sufficiently verify incoming webhook requests when no webhook signing secret is configured. An attacker could send forged webhook events that the site accepts as genuine Stripe events and passes on to every module that reacts to them. Depending on the modules installed, this could let an attacker receive orders, subscriptions, donations, or access to functionality without making a payment.
Install the latest version:
- If you use version 4.0.x, upgrade to Stripe API 4.0.3.
- The 3.x branches are no longer supported and will not receive a fix. Sites using them should upgrade to 4.0.3, or apply the workaround below.
After updating, sites that rely on webhooks should make sure a signing secret is configured.
If you can't update right away, either configure a webhook signing secret for the active mode, or turn off Accept incoming webhooks on the Stripe API settings page (/admin/config/services/stripe_api).
- Damien McKenna (damienmckenna) of the Drupal Security Team
- Juraj Nemec (poker10) of the Drupal Security Team
- Jess (xjm) of the Drupal Security Team