#47125 [SC-Medium] Cross-Chain Signature Replay Attack in Settlement Contract
Description
Brief/Intro
Vulnerability Details
function _getSettlementHash(
string memory _settlementId,
SettleInfo calldata _settleInfo,
string[] memory _loanIds,
LoanInfo[] calldata _loans
) private pure returns (bytes32) {
return keccak256(abi.encode(_settlementId, _settleInfo, _loanIds, _loans)).toEthSignedMessageHash();
}Impact Details
Proof of Concept
Proof of Concep
Previous#47124 [SC-Insight] Minimum Debt Value Updates Trigger Instant Liquidation Condition ChangesNextZano Trade | IOP
Was this helpful?