Allegra downloadAttachmentGlobal Directory Traversal Information Disclosure Vulnerability
The downloadAttachmentGlobal action fails to validate a user-supplied path before using it in file operations, allowing an authenticated attacker to read arbitrary files. This could disclose stored credentials and lead to further compromise.
06fe5fd2bc53027c4a3b7e395af0b850e7b8a044 Follow
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Allegra. Although authentication is required to exploit this vulnerability, product implements a registration mechanism that can be used to create a user with a sufficient privilege level.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application concatenates a user-supplied path with a base directory without normalising or validating it, allowing traversal outside the intended folder.
Impact
An attacker could disclose sensitive information, including stored credentials, which may lead to further compromise.
What the attacker needed
Authentication required; registration mechanism available
The fix
The vendor has issued an update to correct this vulnerability.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A web application lets users download attachments by specifying a file path. Because it does not check that the path stays inside the intended folder, an attacker can use special sequences like '../' to climb out and read other files on the server. This is called directory traversal, and it can expose sensitive data such as passwords.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.