PT-2024-14103 · Hertzbeat · Hertzbeat

Luelueking

·

Published

2024-02-22

·

Updated

2025-01-16

·

CVE-2023-51388

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Hertzbeat versions prior to 1.4.1
Description Hertzbeat is a real-time monitoring system. In CalculateAlarm.java, AviatorEvaluator is used to directly execute the expression function, and no security policy is configured, resulting in AviatorScript script injection. This allows the execution of any static method by default.
Recommendations For versions prior to 1.4.1, update to version 1.4.1 to fix the vulnerability. As a temporary workaround, consider disabling the AviatorEvaluator function until a patch is available. Restrict access to the CalculateAlarm.java module to minimize the risk of exploitation. Avoid using the AviatorEvaluator in the affected API endpoints until the issue is resolved.

Exploit

Fix

Special Elements Injection

Weakness Enumeration

Related Identifiers

CVE-2023-51388
GHSA-MCQG-GQXR-HQGJ

Affected Products

Hertzbeat