OpenSSL CMS AuthEnvelopedData Improper Validation of Integrity Check Value Vulnerability
OpenSSL's handling of AES-GCM message authentication codes in CMS AuthEnvelopedData messages had an improper integrity check. An attacker able to modify such messages could tamper with authenticated data.
TrendAI Zero Day Initiative Follow
Originally disclosed on Zero Day Initiative
This vulnerability allows network-adjacent attackers to tamper with CMS AuthEnvelopedData messages on affected installations of OpenSSL. An attacker must first obtain the ability to modify CMS AuthEnvelopedData messages in order to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
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 code did not correctly validate the AES-GCM authentication tag when processing CMS AuthEnvelopedData, so modified messages were accepted.
Impact
An attacker who can modify CMS AuthEnvelopedData messages could tamper with authenticated data, though the text does not describe a concrete end effect.
What the attacker needed
Ability to modify CMS AuthEnvelopedData messages
The fix
OpenSSL issued an update to correct the vulnerability.
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.
CMS AuthEnvelopedData messages carry an integrity check. Here that check was flawed, so someone who can modify such a message may be able to tamper with authenticated data.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.