Skip to content
XSS Write-up Advanced

Critical Vulnerability Discovered in Evernote’s Chrome Extension

A logical coding error in Evernote Web Clipper for Chrome allowed a malicious website to inject attacker-controlled scripts into any framed third-party website, bypassing cross-origin restrictions. An attacker could steal cookies, credentials, and private information, or perform actions as the user on those sites.

guard.io

Published on guard.io

In May 2019 Guardio's research team has discovered a critical vulnerability in Evernote Web Clipper for Chrome. A logical coding error made it is possible to break domain-isolation mechanisms and execute code on behalf of the user - granting access to sensitive user information not limited to Evernote's domain.

The author, on guard.io

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 a logical oversight and poor input sanitisation in the extension's _getBundleUrl function, combined with weak authentication on postMessage commands, allowed a website to manipulate the resource path and load a remote script into other frames.

Impact

An attacker could steal cookies, credentials, and private information, and perform actions as the user on any framed third-party website, not limited to Evernote.

What the attacker needed

Victim uses Evernote Web Clipper for Chrome; Victim visits attacker-controlled website

The fix

Evernote fixed the vulnerability by releasing version 7.11.1 of the extension.

How it was found

  1. The user visits an attacker-controlled website.
  2. The malicious site silently loads hidden iframes of targeted legitimate websites.
  3. The site triggers the exploit, causing Evernote's extension to inject an attacker-controlled payload into all iframe contexts.
  4. The injected payload, customised per site, steals cookies, credentials, private information, or performs actions as the user.

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.

Browser extensions often have permission to read and change data on every website you visit. A bug in Evernote's extension let a malicious site abuse the extension's own code to run harmful scripts inside other websites you have open, like your bank or social media. This meant a single visit to a bad site could let an attacker read your private data or act as you on those other sites.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.