ID:
pancakeswap-1150
100 pts
Platform:
Type:
Category:
Method:
Data Sources:
Binance Smart Chain
Protocol
Dexes
Rewards - Bug Bounties
Extended Method:
The problem is that the multibuy method, which allows users to buy multiple tickets in the same transaction to save gas, didn’t prevent users from buying a ticket while the lottery was still in the drawing phase. This means that a user could see the transaction to draw the winning lottery number, compute it, and buy that ticket.
Days in Operation:
732
(2.01 Years)





100 pts each
Whitehat hacker Thunder requested disclosure assistance from Immunefi for a critical vulnerability found in PancakeSwap’s lottery contract. This vulnerability was never exploited and was fixed before any malicious actors had the chance to exploit it.
The vulnerability allowed for a malicious user to use the multibuy method to purchase tickets while the lottery was still in the drawing phase. This meant that a user could see the lottery draw transaction, compute the winning lottery number, buy the right ticket during the draw, and frontrun with a high gas fee to win the lottery. PancakeSwap fixed the vulnerability by updating its contract to include protections against buying using the multibuy method during the drawing phase.
DISCLAIMER: While web3rekt has used the best efforts in aggregating and maintaining this database, this web site makes no representations or warranties with respect to the accuracy or completeness of its information and data herein, and specifically disclaim any implied warranties of merchantability or fitness for any particular purpose.
Under no circumstances, shall web3rekt be liable for any loss of profit or funds, any regulatory or governmental penalties, any legal costs, or any other commercial and non-commercial damages, including but not limited to special, incidental, consequential, or other damages from any or all usage of the data and information derived from this database.