Airbnb – Web to App Phone Notification IDOR to view Everyone’s Airbnb Messages
The Airbnb API endpoints for sending SMS and push notifications accepted a user-supplied object_id without proper authorisation checks, allowing an attacker to retrieve any private message on the platform by enumerating numeric IDs. The push notification endpoint had no throttling, making it a practical attack vector.
Published on buer.haus
Airbnb recently created a new feature called Experiences which allows you to book things to do rather than places to stay. With the new code changes that came along with Experiences, we discovered a page that allowed you to send yourself a text message with a link to download the Airbnb app.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the API endpoint failed to verify that the authenticated user was authorised to access the message referenced by the object_id parameter.
Impact
An attacker could read every private message on Airbnb by enumerating object IDs via the push notification endpoint, which had no throttling; the SMS endpoint was also vulnerable but limited by throttling and message truncation.
What the attacker needed
A free Airbnb account; a verified phone number; the Airbnb app installed and logged in (for push)
The fix
The vulnerability was fixed after being reported.
How it was found
- Discover the air_sms_notifications and air_push_notifications API endpoints by analysing JavaScript files.
- Meet the requirements: have a verified phone number and, for push, the Airbnb app installed and logged in.
- Send a POST request with an invalid template to retrieve the list of valid templates.
- For the 'message' template, supply a random numeric object_id and observe the notification content.
- Enumerate object_id values sequentially to access private messages of other users.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
An IDOR (Insecure Direct Object Reference) is a bug where a website lets you access data by simply changing an identifier, like a number, without checking if you are allowed to see it. Here, the Airbnb app's notification system used a message ID to fetch content, but did not verify that the person requesting the notification actually owned that message. By trying different numbers, an attacker could read anyone's private messages.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.