Skip to content
Business logic Disclosed report Beginner CVE-2023-6832

Business Logic Errors in microweber/microweber

The coupon code API in Microweber does not check whether the admin has disabled coupon functionality, so a user can still send coupon requests and buy items at a reduced price.

microweber/microweber

Originally disclosed on huntr

A vulnerability has been identified in microweber where users can purchase items with a coupon code. If the admin disables the use of the coupon code functionality, but the user sends requests to the API that handles the coupon code, the user can exploit the vulnerability and obtain items at a lower price.

From the GitHub Advisory Database (GHSA-qjfx-fvx7-3wvw, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the coupon API does not check the admin's setting that disables coupon functionality before applying a coupon.

Impact

A user could obtain items at a lower price even after the admin has disabled coupons.

What the attacker needed

Coupons disabled by admin; user can send API requests

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 report has not been written yet. The Original tab links to the source.

A shop can turn off coupon codes, but the part of the website that applies coupons still accepts them. A user can keep sending coupon requests directly to that part and get a discount even though coupons are supposed to be off.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More from microweber/microweber

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.