CVE-2023-51388 HertzBeat AviatorScript Inject RCE

Critical 9.8 Published Updated

Attackers can execute arbitrary code via AviatorScript injection in HertzBeat due to missing security policies in the alarm calculation module.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-51388?

CVE-2023-51388 is a critical code injection vulnerability in dromara hertzbeat, published on 22 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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 (which can execute any static method by default) script injection. Version 1.4.1 fixes this vulnerability.

Weakness: CWE-74

Which versions are affected by CVE-2023-51388?

It affects 1 product.

Products include Apache Hertzbeat.

How do I fix CVE-2023-51388?

No fix has been published for CVE-2023-51388 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2023-51388 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-51388 exists.

Sources

Also known as GHSA-mcqg-gqxr-hqgj.

Is CVE-2023-51388 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free