Horde Groupware Webmail Stored Cross-Site Scripting (XSS) via SVG
The image view in Horde Groupware Webmail before 5.2.22 fails to sanitise uploaded SVG images, so an attacker can store a JavaScript payload that runs when a victim views the image. This lets the attacker access the victim's webmail account.
shielder.com
Published on shielder.com
The image view functionality in Horde Groupware Webmail Edition before 5.2.22 is affected by a stored Cross-Site Scripting (XSS) vulnerability via an SVG image upload containing a JavaScript payload. An attacker can obtain access to a victim’s webmail account by making them visit a malicious URL.
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker could obtain access to a victim's webmail account by making them visit a malicious URL.
What the attacker needed
Victim visits a malicious URL; attacker can upload an SVG image
The fix
The vulnerability was fixed in version 5.2.22.
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 write-up has not been written yet. The Original tab links to the source.
A stored cross-site scripting bug means a malicious script is saved on the server and later shown to other users. Here, an uploaded SVG image can contain script that runs in the victim's browser when they open the image, letting the attacker act as the victim inside their webmail.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.