Business Logic Errors in fossbilling/fossbilling
Description
Business Logic Errors in GitHub repository fossbilling/fossbilling prior to 0.5.0.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A business logic vulnerability in FOSSBilling prior to 0.5.0 allows users to add invalid addon products to their cart, potentially leading to unauthorized purchases.
Vulnerability
In FOSSBilling versions prior to 0.5.0, a business logic vulnerability exists in the add_item method of the cart functionality. The code did not validate whether addon products selected by the user are actually valid for the associated product. An attacker could manipulate the addons array in the request data to include addon IDs that are not associated with the product, bypassing the intended restriction that only valid addons should be selectable [1][2].
Exploitation
An attacker with the ability to add items to the cart (e.g., any authenticated or unauthenticated user depending on the application configuration) can craft a request to the cart endpoint with a product ID and an arbitrary addon ID in the addons parameter. The attacker sets selected to true for the invalid addon. Before the patch, the code would not check whether the addon ID exists in the product's valid addons list, allowing the attacker to add any addon to the cart [1][2].
Impact
Successful exploitation allows the attacker to add addon products to the cart that are not intended to be available for the selected product. This could lead to unauthorized purchase of addons, potentially causing financial loss or unintended service provision. The integrity of the ordering process is compromised [1][2].
Mitigation
The vulnerability has been fixed in FOSSBilling version 0.5.0, released with the commit b65a75fcf70feaf547d414672f78d7cbe8a98e7e [1]. Users should upgrade to version 0.5.0 or later to mitigate this issue. No workarounds are provided in the available references [1][2].
AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2- Range: <0.5.0
- fossbilling/fossbilling/fossbillingv5Range: unspecified
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
2News mentions
0No linked articles in our index yet.