Unauthorized Silent Webcam Activation via Loom Chrome Extension Web Accessible Resources
The Loom Chrome extension exposes its bubble.html page as a web-accessible resource for all URLs, so any website can embed it in an iframe. If the user has previously granted camera permission to the extension, the webcam activates silently without a prompt when the iframe loads.
Originally disclosed on Bugcrowd
- Accepted in 3 months
- Fixed in 5 months
- Disclosed after 6 months
Summary by Atlassian
Broken Authentication Vulnerability in Loom Chrome Extension
Summary by AlixSchaefer
Unauthorized Silent Webcam Activation via Loom Chrome Extension Web Accessible Resources
Report details
-
Submitted
16 Mar 2026 17:44:51 UTC
-
Target Location
Loom Chrome Extension -
Target category
Other
-
VRT
Broken Access Control (BAC) > Privilege Escalation
-
Priority
P3
-
Bug URL
chrome-extension://liecbddmkiiihnedobmlmillhodjkdmb/html/bubble.html -
Description
Summary
Any website can silently activate a user's webcam by embedding the Loom Chrome Extension's
bubble.htmlpage in an iframe. This page is declared as aweb_accessible_resourcewithmatches: ["<all_urls>"], meaning any website can load it. Once camera permission has been granted to the extension (which happens during normal Loom usage), the webcam activates without any permission prompt when any website loads this iframe.Affected Component
- Extension: Loom Chrome Extension v5.5.173 (ID:
liecbddmkiiihnedobmlmillhodjkdmb) - File:
manifest.json > web_accessible_resources > html/bubble.html - Installed by millions of users via Chrome Web Store.
Prerequisites
- The Loom Chrome Extension is installed in Chrome
- The user has previously granted camera permission to the extension (this happens the first time the user records a Loom video -- standard usage)
Steps to Reproduce
Step 1 -- Create the attacker page. Save this HTML as
/tmp/loom_poc.html:<!DOCTYPE html> <html> <head><title>Attacker Page</title></head> <body style="background:#000;color:#fff;padding:20px"> <h1>Attacker-controlled website (localhost:9999)</h1> <p>The iframe below loads Loom extension bubble.html:</p> <iframe src="chrome-extension://liecbddmkiiihnedobmlmillhodjkdmb/html/bubble.html" width="400" height="400" allow="camera;microphone" style="border:3px solid red"> </iframe> <p style="color:red;font-size:18px">If you see a live webcam feed above, the vulnerability is confirmed.</p> </body> </html>Step 2 -- Start a local web server (simulates the attacker's website):
cd /tmp && python3 -m http.server 9999Step 3 -- Open
http://localhost:9999/loom_poc.htmlin Google Chrome (with Loom extension installed).Step 4 -- Observe the result:
- The iframe with the red border shows the LIVE webcam feed from the user's camera
- The URL bar shows localhost:9999 (attacker site, NOT loom.com)
- No camera permission prompt appears (permission was already granted to the extension during normal usage)
- The webcam indicator light is ON
This proves that any website can activate the user's webcam through the Loom extension without their knowledge or consent.
Why This Works
bubble.htmlis listed inmanifest.jsonas aweb_accessible_resourcewithmatches: ["<all_urls>"]. Any website can load it in an iframe.- When
bubble.htmlloads, it connects to the extension's Redux store and initializes the camera preview automatically. - Camera permission is granted to the
chrome-extension://origin, not to the embedding website. Once granted during normal Loom usage, it persists for ALL websites that embed the iframe. - The result: any website loads
bubble.htmlin an iframe, the webcam activates silently, and the live feed is visible in the attacker-controlled iframe.
Security Impact
Unauthorized hardware activation: Any website can activate the user's camera without consent. This is not a data exfiltration via JavaScript -- the same-origin policy blocks the attacker's JS from reading iframe pixels. The security impact operates at a different level:
- Privacy violation through unauthorized hardware access: Activating a user's webcam without informed consent violates user trust and privacy expectations. The user granted camera permission to Loom for recording, not to every website on the internet. This is an abuse of delegated permissions (CWE-862).
- Proximate attacker / shared screen scenarios: During screen sharing (Zoom, Teams, Google Meet), video calls, or presentations, the live webcam feed inside the hidden iframe is transmitted to all viewers. An attacker who sends a link during a video call can see the victim's camera feed through the shared screen.
- Screen-capture chaining: Any process with screen-capture ability (OS screenshot tools, screen recorders, remote desktop software, or another browser extension with
tabs.captureVisibleTabpermission) can exfiltrate the webcam feed. The Loom extension itself has display-capture permissions, creating a potential chain. - Persistent hidden surveillance: With
style="opacity:0;width:1px;height:1px", the iframe is invisible but the camera remains active for the entire duration of the user's visit. The attacker can keep the webcam running indefinitely. - Extension state manipulation:
bubble.htmlcommunicates with the extension's background service worker via Redux store. This interaction surface could allow an attacker page to influence extension state (trigger recording, change settings) through the extension's internal messaging.
Regarding the camera LED: The hardware LED is a transparency mechanism, not a security control. It does not prevent unauthorized activation. Users with the Loom extension installed will naturally attribute camera activity to Loom. Additionally, an attacker can flash the camera briefly (1-2 seconds) then destroy the iframe, and many external monitors / USB cameras lack visible LEDs.
Regarding intended functionality: The Loom bubble overlay is designed to appear when the user explicitly initiates a recording via the extension icon. In normal operation, the extension's content script injects
bubble.html-- a trusted, user-initiated action. The vulnerability is thatweb_accessible_resourceswithmatches: ["<all_urls>"]allows any website to load this page without user interaction. No origin check or handshake with the extension occurs before the camera initializes.Root Cause
manifest.jsondeclares sensitive pages asweb_accessible_resourcesfor all URLs:"web_accessible_resources": [{ "resources": [ "html/bubble.html", "html/pinnedTab.html", "html/permissionsCheck.html" ], "matches": ["<all_urls>"] }]bubble.htmlshould NOT be accessible to all URLs. It contains camera initialization code that executes automatically on load, with no verification that the load was initiated by the extension itself.Remediation
- Remove
bubble.html,pinnedTab.html, andpermissionsCheck.htmlfromweb_accessible_resources - If web accessibility is required, restrict
matchesto["https://www.loom.com/*"] - Add a check in
bubble.htmlto verify it was loaded by the extension's content script (e.g., viachrome.runtime.sendMessagehandshake) before initializing the camera - Add
Content-Security-Policy: frame-ancestors 'self'to all extension HTML pages
Proof
Screenshot shows: localhost:9999 in URL bar + live webcam feed visible inside the red-bordered iframe, confirming that an attacker-controlled page activated the camera through the Loom extension.
- Extension: Loom Chrome Extension v5.5.173 (ID:
Context
The target is the Loom Chrome Extension, a browser extension installed by millions of users through the Chrome Web Store. Loom's extension provides a recording bubble overlay: when the user explicitly starts a recording from the extension icon, the extension's content script injects html/bubble.html, a trusted, user-initiated page that initialises the camera preview. The report examines what happens when that same page can be loaded by any origin, not just by the extension itself.
The affected build is Loom Chrome Extension v5.5.173, extension ID liecbddmkiiihnedobmlmillhodjkdmb. The page under examination is reachable at:
chrome-extension://liecbddmkiiihnedobmlmillhodjkdmb/html/bubble.html
Atlassian summarised the issue as a broken authentication vulnerability in the Loom Chrome Extension. The researcher titled it "Unauthorized Silent Webcam Activation via Loom Chrome Extension Web Accessible Resources". The report was filed under Broken Access Control (BAC) > Privilege Escalation, priority P3, and was awarded a bounty of 800.00 USD.
Setup
Two preconditions are required for the behaviour to reproduce:
- The Loom Chrome Extension is installed in Chrome.
- The user has previously granted camera permission to the extension. This happens the first time the user records a Loom video, which is standard usage.
No account on the attacker side is needed. The attacker page is served from a local web server on port 9999, simulating the attacker's website. The test browser is Google Chrome with the extension installed.
Finding it
The researcher noticed that bubble.html is declared in manifest.json as a web_accessible_resource with matches: ["<all_urls>"]. That declaration means any website can load the page, for example inside an iframe. Because bubble.html initialises the camera preview automatically when it loads, and because camera permission is bound to the chrome-extension:// origin rather than to the embedding site, a page from any origin can cause the camera to start without a permission prompt once the user has granted permission to Loom during normal use.
Exploitation
Step 1: Create the attacker page
The researcher saved the following HTML as /tmp/loom_poc.html:
<!DOCTYPE html>
<html>
<head><title>Attacker Page</title></head>
<body style="background:#000;color:#fff;padding:20px">
<h1>Attacker-controlled website (localhost:9999)</h1>
<p>The iframe below loads Loom extension bubble.html:</p>
<iframe
src="chrome-extension://liecbddmkiiihnedobmlmillhodjkdmb/html/bubble.html"
width="400" height="400"
allow="camera;microphone"
style="border:3px solid red">
</iframe>
<p style="color:red;font-size:18px">If you see a live webcam feed above, the vulnerability is confirmed.</p>
</body>
</html>
The iframe points directly at the extension's bubble.html using the chrome-extension:// scheme and the extension ID. The iframe carries an allow="camera;microphone" attribute.
Step 2: Start a local web server
The attacker site is simulated with Python's built-in HTTP server:
cd /tmp && python3 -m http.server 9999
This serves the PoC page at http://localhost:9999/loom_poc.html.
Step 3: Open the page in Chrome
The researcher opened http://localhost:9999/loom_poc.html in Google Chrome with the Loom extension installed.
Step 4: Observe the result
The report records four observations:
- The iframe with the red border shows the live webcam feed from the user's camera.
- The URL bar shows localhost:9999, the attacker site, not loom.com.
- No camera permission prompt appears, because permission was already granted to the extension during normal usage.
- The webcam indicator light is on.
The screenshot in the proof section shows localhost:9999 in the URL bar together with the live webcam feed visible inside the red-bordered iframe, confirming that an attacker-controlled page activated the camera through the Loom extension.
Root cause
The mistake is in manifest.json, which declares sensitive pages as web accessible resources for all URLs:
"web_accessible_resources": [{
"resources": [
"html/bubble.html",
"html/pinnedTab.html",
"html/permissionsCheck.html"
],
"matches": ["<all_urls>"]
}]
bubble.html should not be accessible to all URLs. It contains camera initialisation code that executes automatically on load, with no verification that the load was initiated by the extension itself. The report explains the mechanism in four points:
bubble.htmlis listed as a web accessible resource withmatches: ["<all_urls>"], so any website can load it in an iframe.- When
bubble.htmlloads, it connects to the extension's Redux store and initialises the camera preview automatically. - Camera permission is granted to the
chrome-extension://origin, not to the embedding website. Once granted during normal Loom usage, it persists for all websites that embed the iframe. - The result is that any website loads
bubble.htmlin an iframe, the webcam activates silently, and the live feed is visible in the attacker-controlled iframe.
In normal operation the content script injects bubble.html as part of a trusted, user-initiated action. The vulnerability is that web_accessible_resources with matches: ["<all_urls>"] allows any website to load the page without user interaction, and no origin check or handshake with the extension occurs before the camera initialises.
Impact
The report is explicit that this is not data exfiltration via JavaScript: the same-origin policy blocks the attacker's JavaScript from reading iframe pixels. The impact operates at a different level.
- Privacy violation through unauthorised hardware access. Activating a user's webcam without informed consent violates user trust and privacy expectations. The user granted camera permission to Loom for recording, not to every website on the internet. The report characterises this as an abuse of delegated permissions (CWE-862).
- Proximate attacker and shared screen scenarios. During screen sharing (Zoom, Teams, Google Meet), video calls or presentations, the live webcam feed inside the hidden iframe is transmitted to all viewers. An attacker who sends a link during a video call can see the victim's camera feed through the shared screen.
- Screen-capture chaining. Any process with screen-capture ability, such as OS screenshot tools, screen recorders, remote desktop software, or another browser extension with
tabs.captureVisibleTabpermission, can exfiltrate the webcam feed. The Loom extension itself has display-capture permissions, creating a potential chain. - Persistent hidden surveillance. With
style="opacity:0;width:1px;height:1px", the iframe is invisible but the camera remains active for the entire duration of the user's visit. The attacker can keep the webcam running indefinitely. - Extension state manipulation.
bubble.htmlcommunicates with the extension's background service worker via the Redux store. This interaction surface could allow an attacker page to influence extension state, for example triggering recording or changing settings, through the extension's internal messaging.
On the camera LED, the report argues that the hardware indicator is a transparency mechanism, not a security control: it does not prevent unauthorised activation. Users with the Loom extension installed will naturally attribute camera activity to Loom. An attacker can also flash the camera briefly (1-2 seconds) and then destroy the iframe, and many external monitors and USB cameras lack visible LEDs.
Fix
The report proposes four remediation steps:
- Remove
bubble.html,pinnedTab.htmlandpermissionsCheck.htmlfromweb_accessible_resources. - If web accessibility is required, restrict
matchesto["https://www.loom.com/*"]. - Add a check in
bubble.htmlto verify it was loaded by the extension's content script, for example via achrome.runtime.sendMessagehandshake, before initialising the camera. - Add
Content-Security-Policy: frame-ancestors 'self'to all extension HTML pages.
The report does not state which of these, if any, was implemented.
Variants to test
- Other web accessible resources with camera or microphone code. Enumerate every entry under
web_accessible_resourcesin an extension's manifest and load each one in an iframe from a page on a different origin. A positive result is a page that initialises a media device on load without an origin check. - Broad
matchespatterns. Look formatches: ["<all_urls>"]ormatches: ["*://*/*"]on resources that perform privileged actions. A positive result is a resource that executes a sensitive action when framed by an arbitrary site. - Missing frame-ancestors. Check whether extension HTML pages can be framed at all. A positive result is an extension page rendering inside an iframe on an unrelated origin.
- Hidden iframe persistence. Re-run the PoC with
style="opacity:0;width:1px;height:1px"and confirm the camera stays active for the duration of the visit, which demonstrates the surveillance scenario rather than a one-off activation. - Messaging surface. From the attacker page, attempt to interact with the extension's internal messaging through the framed page, for example to trigger recording or change settings. A positive result is any state change in the extension caused by the embedding origin.
- Other permission-bound origins. Test extensions that hold persistent permissions for other sensitive capabilities (microphone, screen capture, clipboard) and check whether a web accessible resource can exercise them when framed by an arbitrary site.
What happened, in plain words
Loom is a tool for recording short videos of your screen and yourself. It comes as a website and as a browser extension, a small add-on you install into Chrome. Millions of people installed the Loom extension through the Chrome Web Store.
When you click the Loom icon in your browser to start a recording, the extension shows a small floating window, called the bubble, with a preview of your camera. That preview page is a file inside the extension called html/bubble.html. Normally the extension itself puts that page on screen, because you asked for it.
The researcher found that this same page can be loaded by any website on the internet, not just by the extension. A website can put the page inside a frame, a small window embedded in the page, and the page will start the camera on its own. If you have already given Loom permission to use your camera once, which happens the first time you record a video, no permission pop-up appears. Your webcam simply turns on, inside a page you did not trust, and the attacker can keep it running for the duration of your visit.
Atlassian, the company that owns Loom, described the issue as a broken authentication vulnerability in the Loom Chrome Extension. The researcher titled it "Unauthorized Silent Webcam Activation via Loom Chrome Extension Web Accessible Resources". It was filed under Broken Access Control (BAC) > Privilege Escalation, given priority P3, and paid a bounty of 800.00 USD.
A few words before we start, because they come up constantly:
- A browser extension is a small program added to Chrome. It can add buttons, change pages, and use some of your computer's hardware, but only with permissions you grant.
- An origin is the combination of scheme, host and port that a browser uses to decide who is who, for example
https://www.loom.com. Pages from different origins are kept apart by the browser. - An iframe is a window inside a web page that shows another page. It is like a picture frame hanging on a wall: the wall is the outer page, the picture is the inner page.
- Camera permission is the browser's record that you allowed a particular origin to use your camera. Once granted, it is remembered, so you are not asked again every time.
Context
The target is the Loom Chrome Extension, installed by millions of users through the Chrome Web Store. The extension provides a recording bubble overlay: when the user explicitly starts a recording from the extension icon, the extension's content script injects html/bubble.html, a trusted, user-initiated page that initialises the camera preview. A content script is a small piece of the extension's code that runs inside web pages; here it is the part that injects the bubble page. The report examines what happens when that same page can be loaded by any origin, not just by the extension itself.
The affected build is Loom Chrome Extension v5.5.173, extension ID liecbddmkiiihnedobmlmillhodjkdmb. Every extension has an ID, a long string that identifies it, much like a house number identifies a building on a street. The page under examination is reachable at:
chrome-extension://liecbddmkiiihnedobmlmillhodjkdmb/html/bubble.html
This address works like a normal web address, except that the part before :// is chrome-extension instead of https. It tells Chrome to fetch a file from inside the installed extension rather than from a website. The long string is the extension's ID, and html/bubble.html is the file's path inside the extension's folder.
Setup
Two preconditions are required for the behaviour to reproduce:
- The Loom Chrome Extension is installed in Chrome.
- The user has previously granted camera permission to the extension. This happens the first time the user records a Loom video, which is standard usage.
No account on the attacker side is needed. The attacker page is served from a local web server on port 9999, standing in for any website on the internet. A local web server is a small program on your own computer that hands out web pages, so you can act as both the attacker and the victim on one machine. The test browser is Google Chrome with the extension installed.
Finding it
The researcher noticed that bubble.html is declared in manifest.json as a web_accessible_resource with matches: ["<all_urls>"]. The manifest is the extension's settings file, a plain list of what the extension contains and what it is allowed to do. A web accessible resource is a file inside the extension that the extension chooses to make reachable from ordinary web pages. The matches list says which websites may reach it, and <all_urls> means every website there is.
That declaration means any website can load the page, for example inside an iframe. Because bubble.html initialises the camera preview automatically when it loads, and because camera permission is bound to the chrome-extension:// origin rather than to the embedding site, a page from any origin can cause the camera to start without a permission prompt once the user has granted permission to Loom during normal use. In other words, the permission belongs to Loom's extension address, and the extension address is happy to run inside anyone's frame.
Exploitation
Step 1: Create the attacker page
The researcher saved the following HTML as /tmp/loom_poc.html. HTML is the language web pages are written in; a file like this is a complete, if simple, web page.
<!DOCTYPE html>
<html>
<head><title>Attacker Page</title></head>
<body style="background:#000;color:#fff;padding:20px">
<h1>Attacker-controlled website (localhost:9999)</h1>
<p>The iframe below loads Loom extension bubble.html:</p>
<iframe
src="chrome-extension://liecbddmkiiihnedobmlmillhodjkdmb/html/bubble.html"
width="400" height="400"
allow="camera;microphone"
style="border:3px solid red">
</iframe>
<p style="color:red;font-size:18px">If you see a live webcam feed above, the vulnerability is confirmed.</p>
</body>
</html>
Line by line:
<!DOCTYPE html>tells the browser this is a modern HTML page.<html>,<head>,<title>and<body>are the page's skeleton. The title is what appears in the browser tab; the body is everything you see.- The
styleon the body sets a black background, white text and some padding, purely so the page is readable. <h1>is a large heading naming the page as attacker-controlled and running on localhost:9999.- The
<p>line explains what the frame below does. - The
<iframe>is the important part. Itssrcattribute is the address of the page to show inside the frame, and here it points directly at the extension'sbubble.htmlusing thechrome-extension://scheme and the extension ID. widthandheightset the frame to 400 by 400 pixels.allow="camera;microphone"is the frame's permission slip, passing camera and microphone permission down to the framed document.- The
stylegives the frame a thick red border. - The last
<p>says that a live webcam feed above means the vulnerability is confirmed.
Step 2: Start a local web server
The attacker site is simulated with Python's built-in HTTP server:
cd /tmp && python3 -m http.server 9999
cd /tmpmoves the terminal into the/tmpfolder, where the page was saved.&&means "and then, only if the first part worked".python3 -m http.server 9999starts a tiny web server using Python, listening on port 9999. A port is a numbered door on a computer; 9999 is just a door the researcher picked.
This serves the PoC page at http://localhost:9999/loom_poc.html. localhost means "this computer", so the browser and the server are on the same machine.
Step 3: Open the page in Chrome
The researcher opened http://localhost:9999/loom_poc.html in Google Chrome with the Loom extension installed. This is the moment of the test: the browser loads an ordinary page from an ordinary address.
Step 4: Observe the result
The report records four observations:
- The iframe with the red border shows the live webcam feed from the user's camera.
- The URL bar shows localhost:9999, the attacker site, not loom.com.
- No camera permission prompt appears, because permission was already granted to the extension during normal usage.
- The webcam indicator light is on.
The screenshot in the proof section shows localhost:9999 in the URL bar together with the live webcam feed visible inside the red-bordered iframe, confirming that an attacker-controlled page activated the camera through the Loom extension.
Root cause
The mistake is in manifest.json, which declares sensitive pages as web accessible resources for all URLs:
"web_accessible_resources": [{
"resources": [
"html/bubble.html",
"html/pinnedTab.html",
"html/permissionsCheck.html"
],
"matches": ["<all_urls>"]
}]
This is JSON, a format for structured settings. Line by line:
"web_accessible_resources"is the setting that lists files the extension shares with web pages.- The square brackets hold a list of entries; here there is one entry, wrapped in curly braces.
"resources"lists the files being shared:html/bubble.html,html/pinnedTab.htmlandhtml/permissionsCheck.html."matches"says which websites may load them, and["<all_urls>"]means all of them.
bubble.html should not be accessible to all URLs. It contains camera initialisation code that executes automatically on load, with no verification that the load was initiated by the extension itself. The report explains the mechanism in four points:
bubble.htmlis listed as a web accessible resource withmatches: ["<all_urls>"], so any website can load it in an iframe.- When
bubble.htmlloads, it connects to the extension's Redux store and initialises the camera preview automatically. A Redux store is a shared box of settings and state that different parts of the extension read and write; the page reads from it and starts the preview without asking anyone. - Camera permission is granted to the
chrome-extension://origin, not to the embedding website. Once granted during normal Loom usage, it persists for all websites that embed the iframe. - The result is that any website loads
bubble.htmlin an iframe, the webcam activates silently, and the live feed is visible in the attacker-controlled iframe.
In normal operation the content script injects bubble.html as part of a trusted, user-initiated action. The vulnerability is that web_accessible_resources with matches: ["<all_urls>"] allows any website to load the page without user interaction, and no origin check or handshake with the extension occurs before the camera initialises. An origin check would be the page asking "who loaded me?" and refusing if the answer is not the extension; a handshake would be a short back-and-forth between the page and the extension to prove the request is genuine. Neither happens.
Impact
The report is explicit that this is not data exfiltration via JavaScript: the same-origin policy blocks the attacker's JavaScript from reading iframe pixels. The same-origin policy is the browser rule that stops one site's code from reading another site's content. So the attacker cannot simply copy the video out of the frame with a script. The impact operates at a different level.
- Privacy violation through unauthorised hardware access. Activating a user's webcam without informed consent violates user trust and privacy expectations. The user granted camera permission to Loom for recording, not to every website on the internet. The report characterises this as an abuse of delegated permissions (CWE-862). CWE-862 is a catalogue entry for "missing authorisation", the situation where an action is allowed without checking whether the person asking is entitled to it.
- Proximate attacker and shared screen scenarios. During screen sharing (Zoom, Teams, Google Meet), video calls or presentations, the live webcam feed inside the hidden iframe is transmitted to all viewers. An attacker who sends a link during a video call can see the victim's camera feed through the shared screen. Think of it as someone handing you a sealed envelope during a meeting and asking you to open it on camera.
- Screen-capture chaining. Any process with screen-capture ability, such as OS screenshot tools, screen recorders, remote desktop software, or another browser extension with
tabs.captureVisibleTabpermission, can exfiltrate the webcam feed. The Loom extension itself has display-capture permissions, creating a potential chain. Chaining here means using one allowed capability to feed another. - Persistent hidden surveillance. With
style="opacity:0;width:1px;height:1px", the iframe is invisible but the camera remains active for the entire duration of the user's visit. The attacker can keep the webcam running indefinitely.opacity:0makes it fully transparent and the tiny size makes it effectively unnoticeable, while the page inside still runs. - Extension state manipulation.
bubble.htmlcommunicates with the extension's background service worker via the Redux store. A background service worker is the extension's behind-the-scenes part that handles events. This interaction surface could allow an attacker page to influence extension state, for example triggering recording or changing settings, through the extension's internal messaging.
On the camera LED, the report argues that the hardware indicator is a transparency mechanism, not a security control: it does not prevent unauthorised activation. Users with the Loom extension installed will naturally attribute camera activity to Loom. An attacker can also flash the camera briefly (1-2 seconds) and then destroy the iframe, and many external monitors and USB cameras lack visible LEDs.
Fix
The report proposes four remediation steps:
- Remove
bubble.html,pinnedTab.htmlandpermissionsCheck.htmlfromweb_accessible_resources. If the files are not shared, no website can load them. - If web accessibility is required, restrict
matchesto["https://www.loom.com/*"]. This is like changing a building's entry list from "everyone" to "staff only". - Add a check in
bubble.htmlto verify it was loaded by the extension's content script, for example via achrome.runtime.sendMessagehandshake, before initialising the camera.chrome.runtime.sendMessageis the extension's internal way of passing a message between its parts; a handshake would use it to confirm the caller is genuine. - Add
Content-Security-Policy: frame-ancestors 'self'to all extension HTML pages. This is a policy the browser applies to the page, telling it who may frame it.frame-ancestors 'self'tells the browser that only pages from the same origin may put this page in a frame, which blocks every other website.
The report does not state which of these, if any, was implemented.
Variants to test
- Other web accessible resources with camera or microphone code. Enumerate every entry under
web_accessible_resourcesin an extension's manifest and load each one in an iframe from a page on a different origin. A positive result is a page that initialises a media device on load without an origin check. - Broad
matchespatterns. Look formatches: ["<all_urls>"]ormatches: ["*://*/*"]on resources that perform privileged actions. A positive result is a resource that executes a sensitive action when framed by an arbitrary site. - Missing frame-ancestors. Check whether extension HTML pages can be framed at all. A positive result is an extension page rendering inside an iframe on an unrelated origin.
- Hidden iframe persistence. Re-run the PoC with
style="opacity:0;width:1px;height:1px"and confirm the camera stays active for the duration of the visit, which demonstrates the surveillance scenario rather than a one-off activation. - Messaging surface. From the attacker page, attempt to interact with the extension's internal messaging through the framed page, for example to trigger recording or change settings. A positive result is any state change in the extension caused by the embedding origin.
- Other permission-bound origins. Test extensions that hold persistent permissions for other sensitive capabilities (microphone, screen capture, clipboard) and check whether a web accessible resource can exercise them when framed by an arbitrary site.
Glossary
- Browser extension: a small program added to a browser that can add features and use some hardware, within permissions the user grants.
- Chrome Web Store: Google's official shop for Chrome extensions.
- Origin: the scheme, host and port that identify where a page comes from, for example
https://www.loom.com. - Iframe: a window inside a web page that displays another page.
- Camera permission: the browser's stored record that you allowed a particular origin to use your camera.
- Content script: extension code that runs inside ordinary web pages.
- Manifest (
manifest.json): the extension's settings file, listing its files and permissions. - Web accessible resource: a file inside an extension that the extension allows ordinary web pages to load.
matches: the list in the manifest saying which websites may load a web accessible resource;<all_urls>means all of them.chrome-extension://scheme: an address prefix that tells Chrome to load a file from inside an installed extension.- Extension ID: the long string that uniquely identifies an installed extension.
- HTML: the language web pages are written in.
- JSON: a text format for structured settings and data.
- Local web server: a small program on your own computer that serves web pages, used here to stand in for an attacker's website.
- Port: a numbered door on a computer that a network service listens on.
localhost: the name meaning "this computer".- Redux store: a shared box of state that different parts of an application read and write.
- Background service worker: the extension's behind-the-scenes part that handles events.
- Origin check: code that asks who loaded a page and refuses if the answer is not trusted.
- Handshake: a short back-and-forth that proves a request comes from a genuine party.
- Same-origin policy: the browser rule that stops one site's code from reading another site's content.
- CWE-862: a catalogue entry for missing authorisation, where an action is allowed without checking entitlement.
- Broken Access Control (BAC): a class of bugs where something is allowed to do more than it should.
- Privilege Escalation: gaining more access or capability than you were meant to have.
- P3: a priority level in the bug bounty platform's scale.
- Bounty: the money paid for a valid security report.
- PoC (proof of concept): a small, working demonstration that a vulnerability is real.
- Exfiltration: getting data out of a system without permission.
tabs.captureVisibleTab: a browser extension permission that allows taking a picture of the visible tab.chrome.runtime.sendMessage: the extension's internal way of sending a message between its parts.- Content-Security-Policy: a set of instructions sent with a page that tells the browser what the page may do.
frame-ancestors 'self': a policy value meaning only pages from the same origin may frame this page.- Response header: a line of instructions a server sends along with a page.