Skip to content
RCE Write-up Advanced

Unlocking the $100,000 Bounty: Case Study on Headless Chrome Vuln

An unpatched headless Chrome browser used by Facebook's ad platform was vulnerable to a previously patched Chrome flaw, allowing remote code execution on the host server. An attacker could gain command-line control and move laterally within Meta's internal network.

DrSecurityGuru Follow

Published on medium.com

In this article, we’ll break down the vulnerability step-by-step, explore how it was discovered and exploited using Headless Chrome, and share key lessons learned from this real-world $100,000 bug bounty report.

DrSecurityGuru, on 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 the headless Chrome component was not updated to a version containing the fix for a known vulnerability, and it ran without adequate sandboxing, giving it direct access to internal servers.

What the attacker needed

Access to Facebook ad creation interface; ability to submit a malicious ad payload

The fix

Meta updated Headless Chrome to a secure version and reinforced sandboxing with containerisation and kernel-level restrictions, and the text states the vulnerability was patched within one hour.

How it was found

  1. The attacker delivered a malicious ad payload or HTTP request that interfaced with Facebook’s Headless Chrome instance.
  2. Exploited the unpatched browser flaw to execute OS commands on the host server.
  3. Enabled interaction with internal APIs and databases and adjacent servers in Meta’s ad infrastructure.

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 headless browser is a web browser without a visible window, used by servers to load and process web content automatically. Here, Facebook's ad system used an outdated version of this browser that had a known security hole. Because the browser ran with too much access to internal systems, an attacker who exploited the hole could run commands on the server itself.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.