CVE-2024-5581 Allegra unzipFile Directory Traversal Remote Code Execution Vulnerability
Remote attackers with authentication can execute arbitrary code via directory traversal in the unzipFile method of Allegra.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-5581?
CVE-2024-5581 is a high-severity path traversal vulnerability in Allegra, published on 22 Nov 2024. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
Allegra unzipFile Directory Traversal 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 unzipFile method. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to execute code in the context of LOCAL SERVICE. Was ZDI-CAN-23453.
Weakness: CWE-22
Which versions are affected by CVE-2024-5581?
It affects 1 product.
Products include Alltena Allegra.
How do I fix CVE-2024-5581?
No fix has been published for CVE-2024-5581 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-5581 being exploited?
There is no known exploitation of CVE-2024-5581 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-fwr5-w9hq-mx49.