[M-1] Missing input validation in WeatherNft::_sendFunctionsWeatherFetchRequest
Function.
The WeatherNft::_sendFunctionsWeatherFetchRequest
Function takes inputs of
_pincode
and _isoCode
which are not validated properly and leads
to malicious state updates and and passed to req.setArgs(_args)
function.
Impact:
Malicious and extremely large inputs leads to unnecsaary gas consumption and error
in states which depends on _pincode
and _isoCode
.
Call The Fuction With malicious inputs:
This is informational. It is user's responsibility to provide correct input arguments. If the user provides incorrect arguments, it will lead to incorrect results, lost funds or failed transaction.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.