Security vulnerability in product bundling feature in fossbilling/fossbilling
Reported on
Jun 9th 2023
Description
Our e-commerce platform offers a bundled sales promotion feature, allowing an administrator to bind the sale of a product to an addon. However, we have identified a security vulnerability that exists in this feature. After an administrator cancels a bundle offer, users can still make unauthorized purchases through the system’s API, allowing them to purchase the product and addon together even when the offer has been removed by the administrator.
Proof of Concept
POC:
1 A user performs an API request to purchase a product with addon via the platform
2 The user use burpsuit hijack the request.
3 The administrator cancels the bundle offer through the admin panel.
4 The user sends the hijacked API request even after the offer has been cancelled, and successfully completes the purchase.
Impact
This vulnerability undermines the trustworthiness of the platform and can be exploited to facilitate fraudulent activity, potentially resulting in financial loss and compromising system integrity.
https://1drv.ms/v/s!Avwg5C1eKVA4gk5UAK5Y2z2nn0qw?e=bmBWPz
Thanks for the report. This one is also fixed by a pull request I submitted for a separate vulnerability. https://github.com/FOSSBilling/FOSSBilling/pull/1313