PT-2020-20364 · Amazon Web Services · Aws S3 Crypto Sdk For Golang
Sophie Schmieg
·
Published
2020-08-11
·
Updated
2024-11-20
·
CVE-2020-8911
CVSS v3.1
5.6
Medium
| Vector | AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
AWS S3 Crypto SDK for GoLang versions prior to V2
Description
A padding oracle vulnerability exists in the AWS S3 Crypto SDK for GoLang, allowing an attacker with write access to the target's S3 bucket and the ability to observe decryption failures to reconstruct the plaintext with a significant number of queries to the endpoint. This is achieved by exploiting CBC's ability to manipulate the bytes of the next block and PKCS5 padding errors. The vulnerability poses insider risks and privilege escalation risks, potentially circumventing KMS controls for stored data.
Recommendations
Update the SDK to V2 or later and re-encrypt files to mitigate the risk. For files encrypted with CBC mode in older versions, re-encrypt them with AES-GCM to resolve the issue. Using version 2 of the S3 crypto SDK will prevent the creation of new vulnerable files, but old files remain vulnerable until they are re-encrypted.
Exploit
Fix
Use of a Broken Cryptographic Algorithm
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Aws S3 Crypto Sdk For Golang