Skip to content
XSS Disclosed report Beginner

Content spoofing

The login page reflected an error message supplied in the URL query string, so an attacker could craft a link that displayed arbitrary text on the legitimate site. This could be used for phishing by showing a message asking the victim to send account details to an attacker-controlled address.

djadmin Follow

Originally disclosed on HackerOne

  • Disclosed after 48 hours

Hi,

I'm Dheeraj and I have found a content spoofing vulnerability in your system.

Description :

Using the following link : https://secure.phabricator.com/auth/login/facebook:facebook.com/?error=<Spoofed Content> Attacker can perform phishing attack.

Attack Example :

https://secure.phabricator.com/auth/login/facebook:facebook.com/?error=We%20are%20having%20trouble%20accessing%20your%20account,%20kindly%20send%20your%20account%20details%20here%[email protected].%20Sorry%20for%20the%20inconvenience%20caused.

Regards Dheeraj @dheerajhere

Attachments

Screen_Shot_2014-09-09_at_6.18.16_pm.png
Screen_Shot_2014-09-09_at_6.18.16_pm.png From the original on HackerOne

The original report as published on HackerOne, by djadmin. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 the application reflected the 'error' query parameter into the page without validating or encoding it, allowing arbitrary content to be displayed.

Impact

An attacker could use the legitimate site to display a convincing phishing message, potentially tricking users into sending account details to the attacker.

What the attacker needed

Victim clicks a crafted link

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 website sometimes shows messages based on what is in the web address. Here, the login page took text from the address and displayed it as if it were the site's own error message. An attacker could send a link that makes the real site show a fake message, which is useful for tricking people into giving away their details.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by djadmin

View all

1 more disclosed report, best first.

More from Phabricator

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.