Use after free in FedCM (CVE-2024-2176)
A use-after-free flaw in Chrome's FedCM account selection view occurs when a modal dialog is open and the FedCM API is embargoed, leading to the view being destroyed while a callback still accesses it. An attacker could potentially exploit this to cause a browser crash or execute arbitrary code.
- Fix shipped in 15 days
VULNERABILITY DETAILS
In function FedCmAccountSelectionView::Show if IDP sign-in modal dialog is open, the showing of the accounts dialog would be delayed [1], and once the modal dialog is closed, show_accounts_dialog_callback_ would be executed to show the accounts dialog [2]. However in this path the code does not check FedCM API settings and if the embargo was triggered, the execution of show_accounts_dialog_callback_ would destroy the FedCmAccountSelectionView and UAF occurs. Considering the following scenario:
- website triggers a IDP failure
- user clicks continue button to sign in, which opens the login page (modal dialog), and the login page triggers a new FedCM UI
- user dismisses the UI in the login page which triggers embargo
- The login page can be closed by JS code, and since the modal dialog is closed,
FedCmAccountSelectionView::Showis called again to show the accounts dialog - Since FedCM is embargoed, it goes with
ShowVerifyingSheet -> OnAccountSelected -> CompleteRequestWithError, which destory the FedCmAccountSelectionView - The code will continue access member of FedCmAccountSelectionView which leads to UAF
void FedCmAccountSelectionView::Show(
const std::string& top_frame_etld_plus_one,
const std::optional<std::string>& iframe_etld_plus_one,
const std::vector<content::IdentityProviderData>&
identity_provider_data_list,
Account::SignInMode sign_in_mode,
blink::mojom::RpMode rp_mode,
bool show_auto_reauthn_checkbox) {
if (popup_window_ && (state_ == State::IDP_SIGNIN_STATUS_MISMATCH ||
state_ == State::ACCOUNT_PICKER)) {
popup_window_state_ =
PopupWindowResult::kAccountsReceivedAndPopupNotClosedByIdp;
show_accounts_dialog_callback_ = // ==> [1]
base::BindOnce(&FedCmAccountSelectionView::Show,
weak_ptr_factory_.GetWeakPtr(), top_frame_etld_plus_one,
iframe_etld_plus_one, identity_provider_data_list,
sign_in_mode, rp_mode, show_auto_reauthn_checkbox);
return;
}
void FedCmAccountSelectionView::CloseModalDialog() {
// ...
if (show_accounts_dialog_callback_) {
std::move(show_accounts_dialog_callback_).Run(); // ==> [2]
if (is_web_contents_visible_) {
input_protector_->VisibilityChanged(true);
GetDialogWidget()->Show();
}
[1] https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/ui/views/webid/fedcm_account_selection_view_desktop.cc;l=82;drc=51747de656cd4c61e038b7d82e9b7bf20e6d2bb9 [2] https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/ui/views/webid/fedcm_account_selection_view_desktop.cc;l=615;drc=f4a00cc248dd2dc8ec8759fb51620d47b5114090
VERSION Chrome Version: stable 121.0.6167.185 + dev
REPRODUCTION CASE Tested on: Chrome 123.0.6307.1 asan build 64-bit on Windows 10
- Create a web server using node.js node ./server.js
- Launch chrome and navigate to http://localhost:8000/poc.html out\Asan\chrome.exe http://localhost:8000/poc.html
- Click continue button, then dismiss the dialog in the new popup page
Please be noted to create a new web server for each test, and clear browser user data is highly recommended.
FOR CRASHES, PLEASE INCLUDE THE FOLLOWING ADDITIONAL INFORMATION Type of crash: browser Crash State: see asan.log for details
== Bisection == This was initially introduced in https://chromium.googlesource.com/chromium/src/+/f4863c5e182188465f2511083ee130fd9d4fda15
== Additional Information == compromised renderer requirement: no miracle ptr protected: no user interaction: yes
Context
FedCM (Federated Credential Management) is the browser API that lets a relying party website ask the browser to show a user's federated identity accounts, typically from an identity provider (IDP), without the site embedding third-party iframes or redirects. Chrome renders this UI itself: an account picker, a verifying sheet, and, when the IDP needs the user to sign in, a modal dialog that hosts the IDP's login page.
The report describes a use-after-free in the desktop implementation of that UI, in FedCmAccountSelectionView, the class that owns the account selection dialog. The bug was assigned CVE-2024-2176, rated high severity, and was paid a bounty of 6000.00 USD under the Chrome VRP. It was disclosed on 2024-03-06. The researcher is listed as anonymous.
Setup
The researcher tested on Chrome 123.0.6307.1, an ASan build, 64-bit, on Windows 10. The stable version at the time of reporting was 121.0.6167.185, and the report notes the issue also affects dev. The reproduction uses a local Node.js web server serving a proof-of-concept page.
Preconditions stated in the report:
- A website that triggers an IDP failure, so the FedCM flow reaches the point where the user is offered a continue button to sign in.
- A user who clicks that continue button, which opens the IDP login page in a modal dialog, and who then dismisses a FedCM UI inside that login page, which triggers the embargo.
- The login page must be closable by JavaScript, so the modal dialog can be closed programmatically.
No compromised renderer is required (compromised renderer requirement: no), the object is not protected by MiraclePtr (miracle ptr protected: no), and user interaction is required (user interaction: yes).
Finding it
The researcher focused on FedCmAccountSelectionView::Show. When an IDP sign-in modal dialog is already open, Show does not display the accounts dialog immediately. Instead it stores a callback, show_accounts_dialog_callback_, bound to Show itself with the original arguments, and returns. The accounts dialog is shown later, when the modal dialog is closed, by running that stored callback from CloseModalDialog.
The problem is that this deferred path does not re-check the FedCM API settings. If the embargo has been triggered in the meantime, running the callback does not simply show the accounts dialog: it drives the view through ShowVerifyingSheet -> OnAccountSelected -> CompleteRequestWithError, which destroys the FedCmAccountSelectionView. The code that invoked the callback then continues to access members of the now-freed object, producing the use-after-free.
The relevant code, as quoted in the report:
void FedCmAccountSelectionView::Show(
const std::string& top_frame_etld_plus_one,
const std::optional<std::string>& iframe_etld_plus_one,
const std::vector<content::IdentityProviderData>&
identity_provider_data_list,
Account::SignInMode sign_in_mode,
blink::mojom::RpMode rp_mode,
bool show_auto_reauthn_checkbox) {
if (popup_window_ && (state_ == State::IDP_SIGNIN_STATUS_MISMATCH ||
state_ == State::ACCOUNT_PICKER)) {
popup_window_state_ =
PopupWindowResult::kAccountsReceivedAndPopupNotClosedByIdp;
show_accounts_dialog_callback_ = // ==> [1]
base::BindOnce(&FedCmAccountSelectionView::Show,
weak_ptr_factory_.GetWeakPtr(), top_frame_etld_plus_one,
iframe_etld_plus_one, identity_provider_data_list,
sign_in_mode, rp_mode, show_auto_reauthn_checkbox);
return;
}
void FedCmAccountSelectionView::CloseModalDialog() {
// ...
if (show_accounts_dialog_callback_) {
std::move(show_accounts_dialog_callback_).Run(); // ==> [2]
if (is_web_contents_visible_) {
input_protector_->VisibilityChanged(true);
GetDialogWidget()->Show();
}
Marker [1] is where the deferred callback is stored; marker [2] is where it is run when the modal dialog closes. The report links both to chrome/browser/ui/views/webid/fedcm_account_selection_view_desktop.cc in the Chromium source, at lines 82 and 615 respectively.
Exploitation
The report describes the following scenario:
- The website triggers an IDP failure.
- The user clicks the continue button to sign in, which opens the login page as a modal dialog, and the login page triggers a new FedCM UI.
- The user dismisses the UI in the login page, which triggers the embargo.
- The login page is closed by JavaScript code. Because the modal dialog is now closed,
FedCmAccountSelectionView::Showis called again to show the accounts dialog. - Because FedCM is embargoed, the flow goes
ShowVerifyingSheet -> OnAccountSelected -> CompleteRequestWithError, which destroys theFedCmAccountSelectionView. - The code continues to access a member of
FedCmAccountSelectionView, which leads to the use-after-free.
Step 1: start the local server
node ./server.js
This serves the proof-of-concept page from a local Node.js web server.
Step 2: launch Chrome on the PoC page
out\Asan\chrome.exe http://localhost:8000/poc.html
This launches the ASan build of Chrome directly against the PoC page on port 8000.
Step 3: drive the UI
Click the continue button, then dismiss the dialog in the new popup page. That single interaction sequence covers steps 2 and 3 of the scenario above: the continue button opens the IDP login page in the modal dialog, the login page triggers a new FedCM UI, and dismissing that UI triggers the embargo. The login page then closes itself through JavaScript, which runs the stored callback and reaches the use-after-free.
The report advises creating a new web server for each test and clearing browser user data, which is highly recommended.
Crash details
The crash type is the browser process. The crash state is not reproduced in the report; it points to asan.log for details.
Root cause
The deferred show_accounts_dialog_callback_ is bound with weak_ptr_factory_.GetWeakPtr(), so the callback itself is safe against a destroyed view. The deferred Show path does not check the FedCM API settings, so an embargo triggered while the modal dialog was open is not observed before the dialog is shown. The combination is what turns a state change into a use-after-free.
The report states that the bug was initially introduced in Chromium commit [redacted].
Impact
The crash is in the browser process, which is the privileged side of the sandbox. The report does not describe a path from the use-after-free to code execution, and it does not claim one; it documents a browser crash reachable from a website. The preconditions are a FedCM flow that reaches an IDP failure, a user who clicks continue and then dismisses the FedCM UI in the login page, and a login page that can close itself with JavaScript. No compromised renderer is needed, but user interaction is.
Fix
The report does not describe the fix that was applied.
Variants to test
- Other deferred callbacks in the same view: look for any stored callback that can re-enter the object and destroy it, then check whether the caller uses the object afterwards. A positive result is an ASan use-after-free report in the browser process.
- State checks skipped on deferred paths: compare the checks performed on the immediate path with those on the deferred path for the same operation. A positive result is a state change (embargo, cancellation, navigation) that the deferred path ignores.
- Weak pointers used as a false sense of safety: wherever
GetWeakPtr()is bound, check whether the code that runs the callback assumes the object still exists afterwards. A positive result is a member access after the callback returns. - Modal dialogs closable by page script: test whether a page can close a browser-hosted modal dialog while a callback is pending, and whether the resulting re-entry reaches a destroyed object.
What happened, in plain words
Chrome has a feature called FedCM that lets a website ask the browser to show you a list of accounts you can sign in with, usually accounts from a separate company that handles logins (an "identity provider"). Chrome draws that list itself, as part of the browser, not as part of the website. The report describes a bug in the part of Chrome that draws and manages that account list on desktop.
The bug is a "use after free". In a program, when something is no longer needed, the program throws it away (frees it). A use-after-free happens when the program throws something away and then keeps using it as if it were still there. It is like writing down a phone number, deleting the contact, and then calling the number anyway: sometimes nothing bad happens, sometimes you reach the wrong person. In software, the memory may already have been handed to something else, so the leftover use can crash the program or, in the worst case, let an attacker influence what happens.
In this case, Chrome stored a small piece of work to do later (a "callback"), and when that work ran, it destroyed the object that owned it. The code that had just run the callback then carried on touching that same object, which no longer existed. The result was a crash in the browser process, the privileged part of Chrome.
The bug was given the identifier CVE-2024-2176, rated high severity, and paid a bounty of 6000.00 USD under the Chrome VRP (Chrome's Vulnerability Reward Program, which pays people who report security bugs). It was disclosed on 2024-03-06. The researcher is listed as anonymous.
The pieces you need to know
Before the details, a few terms that come up constantly.
- API: a defined way for one piece of software to ask another piece of software to do something. Think of a restaurant menu: you do not go into the kitchen, you order from the menu and the kitchen handles it. FedCM is a browser API: a website orders "show the user's sign-in accounts" and Chrome's kitchen does the work.
- FedCM (Federated Credential Management): the browser feature that lets a website ask Chrome to show a user's federated identity accounts, typically from an identity provider, without the site embedding third-party iframes (a page inside a page) or redirecting the user elsewhere. Chrome renders the interface itself: an account picker, a verifying sheet, and, when the identity provider needs the user to sign in, a modal dialog that hosts the identity provider's login page.
- Identity provider (IDP): the company or service that holds your account and confirms who you are, for example a large email or social account you use to sign in elsewhere.
- Relying party: the website you are trying to sign in to, which relies on the identity provider to confirm your identity.
- Modal dialog: a window that sits on top of the page and demands attention before you can go back to the page underneath. "Modal" means the rest of the interface is blocked while it is open.
- Callback: a piece of code you hand to someone else and say "run this later, when the right moment comes". It is like leaving a note with a colleague: you are not there when it is read, but the instructions still run.
- Use after free: using memory after the program has released it, as described above.
- Embargo: in FedCM, a state the browser enters after certain user actions (such as dismissing a FedCM prompt) that temporarily blocks further FedCM activity. The report treats it as a flag that changes what the code is allowed to do.
- ASan (AddressSanitizer): a debugging tool built into a special version of Chrome that watches memory closely and reports when code touches memory it should not. Researchers use it because it turns silent memory mistakes into loud, clear crash reports.
- Browser process: the central, privileged part of Chrome that manages windows, tabs and the interface. A crash there takes the whole browser down, unlike a crash in a single tab's rendering process.
- Renderer: the part of Chrome that turns a web page into what you see. It is deliberately kept less privileged, so a bug there is harder to turn into a full compromise. The report notes no compromised renderer is required, meaning the bug is reachable without first breaking the renderer.
- MiraclePtr: a Chrome memory-safety mechanism that makes certain use-after-free bugs much harder to exploit. The report notes the object here is not protected by it.
Context
The report concerns the desktop implementation of the FedCM interface, in a class called FedCmAccountSelectionView. A class is a blueprint in code that bundles data and the operations on that data; this particular class owns the account selection dialog, meaning it is responsible for creating, showing and destroying it.
The bug was assigned CVE-2024-2176, rated high severity, and was paid a bounty of 6000.00 USD under the Chrome VRP. It was disclosed on 2024-03-06. The researcher is listed as anonymous.
Setup
The researcher tested on Chrome 123.0.6307.1, an ASan build, 64-bit, on Windows 10. The stable version at the time of reporting was 121.0.6167.185, and the report notes the issue also affects dev (the development build of Chrome). The reproduction uses a local Node.js web server serving a proof-of-concept page. Node.js is a program that runs JavaScript outside the browser; here it is used simply to serve a web page from your own computer.
The report states these preconditions:
- A website that triggers an IDP failure, so the FedCM flow reaches the point where the user is offered a continue button to sign in.
- A user who clicks that continue button, which opens the IDP login page in a modal dialog, and who then dismisses a FedCM interface inside that login page, which triggers the embargo.
- The login page must be closable by JavaScript, so the modal dialog can be closed programmatically (by code, rather than by the user clicking a close button).
No compromised renderer is required (compromised renderer requirement: no), the object is not protected by MiraclePtr (miracle ptr protected: no), and user interaction is required (user interaction: yes). In other words, an attacker does not need to break into the renderer first, but a real person does have to click and dismiss things for the bug to fire.
Finding it
The researcher focused on a function called FedCmAccountSelectionView::Show. A function is a named block of code that does a job; Show is the one responsible for showing the accounts dialog.
When an IDP sign-in modal dialog is already open, Show does not display the accounts dialog immediately. Instead it stores a callback, show_accounts_dialog_callback_, bound to Show itself with the original arguments, and returns. "Bound" means the callback is packaged together with the values it will need later, so it can be run with no further input. The accounts dialog is shown later, when the modal dialog is closed, by running that stored callback from another function, CloseModalDialog.
The problem is that this deferred path does not re-check the FedCM API settings. If the embargo has been triggered in the meantime, running the callback does not simply show the accounts dialog: it drives the view through ShowVerifyingSheet -> OnAccountSelected -> CompleteRequestWithError, which destroys the FedCmAccountSelectionView. The arrow chain is just the order in which one function calls the next. The code that invoked the callback then continues to access members of the now-freed object, producing the use-after-free.
Here is the relevant code, as quoted in the report:
void FedCmAccountSelectionView::Show(
const std::string& top_frame_etld_plus_one,
const std::optional<std::string>& iframe_etld_plus_one,
const std::vector<content::IdentityProviderData>&
identity_provider_data_list,
Account::SignInMode sign_in_mode,
blink::mojom::RpMode rp_mode,
bool show_auto_reauthn_checkbox) {
if (popup_window_ && (state_ == State::IDP_SIGNIN_STATUS_MISMATCH ||
state_ == State::ACCOUNT_PICKER)) {
popup_window_state_ =
PopupWindowResult::kAccountsReceivedAndPopupNotClosedByIdp;
show_accounts_dialog_callback_ = // ==> [1]
base::BindOnce(&FedCmAccountSelectionView::Show,
weak_ptr_factory_.GetWeakPtr(), top_frame_etld_plus_one,
iframe_etld_plus_one, identity_provider_data_list,
sign_in_mode, rp_mode, show_auto_reauthn_checkbox);
return;
}
void FedCmAccountSelectionView::CloseModalDialog() {
// ...
if (show_accounts_dialog_callback_) {
std::move(show_accounts_dialog_callback_).Run(); // ==> [2]
if (is_web_contents_visible_) {
input_protector_->VisibilityChanged(true);
GetDialogWidget()->Show();
}
Line by line, in plain words:
void FedCmAccountSelectionView::Show(starts the definition of theShowfunction belonging to theFedCmAccountSelectionViewclass.voidmeans it returns nothing.- The following lines list the inputs (parameters)
Showreceives: the top frame's eTLD+1 (the site's registrable domain, roughly "example.com"), an optional iframe eTLD+1, a list of identity provider data, the sign-in mode, the relying party mode, and a true/false flag for whether to show an automatic re-authentication checkbox. if (popup_window_ && (state_ == State::IDP_SIGNIN_STATUS_MISMATCH || state_ == State::ACCOUNT_PICKER)) {checks whether a popup window exists and the view is in one of two particular states. If so, the code takes the special branch below.popup_window_state_ = PopupWindowResult::kAccountsReceivedAndPopupNotClosedByIdp;records why the popup is still open: accounts were received but the identity provider has not closed the popup.show_accounts_dialog_callback_ =begins storing the callback. Marker [1] in the report points here: this is where the deferred work is saved.base::BindOnce(&FedCmAccountSelectionView::Show,packages theShowfunction itself to be called once later.weak_ptr_factory_.GetWeakPtr(),supplies a "weak pointer" to the object. A weak pointer does not keep the object alive; it only lets the callback check whether the object still exists. This detail matters later.- The remaining arguments (
top_frame_etld_plus_one,iframe_etld_plus_one,identity_provider_data_list,sign_in_mode,rp_mode,show_auto_reauthn_checkbox) are the original inputs, saved so the later call has everything it needs. return;leavesShowwithout showing anything now; the work is postponed.void FedCmAccountSelectionView::CloseModalDialog() {starts another function, the one that runs when the modal dialog closes.if (show_accounts_dialog_callback_) {checks whether a deferred callback was stored earlier.std::move(show_accounts_dialog_callback_).Run();with marker [2] runs that stored callback.std::movehands the callback over so it is consumed once.if (is_web_contents_visible_) {then checks whether the web contents are visible. The callback may have destroyed the object, and the code then continues to access its members.input_protector_->VisibilityChanged(true);andGetDialogWidget()->Show();continue using the object to update input protection and show the dialog widget.
Marker [1] is where the deferred callback is stored; marker [2] is where it is run when the modal dialog closes. The report links both to chrome/browser/ui/views/webid/fedcm_account_selection_view_desktop.cc in the Chromium source, at lines 82 and 615 respectively.
Exploitation
The report describes the following scenario:
- The website triggers an IDP failure.
- The user clicks the continue button to sign in, which opens the login page as a modal dialog, and the login page triggers a new FedCM interface.
- The user dismisses the interface in the login page, which triggers the embargo.
- The login page is closed by JavaScript code. Because the modal dialog is now closed,
FedCmAccountSelectionView::Showis called again to show the accounts dialog. - Because FedCM is embargoed, the flow goes
ShowVerifyingSheet -> OnAccountSelected -> CompleteRequestWithError, which destroys theFedCmAccountSelectionView. - The code continues to access a member of
FedCmAccountSelectionView, which leads to the use-after-free.
Why each step matters: step 1 gets the flow into the state where Chrome offers the continue button. Step 2 opens the modal dialog and starts a second FedCM interface inside it, which is what makes the deferred callback get stored. Step 3 sets the embargo, the state change the deferred path fails to notice. Step 4 closes the dialog by code, which is what runs the stored callback. Step 5 is the callback destroying the object. Step 6 is the leftover use of the destroyed object.
Step 1: start the local server
node ./server.js
This runs the file server.js with Node.js, serving the proof-of-concept page from a local web server. You do this first so that Chrome has a page to load in the next step.
Step 2: launch Chrome on the PoC page
out\Asan\chrome.exe http://localhost:8000/poc.html
This launches the ASan build of Chrome directly against the PoC page on port 8000. out\Asan\chrome.exe is the path to that special instrumented build, and http://localhost:8000/poc.html is the page on your own machine. ASan is used so that the memory mistake is reported clearly instead of passing silently.
Step 3: drive the UI
Click the continue button, then dismiss the dialog in the new popup page. That single interaction sequence covers steps 2 and 3 of the scenario above: the continue button opens the IDP login page in the modal dialog, the login page triggers a new FedCM interface, and dismissing that interface triggers the embargo. The login page then closes itself through JavaScript, which runs the stored callback and reaches the use-after-free.
The report advises creating a new web server for each test and clearing browser user data, which is highly recommended. Fresh state avoids leftovers from a previous run changing the result.
Crash details
The crash type is the browser process. The crash state is not reproduced in the report; it points to asan.log for details.
Root cause
The deferred show_accounts_dialog_callback_ is bound with weak_ptr_factory_.GetWeakPtr(), so the callback itself is safe against a destroyed view: a weak pointer lets the callback notice the object is gone. The deferred Show path does not check the FedCM API settings, so an embargo triggered while the modal dialog was open is not observed before the dialog is shown. The combination is what turns a state change into a use-after-free.
The report states that the bug was initially introduced in Chromium commit [redacted]. A commit is a recorded change to the source code; this one is where the faulty behaviour first appeared.
Impact
The crash is in the browser process, which is the privileged side of the sandbox. The sandbox is the set of restrictions that keeps web content from touching the rest of your computer; the browser process sits outside those restrictions, so a bug there is more serious than one in a tab. The report does not describe a path from the use-after-free to code execution, and it does not claim one; it documents a browser crash reachable from a website. The preconditions are a FedCM flow that reaches an IDP failure, a user who clicks continue and then dismisses the FedCM interface in the login page, and a login page that can close itself with JavaScript. No compromised renderer is needed, but user interaction is.
Fix
The report does not describe the fix that was applied.
Variants to test
These are directions for further research, not confirmed bugs.
- Other deferred callbacks in the same view: look for any stored callback that can re-enter the object and destroy it, then check whether the caller uses the object afterwards. A positive result is an ASan use-after-free report in the browser process.
- State checks skipped on deferred paths: compare the checks performed on the immediate path with those on the deferred path for the same operation. A positive result is a state change (embargo, cancellation, navigation) that the deferred path ignores.
- Weak pointers used as a false sense of safety: wherever
GetWeakPtr()is bound, check whether the code that runs the callback assumes the object still exists afterwards. A positive result is a member access after the callback returns. - Modal dialogs closable by page script: test whether a page can close a browser-hosted modal dialog while a callback is pending, and whether the resulting re-entry reaches a destroyed object.
Glossary
- API: a defined way for one piece of software to ask another to do something, like ordering from a menu instead of entering the kitchen.
- ASan (AddressSanitizer): a debugging tool in a special Chrome build that detects and reports invalid memory access.
- Callback: code saved to be run later, when a particular event happens.
- Class: a code blueprint that bundles data and the operations on that data.
- Commit: a recorded change to a source code repository.
- CVE: a public identifier assigned to a known security vulnerability.
- Embargo: in FedCM, a temporary block on FedCM activity after certain user actions, such as dismissing a prompt.
- eTLD+1: the registrable part of a domain, roughly "example.com", used to tell sites apart.
- FedCM (Federated Credential Management): the browser feature that lets a site ask Chrome to show a user's federated identity accounts without third-party iframes or redirects.
- Function: a named block of code that performs a job.
- Identity provider (IDP): the service that holds a user's account and confirms their identity to other sites.
- Iframe: a web page embedded inside another web page.
- MiraclePtr: a Chrome memory-safety mechanism that makes certain use-after-free bugs harder to exploit.
- Modal dialog: a window on top of the page that blocks interaction with the page underneath until it is dealt with.
- Node.js: a program that runs JavaScript outside the browser; here used to serve a local web page.
- Renderer: the less-privileged part of Chrome that turns a web page into what you see.
- Relying party: the website the user is trying to sign in to, which relies on an identity provider.
- Sandbox: the restrictions that keep web content from touching the rest of the computer.
- Use after free: using memory after the program has released it.
- VRP (Vulnerability Reward Program): a program that pays people for reporting security bugs.
- Weak pointer: a reference that does not keep an object alive and lets code check whether the object still exists.