CVE-2024-30372 Allegra getLinkText Server-Side Template Injection Remote Code Execution Vulnerability

High 8.8 Published Updated

Remote attackers with authentication can execute arbitrary code via Server-Side Template Injection in the getLinkText method.

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

What is CVE-2024-30372?

CVE-2024-30372 is a high-severity code injection vulnerability in Allegra, published on 22 Nov 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Allegra getLinkText Server-Side Template Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Allegra. Authentication is required to exploit this vulnerability.

The specific flaw exists within the implementation of getLinkText method. The issue results from the lack of proper validation of a user-supplied string before processing it with the template engine. An attacker can leverage this vulnerability to execute code in the context of LOCAL SERVICE. Was ZDI-CAN-23609.

Weakness: CWE-1336

Which versions are affected by CVE-2024-30372?

It affects 1 product.

Products include Alltena Allegra.

How do I fix CVE-2024-30372?

No fix has been published for CVE-2024-30372 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-2024-30372 being exploited?

There is no known exploitation of CVE-2024-30372 in the wild and no public exploit code.

Sources

Also known as GHSA-cwgv-jwgm-r5f5.

Is CVE-2024-30372 in your software?

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

Check your SBOMs for free