Skip to content
Info disclosure Disclosed report Beginner

Using GET method for account login with CSRF token leaking to external sites Via Referer.

The login form submitted credentials and the CSRF token in the URL query string, and that URL leaked to third-party sites through the Referer header. An attacker who could read those Referer logs might obtain a user's CSRF token, though the text does not show a full attack.

bugs3ra Follow

Originally disclosed on HackerOne

  • Triaged in 3 days
  • Fixed in 7 days
  • Paid in 7 days
  • Disclosed after 9 months

Summary by the researcher

CSRF token leaking to external sites via Referer

The report

HI

At the time of login, the values are present in URL along with the CSRF token. Also this URL is leaking to external sites in HTTP REFRERER.

Here are some of those sites: dxzc9stvaxhhy.cloudfront.net bam.nr-data.net ssl.google-analytics.com usage.trackjs.com api.mixpanel.com

Attachments

POC.JPG
POC.JPG From the original on HackerOne

The original report as published on HackerOne, by bugs3ra. 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 login form used the GET method, placing sensitive values in the URL, and the page loaded third-party resources that received the full URL in the Referer header.

Impact

The CSRF token could be exposed to third-party sites through the Referer header, which may weaken CSRF protections, but the report does not demonstrate a complete exploit.

What the attacker needed

Victim logs in; third-party sites receive Referer

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.

When you log in, your browser sometimes sends the address of the previous page to other websites you load. Here that address contained the login details and a secret anti-forgery code called a CSRF token. If someone can see that code, they might be able to trick you into performing actions you did not intend.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by bugs3ra

View all

15 more disclosed reports, best first.

More from Zaption

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.