PayPal Brasil para WooCommerce <= 1.7.8 - Missing Authorization to Unauthenticated Payment Gateway Modification via 'bcdc_activation_update' Action
Impact
The PayPal Brasil para WooCommerce plugin for WordPress is vulnerable to authorization bypass in all versions up to, and including, 1.7.8. This is due to the plugin not properly verifying that a user is authorized to perform an action. This makes it possible for unauthenticated attackers to disable or enable the PayPal Brasil BCDC payment gateway and overwrite its WooCommerce gateway settings, removing PayPal from checkout for all customers.
Source excerpt · WordfenceAffected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
odefranca · PayPal Brasil para WooCommerce
Other versions: unaffected
| Version / range | Source status |
|---|---|
| 0 through 1.7.8 (inclusive) | affected |
Original source description
The PayPal Brasil para WooCommerce plugin for WordPress is vulnerable to authorization bypass in all versions up to, and including, 1.7.8. This is due to the plugin not properly verifying that a user is authorized to perform an action. This makes it possible for unauthenticated attackers to disable or enable the PayPal Brasil BCDC payment gateway and overwrite its WooCommerce gateway settings, removing PayPal from checkout for all customers.
References
- Security advisory www.wordfence.com/threat-intel/vulnerabilities/id/2fa13ee0-0aee-4929-9bd0-a1375e002d26
- Source reference plugins.trac.wordpress.org/browser/paypal-brasil-para-woocommerce/tags/1.7.5/includes/handlers/api/class-paypal-brasil-bcdc-activate.php
- Source reference plugins.trac.wordpress.org/browser/paypal-brasil-para-woocommerce/tags/1.7.5/includes/handlers/api/class-paypal-brasil-bcdc-activate.php
- Source reference plugins.trac.wordpress.org/browser/paypal-brasil-para-woocommerce/tags/1.7.5/includes/handlers/class-paypal-brasil-handler.php
- Source reference plugins.trac.wordpress.org/browser/paypal-brasil-para-woocommerce/tags/1.7.5/includes/handlers/api/class-paypal-brasil-api-ppp-activate.php
- Patch plugins.trac.wordpress.org/changeset