Possibility to inject a malicious JavaScript code in any file on tags.tiqcdn.com results in a stored XSS on any page in most Uber domains
Tealium's tag creation did not verify that the user creating a tag was authorised for the account they were creating it under, so an attacker could inject arbitrary content into the utag.js tag. Because Uber loaded that tag on many of its domains, this could lead to text, content and HTML injection in the DOM and potentially cross-site scripting.
- Paid in 7 days
- Disclosed after 15 months
Summary by the program
When creating new tags on Tealium, the application did not check that the user creating the tag had authorized as the same account they were creating a tag for. It was possible for an attacker to inject arbitrary content into a web page using the utag.js tag. Depending on how the victim implemented these tags, this could potentially allow for text injection, content injection, and HTML injection into the DOM, and even cross-site scripting vulnerabilities. Although Uber does not own Tealium, we pay our bounties based on impact. Since we had widely implemented this on many different uber.com domains, we awarded a bounty in line with this bug’s impact. We also communicated with the Tealium team to patch this vulnerability for all other Tealium users.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a missing authorisation check when creating a tag, allowing a user to add tags to an account they did not control.
Impact
Depending on how a site implemented the tags, an attacker could inject text, content and HTML into the DOM and potentially achieve cross-site scripting on any page using the tag, including many Uber domains.
What the attacker needed
A Tealium account; victim site loads utag.js
The fix
The text says Tealium was contacted and patched the vulnerability for all its 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 report has not been written yet. The Original tab links to the source.
A tag management service lets websites add small pieces of JavaScript without editing their own code. The service failed to check that a person adding a tag actually owned the account they were adding it to, so anyone could add their own code to someone else's tag. If a site loads that tag on its pages, the attacker's code runs there too, which is cross-site scripting.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.