Skip to content

Sherlock

Winnables Raffles

Every publicly disclosed report for Winnables Raffles and what kind of bugs they were.

disclosed reports
8
most reported class
Access control
bug classes found
3
first disclosure
2024
Find Winnables Raffles on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Winnables Raffles chose to make public.

Business logic

Method refundPlayers doesn't update _lockedETH in WinnableTicketManager

The refundPlayers function does not subtract refunded amounts from _lockedETH, so after a raffle is cancelled and refunds are issued, the locked ETH remains inflated. This causes the owner to be unable to withdraw the full protocol income from later completed raffles, leaving funds stuck in the contract.

Winnables Raffles

High
Access control

Admin can prevent raffle winner from claiming their reward

The admin of the raffle contract can add themselves as a trusted cross-chain message sender and send a fake winner notification, causing the prize manager to record them as the winner. The admin can then claim the prize, preventing the legitimate winner from receiving it.

Winnables Raffles

Medium
Access control

The setRole() function grants role instead of removing

The setRole function always adds a role using a bitwise OR, ignoring the status flag, so revoking a role does not remove it. An admin who tries to revoke a role from a compromised account leaves that account with the privilege, allowing it to keep minting tickets.

Winnables Raffles

Medium