Azure Storage Library Information Disclosure Vulnerability (CVE-2022-30187)
The Azure Storage .NET, Java and Python SDKs used cipher block chaining (CBC mode) for client-side encryption of data before upload. An attacker who met the high attack-complexity conditions could decrypt data on the client side and disclose the contents of the file or blob.
Originally disclosed on Microsoft
FAQ
What is CBC padding in storage SDK? Azure Storage .NET, Java, and Python SDKs use cipher block chaining (CBC mode) for client-side encryption. This client-side encryption is used by very small set of customers, who encrypt their data on the client with a customer-managed key that is maintained in Azure Key Vault or another key store before uploading to Azure Storage.
FAQ
What type of information could be disclosed by this vulnerability? An attacker who successfully exploited this vulnerability could decrypt data on the client side and disclose the content of the file or blob.
FAQ
According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to take additional actions prior to exploitation to prepare the target environment.
Azure Storage Library
Azure Storage Library
Microsoft
Microsoft
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the client-side encryption in the storage SDKs used CBC mode in a way that allowed decryption of the protected data.
Impact
An attacker who prepared the target environment could decrypt client-side encrypted data and disclose the contents of a file or blob; only the small set of customers using client-side encryption with a customer-managed key were affected.
What the attacker needed
Client-side encryption with a customer-managed key; attacker prepares the target environment first
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Some apps scramble (encrypt) your files on your own device before sending them to cloud storage, so the cloud provider cannot read them. This report says the method those software kits used to scramble files had a weakness. Someone who could set up the right conditions could unscramble the file and read it, but only for the small number of customers who used this on-device encryption.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.