Skip to content
CORS Write-up Beginner

Honey Security Issues

Three separate issues were found in the Honey coupon app and browser extension: a user-info endpoint with permissive CORS, extension UI injected into page DOM that any site could read, and a publicly listable cloud bucket of profile images. Together they let any website read a logged-in user's personal details and enumerate uploaded photos.

maustin.net

Published on maustin.net

I discovered three security issues in the Honey coupon app / browser extension leading to user information leaks and privacy issues. This is the full report sent to them on Feb 13, 2018.

The author, on maustin.net

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 API reflected a wildcard CORS origin together with credentials, the extension rendered its UI into the host page's DOM instead of an isolated popup or iframe, and the cloud storage bucket lacked access restrictions.

Impact

Any website a logged-in user visited could read their name, email and profile details, and anyone could browse all uploaded profile pictures; the text does not say whether the extension issue affected browsers other than Chrome.

What the attacker needed

Victim is logged in to Honey; victim visits an attacker page; Honey Chrome extension installed (issue 2)

The fix

The issues were silently fixed by Honey about two months later, though the author suggested restricting CORS to the extension or own domain, using the browser action popup or an iframe, and locking down the storage bucket.

How it was found

  1. Log in to Honey.
  2. Visit the attacker's demo page while logged in.
  3. The page fetches the user endpoint and reads the returned profile data.

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 website is normally stopped by the browser from reading data from another website. Here the server told the browser 'any site may read this', so a malicious page could quietly fetch the user's profile. Separately, the extension drew its popup inside the page itself, so the page's own code could read what was shown, and the image storage folder was open for anyone to browse.

What is CORS?

A permissive cross-origin policy lets another site read responses with the user's credentials.

Similar reports

View all

Same bug class and techniques, clearest first.

CORS misconfiguration

The lesson behind this report.

A permissive cross-origin policy lets another site read responses with the user's credentials.