Booking Package <= 1.7.06 - Unauthenticated Price Manipulation via 'amount' Parameter
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: partial
Summary
The Booking Package plugin for WordPress is vulnerable to Price Manipulation in versions up to, and including, 1.7.06 This is due to the intentForStripe() function passing user-controlled $_POST['amount'] directly to the Stripe PaymentIntent API without validation, and the commitStripe() function ignoring the server-calculated amount when confirming the payment. While the server correctly calculates the booking cost via getAmount() based on services, guests, taxes, and coupons, this calculated amount is never validated against or used to update the PaymentIntent because the critical code in CreditCard.php that would include the calculated amount in the PaymentIntent update is commented out. This makes it possible for unauthenticated attackers to book services at arbitrary prices (e.g., $0.01 instead of $500.00) by manipulating the amount parameter during PaymentIntent creation and completing the booking with the fraudulent payment.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- masaakitanaka Booking Package
through 1.7.06
References 10
plugins.trac.wordpress.org
- browser/booking-package/trunk/lib/Schedule.php#L8942
- browser/booking-package/tags/1.7.04/lib/Schedule.php#L8948
- browser/booking-package/trunk/lib/CreditCard.php#L390
- browser/booking-package/tags/1.7.04/lib/CreditCard.php#L393
- browser/booking-package/trunk/lib/CreditCard.php#L545
- browser/booking-package/tags/1.7.04/lib/CreditCard.php#L548
- browser/booking-package/trunk/lib/Schedule.php#L15151
- browser/booking-package/tags/1.7.04/lib/Schedule.php#L15151
- changeset?old_path=%2Fbooking-package/tags/1.7.06&new_path=%2Fbooking-package/tags/1.7.07