(CVE-2023-2016) Attendize <= 2.8.0 Authenticated TOCTOU Allows Multiple Refunds Per Order
A time-of-check time-of-use race condition in the order cancellation feature of Attendize 2.8.0 allows an authenticated attacker to obtain multiple refunds for a single order. The attacker can exploit the gap between checking the order status and applying the refund to trigger repeated refunds.
starlabs.sg
Published on starlabs.sg
Attendize is an open-source ticketing and event management application built using the Laravel PHP framework. Attendize allows event organisers to sell tickets to their events and manage attendees without paying service fees to third party ticketing companies.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
An authenticated attacker could obtain multiple refunds for a single order, leading to monetary gain for the attacker and financial loss for the vendor.
What the attacker needed
Authenticated user account; ability to place and cancel orders
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
When you cancel an order, the system first checks if it is allowed, then processes the refund. If two cancellation requests arrive at almost the same moment, both might pass the check before either refund is recorded, so you get refunded twice for one order. This is called a race condition.
What is Race condition?
Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.