Skip to content
Access control Write-up Intermediate

Breaking frame blocking

McAfee WebAdvisor had flaws in its frame-blocking and warning mechanisms that let malicious websites bypass blocking and programmatically unblock content. An attacker could also open special pages and load restricted URLs via the extension's unchecked redirect.

palant.de

Published on palant.de

Now that I’m done with Kaspersky, it’s time to look at some other antivirus software. Our guest today is McAfee Total Protection 16.0.

Wladimir Palant, on palant.de

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 extension's content script compared the frame URL to a 'domain' parameter that omitted the query string, and it also trusted messages from any origin without checking, allowing bypasses.

Impact

Websites could bypass frame blocking, unblock content without user interaction, and open special pages or restricted URLs, potentially facilitating phishing or further attacks.

What the attacker needed

Victim visits a malicious website; McAfee WebAdvisor extension installed

The fix

The issues were fixed in McAfee WebAdvisor 8.0 by comparing the full URL, isolating the warning UI in a frame, and moving blocked-content pages into the extension.

How it was found

  1. Create a frame pointing to a known malicious URL with a query string appended.
  2. Observe that the frame is not blocked because the URL comparison fails.
  3. Inject CSS to hide the warning banner.
  4. Programmatically click the 'View all blocked content' button to unblock the frame.
  5. Open a pop-up to siteadvisor.com with parameters and send postMessage to trigger acceptrisk.
  6. The extension adds the malicious site to the whitelist and redirects to it.

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 like McAfee WebAdvisor try to block dangerous websites. This report shows that the extension could be tricked into not blocking a bad website, and even into letting a website open pages that browsers normally protect. The problems were fixed in a later version.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.