Skip to content
Open redirect Write-up Beginner

Link Injection Manipulation at admin.google.com

A link injection flaw on admin.google.com allowed an attacker to craft a URL containing a malicious domain that was rendered as a clickable link and text on the page. An attacker could use this to trick users into visiting a fake site or downloading a malicious file.

ak1t4 Follow

Published on medium.com

I’ve found a link injection in google with href attribute who can compromise a user by a fake link or download evil file.

Ak1T4, on medium.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 reflected part of the URL path into the page as a link without validating or encoding it, allowing an attacker-controlled domain to appear as a trusted link.

Impact

An attacker could use the crafted links to spread malware, redirect users to malicious sites, or force downloads, but Google stated this is not a security vulnerability and considered it a social-engineering vector.

What the attacker needed

Victim clicks a crafted link; attacker controls a domain

The fix

The issue was not fixed according to the report; it should be fixed by validating or encoding URL path segments before rendering them as links.

How it was found

  1. Buy a domain that looks similar to a trusted one.
  2. Craft a URL for admin.google.com that includes the fake domain in the path and a text injection in the account chooser parameter.
  3. Send the crafted URL to victims; when they open it, the page shows the fake domain as a clickable link and the injected text.
  4. Trick the user into clicking the link, which redirects them to the attacker's site or forces a file download.

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.

This report is about a website that took part of the web address and showed it on the page as a clickable link without checking it. An attacker could put their own website address in the link, so when someone clicked it they would go to the attacker's site or download a bad file. The company said this was not a security bug because it relies on tricking people.

What is Open redirect?

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.

More by ak1t4

View all

8 more disclosed reports, best first.

More from Google

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Open redirect

The lesson behind this report.

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.