CVE-2024-30372 Allegra getLinkText Server-Side Template Injection Remote Code Execution Vulnerability
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.
Other vulnerabilities in Allegra
- CVE-2025-6216 Allegra calculateTokenExpDate Password Recovery Authentication Bypass Vulnerability
- CVE-2023-51638 Allegra Hard-coded Credentials Authentication Bypass Vulnerability
- CVE-2023-51639 Allegra downloadExportedChart Directory Traversal Authentication Bypass Vulnerability
- CVE-2023-51641 Allegra renderFieldMatch Deserialization of Unstrusted Data Remote Code Execution Vulnerability
- CVE-2023-51642 Allegra loadFieldMatch Deserialization of Untrusted Data Remote Code Execution Vulnerability
Sources
Also known as GHSA-cwgv-jwgm-r5f5.