hats-finance / Palmera-0x5fee7541ddcd51ba9f4af606f87b2c42eea655be

Palmera hierarchical module
0 stars 4 forks source link

Wrong PALMERA_TX_TYPEHASH #14

Open hats-bug-reporter[bot] opened 3 months ago

hats-bug-reporter[bot] commented 3 months ago

Github username: @SB-Security Twitter username: SBSecurity_ Submission hash (on-chain): 0xe65448c072dedca11a421bf1016faedf884ca52f2ca368f313cb8aa05eaec5ca Severity: medium

Description: Description\ Computed hash for the PALMERA_TX_TYPEHASH is wrong

Attack Scenario\ Computed hash for the PALMERA_TX_TYPEHASH = PalmeraTx(address org,address superSafe,address targetSafe,address to,uint256 value,bytes data,uint8 operation,uint256 _nonce)

is 0x33d86b91ace2c23c833e6a968f94ce2cdabd89ed7375f3d2135aa0f5a9c131b5

not 0x5576bff5f05f6e5452f02e4fe418b1519cb08f54fae3564c3a4d2a4706584d4e

Attachments

  1. Proof of Concept (PoC) File

  2. Revised Code File (Optional)

0xRizwan commented 3 months ago

duplicate of #1