CVE-2025-24404

8.8

Apache Software Foundation · HertzBeat

A vulnerability in Apache HertzBeat allows authenticated users to achieve remote code execution via XML injection when parsing HTTP sitemap XML responses.

Executive summary

An authenticated remote code execution vulnerability in Apache HertzBeat (incubating) exposes systems to total compromise due to insecure XML parsing.

Vulnerability

This vulnerability, categorized as CWE-91, involves improper XML parsing that leads to XML injection and subsequent remote code execution. The attack requires an authenticated user to configure a monitor that parses a malicious XML sitemap response, which triggers the flaw.

Business impact

The ability for an authenticated attacker to achieve remote code execution represents a critical threat to organizational security. Successful exploitation could lead to full system takeover, unauthorized access to sensitive monitoring data, and the potential for lateral movement within the network. With a CVSS score of 8.8, this vulnerability poses a high risk to availability, integrity, and confidentiality of the affected infrastructure.

Remediation

Immediate Action: Upgrade all instances of Apache HertzBeat (incubating) to version 1.7.0 or later to apply the necessary security patches.

Proactive Monitoring: Review application logs for anomalous monitor configurations or unexpected XML parsing errors that may indicate an attempt to trigger this injection vector.

Compensating Controls: Restrict access to the monitoring configuration interface to trusted administrative users only and ensure that the monitoring service is isolated from critical internal assets.

Exploitation status

Public Exploit Available: Unknown

Analyst recommendation

Given the potential for remote code execution, organizations using Apache HertzBeat must prioritize the update to version 1.7.0 immediately. Administrators should verify the integrity of their monitoring configurations and ensure that only authorized personnel have the privileges required to add or modify monitor endpoints. Applying the vendor patch is the only definitive way to mitigate the risk posed by this injection flaw.

More Apache Software Foundation CVEs

Sources

Originally found and disclosed by unam4, springkill, Zoiltin, per the CVE Program record.