CoreCrypto: An attacker may be able to decrypt legacy RSA PKCS#1 v1.5 ciphertexts without having the private key (CVE-2024-23218)
A timing side-channel in CoreCrypto's RSA PKCS#1 v1.5 decryption could allow an attacker to recover plaintext without the private key. The issue was addressed by improving constant-time computation in cryptographic functions.
Originally disclosed on Apple
Impact: An attacker may be able to decrypt legacy RSA PKCS#1 v1.5 ciphertexts without having the private key
Description: A timing side-channel issue was addressed with improvements to constant-time computation in cryptographic functions.
Available for: iPhone 8, iPhone 8 Plus, iPhone X, iPad 5th generation, iPad Pro 9.7-inch, and iPad Pro 12.9-inch 1st generation
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 RSA PKCS#1 v1.5 decryption implementation was not fully constant-time, leaking timing information that could be exploited.
What the attacker needed
Ability to measure decryption timing; legacy RSA PKCS#1 v1.5 ciphertexts
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.
This is a timing attack on RSA decryption. By measuring how long decryption takes, an attacker might learn information about the private key or the plaintext, without ever stealing the key. The fix makes the decryption take the same amount of time regardless of the input.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.