OpenSSL X.509 Email Validation Out-Of-Bounds Read Information Disclosure Vulnerability
OpenSSL did not properly validate user-supplied data when processing expected X.509 email names, causing a read past the end of an allocated buffer. A remote, unauthenticated attacker could exploit this to disclose sensitive information in the context of the service account.
TrendAI Zero Day Initiative Follow
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to disclose sensitive information on affected installations of OpenSSL. Authentication is not required 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 a missing bounds check when parsing expected X.509 email names, allowing a read past the end of an allocated buffer.
Impact
A remote, unauthenticated attacker could disclose sensitive information in the context of the service account.
What the attacker needed
Remote, unauthenticated access
The fix
OpenSSL issued an update to correct this 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.
When a program reads data from a buffer (a fixed-size area of memory), it must check that it does not read beyond the end. Here, OpenSSL failed to do that check while handling email names inside X.509 certificates, so it could read memory it should not. An attacker could then see some of that leaked memory, which may contain sensitive information.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.