Open hats-bug-reporter[bot] opened 1 month ago
You mixed up the questionId
that identifies the Conditional Token, with the questionIds[0]
that resolves the Categorical, MultiCategorical or Scalar Market. The CT questionId
comes from hashing the questionIds
, which will only be consulted on realitio.
Github username: -- Twitter username: -- Submission hash (on-chain): 0x22251086f5d9798a623d63ef84017a7b2c18413a73c834dab8bcee6b24e8eff5 Severity: high
Description: Description\
Market resolve missing access control
Once the issue is resolved, the Market#resolve is not callable and revert.
because the question id is already reported to conditional token.
combining with the fact that user can create a malicious market to resolve and report incorrectly payout because the report payout only has question id parameter,
yet a malicious market may have the same question id, as the valid one.
Attack Scenario\ Describe how the vulnerability can be exploited.
Attachments
Proof of Concept (PoC) File
Revised Code File (Optional)