Vulnerability: Insecure Message Length Validation in LibTomCrypt's rsa_verify_hash_ex Function

Vulnerability: Insecure Message Length Validation in LibTomCrypt's rsa_verify_hash_ex Function

CVE-2016-6129 · MEDIUM Severity

AV:N/AC:L/AU:N/C:N/I:P/A:N

The rsa_verify_hash_ex function in rsa_verify_hash.c in LibTomCrypt, as used in OP-TEE before 2.2.0, does not validate that the message length is equal to the ASN.1 encoded data length, which makes it easier for remote attackers to forge RSA signatures or public certificates by leveraging a Bleichenbacher signature forgery attack.

Learn more about our Web Application Penetration Testing UK.