Caveat Implementor! Key Recovery Attacks on MEGA
The MEGA web client used the same master key for a file-sharing feature (MEGAdrop) as for authentication, creating an AES-ECB encryption oracle under the user's master key. A malicious server could exploit error messages during login to learn the user's RSA private key block by block, then decrypt files shared with that user.
MEGA