Stored Cross-Site Scripting (XSS) in Zimbra version 8.8.15_GA_4059 CVE-2022-41348
The Zimbra web client did not properly encode the name of a Conversation when displaying it to users. An attacker could create a conversation with a malicious name, and when an invited user joined, JavaScript would execute in their browser.
Published on synacktiv.com
Stored Cross-Site Scripting (XSS) in Zimbra version 8.8.15GA4059 CVE-2022-41348
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
Root cause
The conversation name was not properly encoded before being displayed to users.
Impact
An attacker could execute JavaScript in the browser of a user who joins the malicious conversation, potentially stealing data or performing actions on their behalf.
What the attacker needed
Attacker can create a conversation; victim is invited and joins the conversation
How it was found
- Create a new conversation with a name containing a script.
- Invite another user to the conversation.
- The invited user receives a notification.
- The invited user clicks to join the conversation.
- The script executes in the invited user's browser.
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.
When you type text into a website, the site should display it safely so it can't run as code. Here, the conversation name was shown without that safety, so a name containing a script could run in another user's browser. This is called stored cross-site scripting because the harmful script is saved and later shown to others.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.