Skip to content
Business logic Write-up Intermediate

How I Bypassed YouTube Video Ads Using API Manipulation — My Google VRP Discovery (Video PoC…

The YouTube web player trusted ad-related fields in its API responses, so a user could intercept and modify them to skip or disable ads. An attacker could bypass mandatory ad waits and remove ads entirely, undermining revenue and analytics.

muneebalamkhan Follow

Published on muneebalamkhan.medium.com

Free Link

Muneeb Alam Khan, on muneebalamkhan.medium.com

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 improper client-side validation: the player trusted ad-control values sent in API responses without server-side enforcement.

Impact

Could cause revenue loss, skew ad analytics, and undermine YouTube Premium, though the report was marked as a duplicate and has been patched.

What the attacker needed

An intercepting proxy tool; ability to modify browser traffic

The fix

The issue has been patched; the report advises enforcing critical ad logic server-side rather than trusting the client.

How it was found

  1. Intercept the API response when a video loads.
  2. Modify ad-related fields such as duration, skip delay, and playback state.
  3. Pass the modified response back to the player to skip or disable ads.

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 watch a video, your browser asks YouTube's servers what to show, including ads. This report found that the browser was allowed to change those instructions, so someone could tell their browser to skip or remove ads. It is like a referee letting a player change the scoreboard.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More by muneebalamkhan

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.