First published: Tue Jul 12 2022(Updated: )
### Summary The Azure Storage Encryption library in Java and other languages is vulnerable to a CBC Padding Oracle attack, similar to CVE-2020-8911. The library is not vulnerable to the equivalent of CVE-2020-8912, but only because it currently only supports AES-CBC as encryption mode. ### Severity Moderate - The vulnerability poses insider risks/privilege escalation risks, circumventing controls for stored data. ### Further Analysis The Java Azure Blob Storage Encryption SDK is impacted by an issue that can result in loss of confidentiality and message forgery. The attack requires write access to the container in question, and that the attacker has access to an endpoint that reveals decryption failures (without revealing the plaintext) and that when encrypting the CBC option was chosen as content cipher. This advisory describes the plaintext revealing vulnerabilities in the Java Azure Blob Storage Encryption SDK, with a similar issue in the other blob storage SDKs being present as well. In the current version of the Azure Blob Storage crypto SDK, the only algorithm option that allows users to encrypt files is to AES-CBC, without computing a MAC on the data. This exposes a padding oracle vulnerability: If the attacker has write access to the blob container bucket and can observe whether or not an endpoint with access to the key can decrypt a file (without observing the file contents that the endpoint learns in the process), they can reconstruct the plaintext with (on average) 128*length(plaintext) queries to the endpoint, by exploiting CBC's ability to manipulate the bytes of the next block and PKCS5 padding errors. ### Timeline **Date reported**: March 29 2022 **Date preview**: June 16 2022 **Date GA**: July 11 2022 **Date disclosed**: July 17 2022
Credit: secure@microsoft.com secure@microsoft.com secure@microsoft.com
Affected Software | Affected Version | How to fix |
---|---|---|
IBM Disconnected Log Collector | <=v1.0 - v1.8.2 | |
pip/azure-storage-blob | <12.13.0 | 12.13.0 |
pip/azure-storage-queue | <12.4.0 | 12.4.0 |
maven/com.azure:azure-storage-blob | <12.18.0 | 12.18.0 |
nuget/Azure.Storage.Blobs | <12.13.0 | 12.13.0 |
nuget/Azure.Storage.Queues | <12.11.0 | 12.11.0 |
Microsoft Azure Storage Queues client library for .NET | ||
Microsoft Azure Storage Blobs client library for Python | ||
Microsoft Azure Storage Queues client library for Python | ||
Microsoft Azure Storage Blobs client library for Java | ||
Microsoft Azure Storage Blobs client library for .NET | ||
Microsoft Azure Storage Blobs | <12.13.0 | |
Microsoft Azure Storage Blobs | <12.13.0 | |
Microsoft Azure Storage Blobs | <12.18.0 | |
Microsoft Azure Storage Queue | <12.4.0 | |
Microsoft Azure Storage Queue | <12.11.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The CVE ID of this vulnerability is CVE-2022-30187.
The title of this vulnerability is Azure Storage Library Information Disclosure Vulnerability.
This vulnerability in Microsoft Azure Storage Library allows a local authenticated attacker to bypass security restrictions, potentially impacting confidentiality.
The affected software includes Microsoft Azure Storage Blobs, Azure Storage Queues client library for Python, Azure Storage Blobs client library for Java, Microsoft Azure Storage Queue, and Azure Storage Blobs client library for .NET.
The severity of this vulnerability is high with a CVSS score of 4.7.
To fix this vulnerability, update to the latest versions of the affected software. Please refer to the provided links in the references for patch and update information.
The CWE ID for this vulnerability is CWE-327.