Amazon Quickly Fixed A Vulnerability In Ring Android App That Could Expose Users’ Camera Recordings
The Ring Android app had an exported activity that loaded web content from any server if the URI contained a specific string, and this WebView could access a JavaScript bridge to obtain an authorization token. An attacker could trick a user into installing a malicious app that triggered this activity, leading to theft of personal data, geolocation, and camera recordings.
Published on checkmarx.com
Researchers at Checkmarx found that the Ring Android app could have allowed a malicious application installed on the user’s phone to expose their personal data, geolocation, and camera recordings.
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 exported DeepLinkActivity accepted web content from any server if the URI contained a specific string, and the WebView exposed a JavaScript bridge that granted access to an authorization token.
Impact
An attacker could obtain the victim's personal data (name, email, phone number) and device data (geolocation, address, recordings), but Amazon stated that no customer information was exposed and that exploitation would be extremely difficult.
What the attacker needed
Victim installs a malicious app; attacker controls a web page; web page served from ring.com or a2z.com subdomain; XSS on a2z.com subdomain
The fix
Amazon released a fix for supported Android customers in version 3.51.0 on May 27, 2022.
How it was found
- Install a malicious app on the victim's phone.
- The malicious app triggers an Intent to the exported DeepLinkActivity with a URI containing the required string.
- The activity loads an attacker-controlled web page.
- The web page accesses the JavaScript interface to obtain the authorization token.
- The token is exfiltrated to an attacker-controlled server.
- The attacker uses the token and hardware ID to obtain an rs_session cookie and calls Ring APIs to extract data.
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 Android app can have parts that other apps on the same phone can open. Here, one such part loaded web pages from any server and let those pages use a secret token. A malicious app could open that part with a crafted link, steal the token, and then access the victim's Ring account data and camera recordings.
What is Mobile?
Flaws specific to Android and iOS apps: exported components, deep links, WebViews and data left on the device.