Weird bug to steal users credentials
A parameter on a game site loaded an arbitrary external URL inside the page, so an attacker could point it at their own hosted page. The author used this to embed a fake login page in an iframe, which could trick users into entering credentials.
Content spoofing involves manipulating the content of a website to deceive users or trick them into thinking they are interacting with a legitimate site when, in fact, they are not
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 'url' parameter accepted any external address without an allowlist, letting the page embed attacker-controlled content.
Impact
An attacker could display a convincing fake login page inside the trusted site and may trick users into handing over their credentials.
What the attacker needed
Victim visits a crafted link; attacker hosts a page
How it was found
- Find the detail page with a url parameter that loads content from another site.
- Try internal addresses to test for SSRF and observe the connection is refused.
- Supply an external site in the url parameter and see it load.
- Host a fake login page locally and pass its address in the url parameter.
- The site renders the attacker's login page, which can be used to phish 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.
Some websites take a web address from the URL and show that page inside their own page. If they do not check where that address points, an attacker can supply their own address instead. Here the attacker hosted a fake login form and had the site display it, so a victim might type their username and password into the attacker's page.
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.