Submitted by WatchPug, also found by BondiPestControl, broccoli, and defsec
In the current implementation of CrossAnchorBridge, all require that Check that token is a whitelisted token is commented out.
As a result, users may send transcations with the non-whitelisted tokens and as they can not be processd properly on the Terra side, the funds can be frozen on the brige contract or on the Terra side.
https://github.com/code-423n4/2022-02-anchor/blob/7af353e3234837979a19ddc8093dc9ad3c63ab6b/contracts/cross-chain-contracts/ethereum/CrossAnchorBridge.sol#L167-L175
https://github.com/code-423n4/2022-02-anchor/blob/7af353e3234837979a19ddc8093dc9ad3c63ab6b/contracts/cross-chain-contracts/ethereum/CrossAnchorBridge.sol#L250-L253
https://github.com/code-423n4/2022-02-anchor/blob/7af353e3234837979a19ddc8093dc9ad3c63ab6b/contracts/cross-chain-contracts/ethereum/CrossAnchorBridge.sol#L255-L258
Uncomment the whitelist codes.
bitn8 (Anchor) disagreed with severity
Alex the Entreprenerd (triage) commented:
Albert Chon (judge) decreased severity to Medium
