Google Assistant Bug Worth $3133.7 !
A reflected cross-site scripting vulnerability existed in the Google Assistant web console because user-supplied input in fields like app name, link, and description was not properly sanitised. An attacker could craft a link that, when clicked, would execute arbitrary JavaScript in the victim's browser.
Published on medium.com
You may well be aware of Google Assistant . This is a writeup of reflected XSS which I found in console.actions.google.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.
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 application did not properly sanitise or encode user-supplied input in fields such as app name, link, and description, allowing HTML and JavaScript to be injected.
Impact
An attacker could execute arbitrary JavaScript in a victim's browser when the victim clicks a crafted link, potentially leading to data theft or other malicious actions.
What the attacker needed
Victim clicks a crafted link
How it was found
- Open the Google Assistant web console and start creating a test app.
- Enter a crafted payload into fields such as app name, link, or description.
- Save the input and obtain a link that includes the payload.
- Click the link to trigger the XSS.
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.
Cross-site scripting (XSS) is a flaw where a website lets an attacker sneak in their own JavaScript code, which then runs in another user's browser. Here, the Google Assistant console failed to clean up text that users typed into fields like app name or description, so a specially crafted link could make the browser run harmful code. The attacker just had to trick someone into clicking that link.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.