Skip to content
CSRF Disclosed report Intermediate

(HackerOne SSO-SAML) Login CSRF, Open Redirect, and Self-XSS Possible Exploitation

whhackersbr Follow

Originally disclosed on HackerOne

  • Fixed in 25 days
  • Disclosed after 34 days

###Summary:###

Login CSRF, Open Redirect, and Self-XSS Possible Exploitation through HackerOne SSO-SAML

###PoC###

  • Go to █████;

Use a browser window with clear cookies.

Source-code:

<html>
<body>
	<iframe id="login_csrf_frame" src="████████" style="width:0;height:0;border:0;border:none;"></iframe>
	<script>
		setTimeout(function(){document.location.href = "https://hackerone.com/users/saml/sign_in?email=████&remember_me=true";}, 5000);
	</script>
</body>
</html>

###Impact:###

  1. Information Leak

An attacker can use Logout CSRF + Login CSRF against a victim to steal all information sent by the victim to the HackerOne website while using the malicious session, including confidential bug reports.

  1. Open Redirect

Since the SSO-SAML l​ogin flow can be started automatically (GET https://hackerone.com/users/saml/sign_in?email=███) by an attacker and it redirects to external URLs, the attacker can redirect the user to anywhere.

  1. Self-XSS Possible Exploitation​

Some stored Self-XSS's (internal areas accessed just by the victim, etc.) can be exploited through Login CSRF.

Malicious page -> HackerOne Login CSRF -> Self-XSS triggers -> Logout -> Wait user actions

If the user interacts with the page (sign in with his account, etc.), the attacker can exploit the Self-XSS.

P.S.:

An attacker can add extra dots to the SAML Email Domain in the config dialog. I didn't test all the implications, but registering a very similar domain could be a bad thing, like hackerone..com, hackerone.com., .hackerone.com or even gmail..com because of typing mistakes ([email protected] would redirect the victim to the attacker external login flow).

The original report as published on HackerOne, by whhackersbr. 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.

What is known

A low-severity CSRF bug. HackerOne made it public on 27 October 2016.

About CSRF

Another site makes a signed-in user's browser perform an action they did not intend.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is CSRF?

Another site makes a signed-in user's browser perform an action they did not intend.

More by whhackersbr

View all

8 more disclosed reports, best first.

More from HackerOne

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site request forgery (CSRF)

The lesson behind this report.

Another site makes a signed-in user's browser perform an action they did not intend.