Allegra downloadAttachment Cross-Site Scripting Authentication Bypass Vulnerability
The downloadAttachment method in Allegra fails to properly validate user-supplied data, allowing an attacker to inject arbitrary script. An attacker can execute script in the context of the current user if the victim visits a malicious page or opens a malicious file.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary script on affected installations of Allegra. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
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 downloadAttachment method does not validate or sanitise user-supplied input before using it in a context where script can execute.
Impact
An attacker could execute arbitrary script in the context of the current user, but the victim must first visit a malicious page or open a malicious file.
What the attacker needed
Victim visits a malicious page; or opens a malicious file
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.
This is a cross-site scripting (XSS) bug. A part of the Allegra software that handles file downloads does not check what a user puts into it, so an attacker can sneak in malicious code. If you visit a bad page or open a bad file, that code runs in your browser as if it came from the trusted site.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.