Payment Gateway Of Stripe For Woocommerce
Improper Verification of Cryptographic Signature occurs due to the `woocommerce api wt stripe` webhook endpoint (`EH Stripe Webhook Handler::handle()`) failing to execute the `StripeWebhook::constructEvent()` function when the `eh stripe webhook secret` option is empty. This condition is common in default installations where the signing secret has not been configured. Consequently, unauthenticated attackers can send forged POST requests that are processed as trusted Stripe events without authentication or authorization. This allows for the manipulation of WooCommerce order statuses through the `payment complete()` function, such as marking unpaid orders as paid, forcing orders into failed states, or fabricating refund and dispute notifications.