cbcvebase.
CVE-2016-3427
published 2016-04-21

CVE-2016-3427: Unspecified vulnerability in Oracle Java SE 6u113, 7u99, and 8u77; Java SE Embedded 8u77; and JRockit R28.3.9 allows remote attackers to affect…

PriorityP198critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
KEVITWEXPLOIT
CISA Known Exploited Vulnerabilitydue 2023-06-02
Exploited in the wild
EPSS
92.33%
99.8th percentile
Unspecified vulnerability in Oracle Java SE 6u113, 7u99, and 8u77; Java SE Embedded 8u77; and JRockit R28.3.9 allows remote attackers to affect confidentiality, integrity, and availability via vectors related to JMX.

Affected

115 ranges· showing 25
VendorProductVersion rangeFixed in
apachecassandra
apachecassandra>= 2.1.0 < 2.1.222.1.22
apachecassandra>= 2.2.0 < 2.2.182.2.18
apachecassandra>= 3.0.0 < 3.0.223.0.22
apachecassandra>= 3.11.0 < 3.11.83.11.8
apachetomcat< 6.0.486.0.48
apachetomcat
apachetomcat
apachetomcat>= 7.0.0 < 7.0.737.0.73
apachetomcat>= 8.0 < 8.0.398.0.39
apachetomcat>= 8.5.0 < 8.5.78.5.7
apache_software_foundationapache_tomcat
apache_software_foundationapache_tomcat
apache_software_foundationapache_tomcat
apache_software_foundationapache_tomcat
apache_software_foundationapache_tomcat
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
debiandebian_linux
debianopenjdk-8< openjdk-8 8u91-b14-1 (sid)openjdk-8 8u91-b14-1 (sid)
debiantomcat9
netappstoragegrid<= 9.0.4
netappvasa_provider_for_clustered_data_ontap>= 7.2

Detection & IOCsextracted from sources · hover to see the quote

bytes
4a524d4900024b
bytes
000c31302e36352e3135372e313000000000
bytes
50aced00057722000000000000000000000000000000000000000000000000000244154dc9d4e63bdf7400066a6d78726d69
bytes
50aced000577220000000000000002000000000000000000000000000000000001f6b6898d8bf28643757200185b4c6a6176612e726d692e7365727665722e4f626a49443b871300b8d02c647e02000070787000000001737200156a6176612e726d692e7365727665722e4f626a4944a75efa128ddce55c0200024a00066f626a4e756d4c000573706163657400154c6a6176612f726d692f7365727665722f5549443b7078702d4f7f1ffa7877b4737200136a6176612e726d692e7365727665722e5549440f12700dbf364f12020003530005636f756e744a000474696d65490006756e69717565707870800100000192f5ff701a9cb3f67477088000000000000000737200126a6176612e726d692e6467632e4c65617365b0b5e2660c4adc340200024a000576616c75654c0004766d69647400134c6a6176612f726d692f6467632f564d49443b70787000000000000927c0737200116a6176612e726d692e6467632e564d4944f8865bafa4a56db60200025b0004616464727400025b424c000375696471007e0003707870757200025b42acf317f8060854e002000070787000000008f1c6fcc113e4dd097371007e0005800100000192f6835b0fb632f8a1
bytes
43726564656e7469616c732073686f756c6420626520537472696e675b5d20696e7374656164206f66206a6176612e7574696c2e486173684d61707572
  • Exploit initiates a raw TCP connection to the RMI registry port and sends the RMI handshake magic bytes 'JRMI\x00\x02K' (hex: 4a524d4900024b). Detect this byte sequence on JMX/RMI ports.
  • After the RMI handshake, the exploit parses the response for the string 'UnicastRef2' to extract the rmiServerPort dynamically. Network inspection of RMI responses containing 'UnicastRef2' followed by a port extraction pattern is indicative of reconnaissance for this exploit.
  • The exploit sends a URLDNS Java deserialization payload (java.util.HashMap + java.net.URL gadget chain) to the rmiServerPort. The payload begins with the Java serialization magic bytes 'aced0005' (hex). Detect Java deserialization payloads on JMX/RMI ports.
  • A successful exploitation attempt triggers an out-of-band DNS callback to an interactsh/OAST domain. Monitor for unexpected DNS lookups originating from JMX/RMI service processes.
  • The server-side error response 'Credentials should be String[] instead of java.util.HashMap' (hex: 43726564656e7469616c732073686f756c6420626520537472696e675b5d20696e7374656164206f66206a6176612e7574696c2e486173684d61707572) in the RMI response confirms the vulnerability is present and the deserialization payload was processed.
  • The vulnerability is exploitable only when JmxRemoteLifecycleListener is configured and JMX ports are network-accessible. Audit Tomcat configurations for JmxRemoteLifecycleListener usage and exposed JMX ports.
  • For vRealize Operations Manager (non-appliance), block external access to ports 9004, 9005, 9006, 9007, 9008 to mitigate remote exploitation of CVE-2016-3427.
  • ·The Tomcat-side vulnerability (CVE-2016-8735) only affects instances built from source using EWS 2.x or JWS 3.x distributions that include JmxRemoteLifecycleListener; standard Red Hat RPM-packaged Tomcat packages are not affected.
  • ·CVE-2016-3427 affects the RMI server in the JMX component of OpenJDK/Oracle JRE: the server deserializes any class when deserializing authentication credentials, enabling unauthenticated attackers with JMX port access to trigger deserialization flaws.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.010.0CRITICALAV:N/AC:L/Au:N/C:C/I:C/A:C
ghsa9.8CRITICAL
osv9.8CRITICAL
vulncheck9.8CRITICAL
cisa9.8CRITICAL
vendor_apache9.8HIGH
vendor_debian9.8CRITICAL
vendor_redhat9.8CRITICAL
vendor_ubuntu9.6CRITICAL
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.