Has it been Pwned
ProtocolPractical impact

Padding oracle attacks extract keys from PKCS#11 tokens and smart cards

Romain Bardou, Riccardo Focardi, Yusuke Kawamoto, Lorenzo Simionato, Graham Steel and Joe-Kai Tsay (CRYPTO 2012) improved Bleichenbacher's attack from about 163,000 to 14,500 median oracle calls (3,800 on the weakest oracles) for 1024-bit keys and used the PKCS#11 C_UnwrapKey interface of commercial tokens, including RSA SecurID 800, Aladdin eToken Pro, Safenet iKey, Siemens CardOS and the Estonian ID card, as the oracle to recover keys that were supposed never to leave the device.

A separate source-review date has not been recorded for this historical entry. Corrections.

Broken implementation. The underlying math is not broken by this. The failure is in code, hardware, or how the primitive is used.

Background

The devices' key-import (unwrap) operation reported whether the PKCS#1 v1.5 padding of an imported wrapped key was valid, a textbook Bleichenbacher oracle exposed by the API itself. Median attack times on vulnerable tokens ranged from under two minutes to about seventeen minutes; on the Estonian ID card a decryption took roughly 11 to 27 hours depending on key size. The lesson, echoed in the 2026 HSM signature-forgery work, is that a 'tamper-proof' device leaks its key if its API offers an oracle.

Sources

  1. paperEfficient Padding Oracle Attacks on Cryptographic Hardware (ePrint 2012/417; CRYPTO 2012)IACR ePrint, eprint.iacr.org