cbcvebase.
CVE-2016-2107
published 2016-05-05

CVE-2016-2107: The AES-NI implementation in OpenSSL before 1.0.1t and 1.0.2 before 1.0.2h does not consider memory allocation during a certain padding check, which allows…

PriorityP262medium5.9CVSS 3.1
AVNACHPRNUINSUCHINAN
EXPLOIT
EPSS
89.06%
99.8th percentile
The AES-NI implementation in OpenSSL before 1.0.1t and 1.0.2 before 1.0.2h does not consider memory allocation during a certain padding check, which allows remote attackers to obtain sensitive cleartext information via a padding-oracle attack against an AES CBC session. NOTE: this vulnerability exists because of an incorrect fix for CVE-2013-0169.

Affected

68 ranges· showing 25
VendorProductVersion rangeFixed in
appleos_x_el_capitan_v10.11.6_and_security_update_2016-004
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
debiandebian_linux
debianopenssl< openssl 1.0.2h-1 (bookworm)openssl 1.0.2h-1 (bookworm)
googleandroid
googleandroid
googleandroid
googleandroid
googleandroid
googleandroid
googleandroid
googleandroid
googleandroid
googleandroid
googleandroid
googleandroid
googleandroid
googleandroid
googleandroid
googleandroid
googleandroid
googleandroid

Detection & IOCsextracted from sources · hover to see the quote

urlhttps://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/39768.zip
commandjava -jar TLS-Attacker-1.0.jar client -workflow_input rsa-overflow.xml -connect $host:$port
filenamersa-overflow.xml
  • The attack targets TLS/SSL and DTLS sessions using AES CBC cipher suites (e.g., TLS_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA256). Monitor for anomalous patterns of repeated TLS handshakes or alert messages from a single client against an AES-NI-capable server, which may indicate a padding oracle probing attack.
  • The PoC exploit sends a malformed Finished message containing 32 bytes of 0x3F as the explicit plaintext value. Detection of a TLS Finished message payload consisting entirely of 0x3F bytes is a strong indicator of CVE-2016-2107 exploitation attempts.
  • A MITM attacker exploiting this vulnerability will generate a high volume of TLS connections to the target server, observing differing alert responses to distinguish valid from invalid padding. Detect by monitoring for large numbers of TLS alert messages (especially bad_record_mac) from a single source IP in a short time window against an AES CBC session.
  • The vulnerability is only exploitable when the server supports AES-NI hardware acceleration and uses AES CBC cipher suites. Audit server TLS configurations to identify exposure; servers lacking AES-NI are not vulnerable to this specific attack path.
  • ·Only OpenSSL versions before 1.0.1t and 1.0.2 before 1.0.2h are vulnerable. The flaw is specifically in the AES-NI CBC MAC padding check code path; servers without AES-NI hardware support are not affected by this particular vulnerability.
  • ·The vulnerability exists because of an incorrect fix for CVE-2013-0169 (Lucky Thirteen). The padding check was rewritten to be constant-time but no longer verified that sufficient data existed for both MAC and padding bytes.
  • ·The attack requires a MITM position; a remote attacker cannot exploit this vulnerability without being able to intercept and modify traffic between the client and the vulnerable server.

CVSS provenance

nvdv3.15.9MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv2.02.6LOWAV:N/AC:H/Au:N/C:P/I:N/A:N
osv7.5HIGH
vendor_ubuntu7.5HIGH
vendor_debian2.6LOW
vendor_redhat2.6LOW
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.