CVE-2024-5581
Published: 22 November 2024
Summary
CVE-2024-5581 is a high-severity Path Traversal (CWE-22) vulnerability in Alltena Allegra. Its CVSS base score is 7.2 (High).
Operationally, ranked in the top 6.0% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
Allegra contains a directory traversal vulnerability in its unzipFile method that permits remote code execution on affected installations. The flaw stems from insufficient validation of user-supplied paths before they are used in file operations, allowing an authenticated attacker to write files outside intended directories and ultimately execute code under the LOCAL SERVICE account. The issue was originally reported as ZDI-CAN-23453 and carries a CVSS 3.0 score of 7.2.
An authenticated remote attacker can exploit the path traversal to upload and execute arbitrary code on the server. Because authentication is required and the attack can be performed over the network without user interaction, the vulnerability is reachable by any user with sufficient privileges to invoke the unzip functionality, resulting in full compromise of confidentiality, integrity, and availability within the LOCAL SERVICE context.
Vendor release notes for Allegra 7.5.2 address the issue, and the Zero Day Initiative advisory ZDI-24-1164 recommends applying the available update. The EPSS score has remained flat at 0.1218 with no observed increase after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-47122
Vulnerability details
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…
more
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.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Validates pathnames and filenames to prevent traversal outside intended directories.