CVE-2024-5581 Allegra unzipFile Directory Traversal Remote Code Execution Vulnerability

High 7.2 Published Updated

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.

Sources

Also known as GHSA-fwr5-w9hq-mx49.

Is CVE-2024-5581 in your software?

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

Check your SBOMs for free