Lucene search
+L

2 matches found

Code423n4
Code423n4
added 2021/11/11 12:0 a.m.9 views

user.creation is updated incorrectly when the user tries to extend membership

Handle WatchPug Vulnerability details if user.creation == 0 user.creation = block.timestamp; user.gracePeriod = membershipmsg.sender.creation + MEMBERSHIPDURATION + 60 days; else uint256 elapsedDurationPercentage = block.timestamp - user.creation 1 ether / MEMBERSHIPDURATION; if...

6.9AI score
SaveExploits0
Code423n4
Code423n4
added 2021/05/22 12:0 a.m.14 views

gracePeriod not increased after membership extension

Handle gpersoon Vulnerability details Impact In the function purchaseMembership of FSDNetwork.sol, when the membership is extended then membershipmsg.sender.creation is increased, however membershipmsg.sender.gracePeriod is not increased. This might lead to a gracePeriod than is less then expecte...

6.9AI score
SaveExploits0
Rows per page
Query Builder