Submitted by bin2chen, also found by oakcobalt and minhquanym
The current IMultiSourceLoan.loop.hash() does not contain protocolFee:
Then, you can specify protocolFee arbitrarily in many methods, but the _baseLoanChecks() security check doesnt revert.
Example: repayLoan(loadn.protocolFee=0) to escape fees and cause a LoanManager accounting error. refinancePartial()/refinanceFull() can also specify the wrong fees to skip the fees.
The loan hash does not contain a protocolFee, leading to an arbitrary protocolFee that can be specified to escape fees or cause an accounting error.
Context
0xend (Gondi) confirmed
0xA5DF (judge) decreased severity to Medium and commented:
Gondi mitigated:
Status: Mitigation confirmed. Full details in reports from oakcobalt, minhquanym and bin2chen.
