Allegra exportReport Directory Traversal Information Disclosure Vulnerability
The exportReport method in Allegra fails to validate a user-supplied path before using it in file operations, allowing an authenticated attacker to read files outside the intended directory. This lets the attacker disclose sensitive information in the context of the service account.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Allegra. Authentication is required to exploit this vulnerability.
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
The exportReport method uses a user-supplied path in file operations without validating that it stays within the intended directory.
Impact
An authenticated attacker could disclose sensitive information in the context of the service account.
What the attacker needed
Authentication required
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 program feature that exports reports takes a file path from the user but does not check it. By supplying a path that points outside the intended folder, a logged-in user can make the program read other files on the server. This is called directory traversal, and it can leak private data.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.