Skip to content
Account takeover Write-up Advanced

Datr cookie theft and AI leads to Facebook account takeover via trusted device recovery

A vulnerability in Facebook's OAuth and Graph API allowed an attacker to steal the datr cookie, which identifies a trusted device, by chaining API requests to leak the machine_id parameter. With the stolen cookie, the attacker could impersonate the victim's trusted device and abuse the account recovery flow, bypassing passwords and two-factor authentication to take over the account.

Youssef Sammouda Follow

Published on ysamm.com

Bounty$24,000 View original

Facebook relies on long-lived device identifiers to reduce friction for returning users and to distinguish legitimate activity from suspicious logins. Over time, devices that repeatedly authenticate to the same account are treated as trusted, allowing Facebook to relax certain security requirements during sensitive…

Youssef Sammouda, on ysamm.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.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 7 min read.

Context

Facebook uses long-lived device identifiers to reduce friction for returning users and to tell legitimate activity apart from suspicious logins. Devices that repeatedly authenticate to the same account are gradually treated as trusted, and Facebook then relaxes certain security requirements during sensitive flows such as account recovery.

One of the core identifiers for this purpose is the datr cookie. It is designed to uniquely identify a browser and persists for long periods. Once a browser has accumulated enough trust, Facebook treats possession of this cookie as strong evidence that the device belongs to the legitimate account owner.

The report describes a vulnerability that lets an attacker steal the datr cookie from a victim's browsing session and reuse it to impersonate a trusted device. By abusing Facebook's trusted device account recovery flow, the attacker can bypass passwords and two-factor authentication and fully take over the victim's account.

Setup

The researcher needed:

  1. A Facebook Page.
  2. A Facebook App with Facebook Login enabled, referred to as ATTACKER_APP_ID, plus its ATTACKER_APP_SECRET and an exact redirect URI.
  3. A page token for the attacker-controlled Page (ATTACKER_PAGE_TOKEN) and the Page ID (ATTACKER_PAGE_ID).
  4. A victim who visits an attacker-controlled website while the datr cookie is set.

The attack relies on the datr cookie being sent on cross-site requests, which the report attributes to SameSite=None.

Finding it

The vulnerability originates from the interaction between Facebook's OAuth implementation and the Graph API. By creating a legitimate Facebook application and enabling Facebook Login, an attacker can generate OAuth authorization codes and access tokens using documented flows. Under specific conditions, exchanging an OAuth authorization code while a datr cookie is present causes Facebook to include a parameter named machine_id in the response. That machine_id value directly corresponds to the browser's datr cookie.

The response is not directly readable cross-origin, but Facebook's batch API allows chaining multiple Graph API requests and referencing fields from earlier responses. By abusing this behaviour, the attacker can propagate the machine_id value into attacker-controlled output, such as a Facebook Page post. A sensitive device identifier that should remain confidential is then exposed to the attacker.

Exploitation

Preparation

  1. Create a Facebook Page.
  2. Create a Facebook App noted ATTACKER_APP_ID.
  3. Allow Facebook Login for the app.
  4. Visit the link below and retrieve an access token noted ACCESS_TOKEN:
HTML
https://www.facebook.com/dialog/oauth?
&app_id=ATTACKED_APP_ID
&redirect_uri=EXACT_REDIRECT_URI
&response_type=token
  1. Visit the link below and it should return an access token noted LONG_LIVED_ACCESS_TOKEN:
HTML
https://graph.facebook.com/oauth/access_token?
&client_id=ATTACKER_APP_ID
&client_secret=ATTACKER_APP_SECRET
&redirect_uri=EXACT_REDIRECT_URI
&method=post
&fb_exchange_token=ACCESS_TOKEN
  1. Visit the link below and it should return an OAuth code noted ATTACKER_CODE:
HTML
https://graph.facebook.com/oauth/client_code?
&client_id=ATTACKER_APP_ID
&client_secret=ATTACKER_APP_SECRET
&redirect_uri=EXACT_REDIRECT_URI
&method=post
&access_token=LONG_LIVED_ACCESS_TOKEN

These steps produce the long-lived token and then the OAuth code that the attack itself consumes.

Step 1: exchange the code to obtain machine_id

The ATTACKER_CODE from preparation is used in this request:

HTML
https://graph.facebook.com/oauth/access_token?
&client_id=ATTACKER_APP_ID
&redirect_uri=REDIRECT_URI
&method=get
&code=ATTACKER_CODE

Navigating to this URL while logged in or logged out of Facebook, assuming the datr cookie is set, returns the datr cookie in the response inside a parameter named machine_id.

The report notes that ATTACKER_CODE can be used only once, so step 6 of the preparation has to be redone every time.

Step 2: leak the response through the batch API

To leak the response of the previous request, the researcher uses BATCH requests, takes the machine_id from the response and passes it to another edge, for example one that makes a Page post:

HTML
https://graph.facebook.com/?
&batch=
[
  {
    "method": "post",
    "omit_response_on_success": 0,
    "relative_url": "/oauth/access_token?client_id=ATTACKER_APP_ID%26redirect_uri=EXACT_REDIRECT_URI",
    "body": "code=ATTACKER_CODE",
    "name": "test"
  },
  {
    "method": "post",
    "relative_url": "ATTACKER_PAGE_ID/posts",
    "body": "message={result=test:$.machine_id}"
  }
]
&access_token=ATTACKER_PAGE_TOKEN
&method=post

The first batch entry performs the code exchange and is named test. The second entry posts to the attacker's Page and uses {result=test:$.machine_id} to pull the machine_id field out of the first entry's response into the post message. The report notes that creating a Page post was used to log the victim's datr cookie, but many other ways exist, such as querying an external website through a picture upload via URL. The Page post was simply the simplest proof of concept.

Step 3: deliver the request to the victim

To steal the datr cookie, the attacker embeds the crafted Graph API batch URL inside an invisible iframe hosted on any website. When a victim visits the page, the browser automatically fetches the URL with the datr cookie included in the request (SameSite=None). The request returns the datr cookie value inside machine_id, and the batch request exfiltrates it to the attacker. No user interaction is required beyond visiting the page.

Step 4: impersonate the trusted device

Once the attacker has the stolen datr value, they inject it into a fresh browser session and navigate to facebook.com. From Facebook's perspective, the attacker is now using a trusted device associated with the victim.

The attacker then initiates the account recovery flow at:

Text
https://www.facebook.com/recover/account/

and supplies the victim's user ID. When prompted to confirm account ownership, the attacker selects the option indicating that they no longer have access to the email address or phone number. Because the request originates from a trusted device, Facebook proceeds with identity verification instead of blocking the recovery attempt.

Normally, recovery through that page requires verification through an email address or phone number associated with the account. The alternative path, offered when the request comes from a trusted device, is for users who claim they no longer have access to those contact methods: recovery through identity verification by uploading a document. That flow is largely automated and is intended to help legitimate users regain access when traditional recovery options are unavailable. Its security relies entirely on the assumption that a trusted device cannot be easily impersonated.

Step 5: pass identity verification

The identity verification step requires uploading a document that matches the victim's personal details. The information required typically includes the victim's full name, date of birth and country of origin. In practice this information is often obtainable from public Facebook profile data, historical posts, the "About" section, or external data sources that have aggregated leaked personal information.

Using AI-powered document generation services, an attacker can create a synthetic but plausible identity document, such as a visa. Testing confirmed that such documents are accepted by the automated verification system. Once the document is approved, Facebook allows the attacker to add a new email address to the account. This happens within minutes and does not require extended manual review.

Root cause

The mistake is the interaction between two features. The OAuth code exchange returns the browser's datr value as machine_id in a response that the attacker can trigger cross-site, and the batch API lets one request reference fields from an earlier response, so the value can be moved into attacker-controlled output such as a Page post. The datr cookie is sent on the cross-site request because it is set with SameSite=None, so the attacker does not need any interaction beyond the victim loading a page with the invisible iframe.

The trusted device recovery flow then treats possession of datr as proof that the device belongs to the account owner, so a stolen cookie is enough to unlock recovery. The identity verification step, which is meant to be the remaining barrier, is automated and accepts synthetic documents built from publicly available personal details.

Impact

This vulnerability enables full Facebook account takeover by combining cookie theft with trusted device recovery. It bypasses passwords and two-factor authentication, and it relies on identity verification mechanisms that assume possession of a trusted device implies legitimacy. Once the datr cookie is compromised, the attacker effectively controls the account recovery process.

The attack requires the victim to visit an attacker-controlled page while the datr cookie is set, and the identity verification step requires the victim's full name, date of birth and country of origin, which the report says are often obtainable from public sources.

Fix

Facebook fixed the bug on 27 January 2025. The report does not describe the change that was made.

Variants to test

  1. Look for OAuth or token endpoints that echo device or session identifiers (cookies, device IDs, client hints) in responses when a cookie is present. A positive result is a response field whose value matches a cookie the browser sent.
  2. Test whether a batch or chained-request mechanism can reference fields from an earlier response into attacker-readable output, such as a post, a profile field or an outbound fetch. A positive result is the earlier value appearing in output the attacker can read.
  3. Check whether long-lived device cookies are set with SameSite=None and are therefore sent on cross-site requests. A positive result is the cookie arriving on a request initiated from a different origin.
  4. Probe account recovery flows for alternative paths offered when a request comes from a recognised device. A positive result is a recovery path that skips email or phone verification because of device state alone.
  5. Test automated identity document verification with synthetic but plausible documents built from public profile data. A positive result is acceptance of a document that was not issued to the account owner.

Timeline

Date Event
18 Dec 2024 Bug reported
19 Dec 2024 Bug acknowledged by Facebook
15 Jan 2025 $24,000 bounty awarded by Meta
27 Jan 2025 Bug fixed by Facebook

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 15 min read.

What happened, in plain words

Facebook tries to make logging in easy for people who come back on the same computer or phone. To do that, it gives each browser a long-lived label, a small piece of data called a cookie, and it remembers which browsers have logged in to an account many times. Those browsers become "trusted devices". When a request comes from a trusted device, Facebook relaxes some of its security checks, including during account recovery, the process of getting back into an account when you have lost access.

The most important of these labels is the datr cookie. It is meant to identify one browser uniquely and it stays around for a long time. Once a browser has built up enough trust, Facebook treats simply having this cookie as strong proof that the device belongs to the real account owner.

This report describes a bug that lets an attacker steal the datr cookie from a victim's browser and then reuse it to pretend to be that trusted device. By abusing Facebook's trusted device account recovery flow, the attacker can get past the password and two-factor authentication and take over the victim's account completely.

A quick note on the words used throughout. A cookie is a small piece of text that a website asks your browser to store and to send back with later requests to that site. A token is similar: a string that proves something, like a temporary pass. An API (Application Programming Interface) is a way for programs to talk to a service, like a service counter where you hand over a request form and get back an answer. OAuth is a standard way for one app to get permission to act on your behalf on another service, without you handing over your password. The Graph API is Facebook's main API for reading and writing data such as posts and pages. Two-factor authentication (2FA) means logging in with your password plus a second proof, such as a code sent to your phone.

Context

Facebook uses long-lived device identifiers to reduce friction for returning users and to tell legitimate activity apart from suspicious logins. Devices that repeatedly authenticate to the same account are gradually treated as trusted, and Facebook then relaxes certain security requirements during sensitive flows such as account recovery.

One of the core identifiers for this purpose is the datr cookie. It is designed to uniquely identify a browser and persists for long periods. Once a browser has accumulated enough trust, Facebook treats possession of this cookie as strong evidence that the device belongs to the legitimate account owner.

The report describes a vulnerability that lets an attacker steal the datr cookie from a victim's browsing session and reuse it to impersonate a trusted device. By abusing Facebook's trusted device account recovery flow, the attacker can bypass passwords and two-factor authentication and fully take over the victim's account.

In everyday terms: imagine a bank that gives regular customers a loyalty card. After enough visits, the staff stop asking for ID because the card is on file. If someone can copy that loyalty card, they can walk in and be treated as the customer. Here the loyalty card is the datr cookie, and the bug is a way to copy it without touching the victim's computer.

Setup

The researcher needed:

  1. A Facebook Page.
  2. A Facebook App with Facebook Login enabled, referred to as ATTACKER_APP_ID, plus its ATTACKER_APP_SECRET and an exact redirect URI.
  3. A page token for the attacker-controlled Page (ATTACKER_PAGE_TOKEN) and the Page ID (ATTACKER_PAGE_ID).
  4. A victim who visits an attacker-controlled website while the datr cookie is set.

The attack relies on the datr cookie being sent on cross-site requests, which the report attributes to SameSite=None.

A few of those terms need unpacking. A Facebook Page is the public profile that a business, brand or public figure uses on Facebook. A Facebook App is a piece of software registered with Facebook so it can use Facebook Login and the Graph API; registering gives it an ID and a secret, like a username and password for the app itself. A redirect URI is the address Facebook sends the user back to after login, and it must match exactly what was registered. A page token is a credential that lets a program post to a specific Page. SameSite is a cookie setting that controls whether the browser sends the cookie when a request is started from a different website; SameSite=None means "send it even then".

Finding it

The vulnerability originates from the interaction between Facebook's OAuth implementation and the Graph API. By creating a legitimate Facebook application and enabling Facebook Login, an attacker can generate OAuth authorization codes and access tokens using documented flows. Under specific conditions, exchanging an OAuth authorization code while a datr cookie is present causes Facebook to include a parameter named machine_id in the response. That machine_id value directly corresponds to the browser's datr cookie.

The response is not directly readable cross-origin, but Facebook's batch API allows chaining multiple Graph API requests and referencing fields from earlier responses. By abusing this behaviour, the attacker can propagate the machine_id value into attacker-controlled output, such as a Facebook Page post. A sensitive device identifier that should remain confidential is then exposed to the attacker.

Two more ideas to explain. Cross-origin means a request made from one website to another website; browsers deliberately stop the first site from reading the answer, as a safety rule. The batch API is a feature that lets you send several Graph API requests in one go, and later requests in the batch can use values returned by earlier ones. The bug is that this chaining lets the secret value be copied into something the attacker can read, such as a post on their own Page.

Exploitation

Preparation

  1. Create a Facebook Page.
  2. Create a Facebook App noted ATTACKER_APP_ID.
  3. Allow Facebook Login for the app.
  4. Visit the link below and retrieve an access token noted ACCESS_TOKEN:
HTML
https://www.facebook.com/dialog/oauth?
&app_id=ATTACKED_APP_ID
&redirect_uri=EXACT_REDIRECT_URI
&response_type=token

This is the standard Facebook Login dialog. app_id says which app is asking, redirect_uri says where to send the user afterwards, and response_type=token asks Facebook to hand back an access token. An access token is a string that proves the app has permission to act; think of it as a temporary visitor badge. The result is stored as ACCESS_TOKEN.

  1. Visit the link below and it should return an access token noted LONG_LIVED_ACCESS_TOKEN:
HTML
https://graph.facebook.com/oauth/access_token?
&client_id=ATTACKER_APP_ID
&client_secret=ATTACKER_APP_SECRET
&redirect_uri=EXACT_REDIRECT_URI
&method=post
&fb_exchange_token=ACCESS_TOKEN

This call swaps the short-lived token for a longer-lived one. client_id and client_secret identify the app, fb_exchange_token carries the token from the previous step, and method=post says to use the POST method, which is how forms usually submit data. The result is stored as LONG_LIVED_ACCESS_TOKEN.

  1. Visit the link below and it should return an OAuth code noted ATTACKER_CODE:
HTML
https://graph.facebook.com/oauth/client_code?
&client_id=ATTACKER_APP_ID
&client_secret=ATTACKER_APP_SECRET
&redirect_uri=EXACT_REDIRECT_URI
&method=post
&access_token=LONG_LIVED_ACCESS_TOKEN

This asks Facebook for an OAuth code, a one-time string that can later be exchanged for a token. The result is stored as ATTACKER_CODE. These steps produce the long-lived token and then the OAuth code that the attack itself consumes.

Step 1: exchange the code to obtain machine_id

The ATTACKER_CODE from preparation is used in this request:

HTML
https://graph.facebook.com/oauth/access_token?
&client_id=ATTACKER_APP_ID
&redirect_uri=REDIRECT_URI
&method=get
&code=ATTACKER_CODE

This is the code exchange: the one-time code is traded for a token. method=get means the request is made with the GET method, the same method a browser uses when you type an address into the address bar. Navigating to this URL while logged in or logged out of Facebook, assuming the datr cookie is set, returns the datr cookie in the response inside a parameter named machine_id. In other words, the answer contains the browser's secret label, which it should never do.

The report notes that ATTACKER_CODE can be used only once, so step 6 of the preparation has to be redone every time. That is why the attacker keeps a way to mint a fresh code.

Step 2: leak the response through the batch API

To leak the response of the previous request, the researcher uses BATCH requests, takes the machine_id from the response and passes it to another edge, for example one that makes a Page post:

HTML
https://graph.facebook.com/?
&batch=
[
  {
    "method": "post",
    "omit_response_on_success": 0,
    "relative_url": "/oauth/access_token?client_id=ATTACKER_APP_ID%26redirect_uri=EXACT_REDIRECT_URI",
    "body": "code=ATTACKER_CODE",
    "name": "test"
  },
  {
    "method": "post",
    "relative_url": "ATTACKER_PAGE_ID/posts",
    "body": "message={result=test:$.machine_id}"
  }
]
&access_token=ATTACKER_PAGE_TOKEN
&method=post

The first batch entry performs the code exchange and is named test. The second entry posts to the attacker's Page and uses {result=test:$.machine_id} to pull the machine_id field out of the first entry's response into the post message. The report notes that creating a Page post was used to log the victim's datr cookie, but many other ways exist, such as querying an external website through a picture upload via URL. The Page post was simply the simplest proof of concept.

Line by line: the whole thing is one request to the Graph API. The batch parameter holds a list of sub-requests. The first sub-request is a POST to /oauth/access_token, with the code in its body, and it is given the name test so later entries can refer to it. omit_response_on_success set to 0 means the response should be included even when the call succeeds. The second sub-request is a POST to the attacker's Page posts endpoint, and its message contains a placeholder that the batch system fills in with the machine_id from the first response. access_token=ATTACKER_PAGE_TOKEN authorises the whole batch. The result is that the secret value ends up written into a post the attacker can read.

Step 3: deliver the request to the victim

To steal the datr cookie, the attacker embeds the crafted Graph API batch URL inside an invisible iframe hosted on any website. When a victim visits the page, the browser automatically fetches the URL with the datr cookie included in the request (SameSite=None). The request returns the datr cookie value inside machine_id, and the batch request exfiltrates it to the attacker. No user interaction is required beyond visiting the page.

An iframe is a frame inside a web page that loads another page or address. Making it invisible means the visitor never notices it. Exfiltration means getting stolen data out to a place the attacker controls. Because the cookie is marked SameSite=None, the browser sends it along even though the request is started from a different site, which is what makes the theft possible.

Step 4: impersonate the trusted device

Once the attacker has the stolen datr value, they inject it into a fresh browser session and navigate to facebook.com. From Facebook's perspective, the attacker is now using a trusted device associated with the victim.

The attacker then initiates the account recovery flow at:

Text
https://www.facebook.com/recover/account/

and supplies the victim's user ID. When prompted to confirm account ownership, the attacker selects the option indicating that they no longer have access to the email address or phone number. Because the request originates from a trusted device, Facebook proceeds with identity verification instead of blocking the recovery attempt.

Normally, recovery through that page requires verification through an email address or phone number associated with the account. The alternative path, offered when the request comes from a trusted device, is for users who claim they no longer have access to those contact methods: recovery through identity verification by uploading a document. That flow is largely automated and is intended to help legitimate users regain access when traditional recovery options are unavailable. Its security relies entirely on the assumption that a trusted device cannot be easily impersonated.

A user ID is the number or string that identifies a particular Facebook account. Identity verification here means proving who you are by uploading a document such as an ID card or visa. The whole recovery path rests on one assumption: that nobody else can have your device's cookie. The bug breaks that assumption.

Step 5: pass identity verification

The identity verification step requires uploading a document that matches the victim's personal details. The information required typically includes the victim's full name, date of birth and country of origin. In practice this information is often obtainable from public Facebook profile data, historical posts, the "About" section, or external data sources that have aggregated leaked personal information.

Using AI-powered document generation services, an attacker can create a synthetic but plausible identity document, such as a visa. Testing confirmed that such documents are accepted by the automated verification system. Once the document is approved, Facebook allows the attacker to add a new email address to the account. This happens within minutes and does not require extended manual review.

Adding a new email address is the final step the report describes: once the document is approved, Facebook allows the attacker to add a new email address to the account. The report says the automated check accepted the synthetic document, so the last barrier fell as well.

Root cause

The mistake is the interaction between two features. The OAuth code exchange returns the browser's datr value as machine_id in a response that the attacker can trigger cross-site, and the batch API lets one request reference fields from an earlier response, so the value can be moved into attacker-controlled output such as a Page post. The datr cookie is sent on the cross-site request because it is set with SameSite=None, so the attacker does not need any interaction beyond the victim loading a page with the invisible iframe.

The trusted device recovery flow then treats possession of datr as proof that the device belongs to the account owner, so a stolen cookie is enough to unlock recovery. The identity verification step, which is meant to be the remaining barrier, is automated and accepts synthetic documents built from publicly available personal details.

In short, three weaknesses line up: a secret is echoed back in a response, a chaining feature lets that response be copied somewhere readable, and the recovery flow trusts the secret too much.

Impact

This vulnerability enables full Facebook account takeover by combining cookie theft with trusted device recovery. It bypasses passwords and two-factor authentication, and it relies on identity verification mechanisms that assume possession of a trusted device implies legitimacy. Once the datr cookie is compromised, the attacker effectively controls the account recovery process.

The attack requires the victim to visit an attacker-controlled page while the datr cookie is set, and the identity verification step requires the victim's full name, date of birth and country of origin, which the report says are often obtainable from public sources.

Account takeover means an attacker ends up in full control of someone else's account. Here the victim's password and 2FA never come into play, because the attacker never logs in the normal way: they walk in through the recovery door.

Fix

Facebook fixed the bug on 27 January 2025. The report does not describe the change that was made.

Variants to test

These are ideas for checking whether similar bugs exist elsewhere. Each one is a small experiment with a clear sign of success.

  1. Look for OAuth or token endpoints that echo device or session identifiers (cookies, device IDs, client hints) in responses when a cookie is present. A positive result is a response field whose value matches a cookie the browser sent.
  2. Test whether a batch or chained-request mechanism can reference fields from an earlier response into attacker-readable output, such as a post, a profile field or an outbound fetch. A positive result is the earlier value appearing in output the attacker can read.
  3. Check whether long-lived device cookies are set with SameSite=None and are therefore sent on cross-site requests. A positive result is the cookie arriving on a request initiated from a different origin.
  4. Probe account recovery flows for alternative paths offered when a request comes from a recognised device. A positive result is a recovery path that skips email or phone verification because of device state alone.
  5. Test automated identity document verification with synthetic but plausible documents built from public profile data. A positive result is acceptance of a document that was not issued to the account owner.

Timeline

Date Event
18 Dec 2024 Bug reported
19 Dec 2024 Bug acknowledged by Facebook
15 Jan 2025 $24,000 bounty awarded by Meta
27 Jan 2025 Bug fixed by Facebook

A bug bounty is a programme where companies pay researchers for reporting security bugs responsibly. Meta awarded $24,000 for this one.

Glossary

  • Access token: a string that proves an app or user has permission to perform actions on a service, like a temporary pass.
  • Account recovery: the process of getting back into an account when you have lost your password or access to your email or phone.
  • Account takeover: a situation where an attacker gains full control of someone else's account.
  • API: a defined way for programs to talk to a service, like a service counter that takes requests and returns answers.
  • Batch API: a feature that lets several API requests be sent together, with later requests able to use values from earlier ones.
  • Bug bounty: a programme that pays researchers for responsibly reporting security bugs.
  • Cookie: a small piece of text a website asks your browser to store and send back with later requests to that site.
  • Cross-origin: a request made from one website to a different website; browsers normally stop the first site from reading the answer.
  • datr cookie: Facebook's long-lived cookie that identifies a browser and is used to recognise trusted devices.
  • Exfiltration: getting stolen data out to a place the attacker controls.
  • Facebook App: software registered with Facebook so it can use Facebook Login and the Graph API, identified by an app ID and secret.
  • Facebook Login: Facebook's login system that lets apps ask a user for permission and receive tokens.
  • Facebook Page: the public profile a business, brand or public figure uses on Facebook.
  • Graph API: Facebook's main API for reading and writing data such as posts and pages.
  • Identity verification: proving who you are by uploading a document such as an ID card or visa.
  • Iframe: a frame inside a web page that loads another page or address; it can be made invisible.
  • machine_id: the response parameter that, in this bug, contained the browser's datr cookie value.
  • OAuth: a standard way for one app to get permission to act on your behalf on another service without you sharing your password.
  • OAuth code: a one-time string that can be exchanged for an access token.
  • Page token: a credential that lets a program post to a specific Facebook Page.
  • Redirect URI: the address a service sends the user back to after login; it must match what was registered.
  • SameSite=None: a cookie setting that tells the browser to send the cookie even on requests started from a different website.
  • Token: a string that proves something, such as permission or identity, like a temporary pass.
  • Trusted device: a browser or device that has logged in enough times that the service relaxes some security checks for it.
  • Two-factor authentication (2FA): logging in with your password plus a second proof, such as a code sent to your phone.
  • User ID: the number or string that identifies a particular account.

More by Youssef Sammouda

View all

4 more disclosed reports, best first.

More from Meta

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.