Lucene search

K
huntrAmammadFA5DBBD3-97FE-41A9-8797-2E54D9A9C649
HistoryFeb 18, 2022 - 4:23 p.m.

Use multiple time the one-time coupon

2022-02-1816:23:54
amammad
www.huntr.dev
12
coupon abuse
user validation
e-commerce security

EPSS

0.001

Percentile

35.0%

#Description

I create a coupon only for one user and a one-time use coupon.

Then create two users, and both of them can use the coupon, but only one of them should be able to use the coupon.

Proof of Concept

first, create a one-time and one-user coupon code that, e.g. is aaaaa.
the attacker has two customers accounts with names A and B.
both A and B add a product ( can be different ) to their carts and they will see a window that they can enter the aaaaa coupon on it. they enter the coupon code on it and they should not click on `Proceed to Checkout.

after that both A and B enter the coupon then they click on Proceed to Checkout and we see that the coupon is used twice.

EPSS

0.001

Percentile

35.0%

Related for FA5DBBD3-97FE-41A9-8797-2E54D9A9C649