Funny Leather Poodle
Medium
The inadequate precision in the price calculations due to improper handling of values will cause a significant financial impact for stakers as the attacker will exploit the rounding errors to manipulate asset valuations.
In MasterPriceOracle.sol:53 the rounding errors in the price calculations lead to incorrect asset valuations.
No response
No response
- The attacker queries the price from the oracle.
- The attacker identifies a significant discrepancy between the oracle price and the actual market price.
- The attacker buys assets at the manipulated price.
- The attacker sells the assets at the actual market price, realizing a profit due to the rounding errors in the price calculations.
The vulnerability allows an attacker to manipulate asset valuations, resulting in financial losses for users who rely on incorrect pricing data.
No response
No response