Uncovering a Vulnerability in Intercom Widget Chat Configuration
The Intercom chat widget lacked identity verification, allowing anyone who knew a user's email address to impersonate that user. An attacker could then read previous conversations and start new ones as the victim.
Published on medium.com
Intercom is a go-to solution for many websites, offering an interactive chat widget for customer support and communication. However, it has a potential security flaw due to the absence of recommended identity verification when initiating a chat session.
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
Likely the widget did not require a server-generated identity verification token before starting a chat session, so it accepted any email address supplied by the client.
Impact
An attacker could access the victim's previous conversations and start new ones, potentially exposing sensitive information.
What the attacker needed
Know the victim's email address; access to the target website
The fix
The issue was fixed by adding identity verification, as shown in the timeline.
How it was found
- Log in to the target website and start a chat with support.
- Close the chat and end the session.
- Open developer tools in a new browser session on the same site.
- Run the Intercom boot command with the victim's email address in the console.
- The widget returns undefined, indicating the impersonation succeeded.
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.
The chat widget on a website trusted whatever email address it was given, without checking that the person really owned that email. So if you knew someone's email, you could tell the widget to act as them and see their chat history. This is like a cloakroom that hands out coats to anyone who knows the owner's name.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.