Skip to content
Access control Write-up Beginner

Bypassing Okta SSO=> HTTPS/HTTP

An internal Yahoo host was protected by Okta SSO over HTTPS, but the same content was accessible over plain HTTP without authentication. An attacker could view the page directly by using the HTTP URL instead of HTTPS.

Inderjeet Singh Follow

Published on rashahacks.com

When doing recon on Yahoo assets during Hackerone AWC 2023, I found a host foo.bar.yahoo.com. I thought it must be some internal tool for engineers, few pages are listed but clicking on any of the pages redirects to Okta SSO.

Inderjeet Singh, on rashahacks.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 a server misconfiguration where the authentication check was only applied to HTTPS traffic, not HTTP.

Impact

An attacker could access the internal page without authentication, potentially viewing sensitive information or ad traffic content.

What the attacker needed

Knowledge of the hostname; No authentication required

The fix

The issue was resolved, likely by enforcing authentication on HTTP as well or redirecting HTTP to HTTPS.

How it was found

  1. Check the hostname on the Wayback Machine.
  2. Find an indexed page on the host.
  3. Visit the page and observe it redirects to Okta SSO.
  4. Probe both HTTPS and HTTP ports with httpx.
  5. Notice the HTTP version also appears in results.
  6. Compare Content-Length of both pages and find they differ.

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.

Okta SSO is a login system that checks who you are before letting you see a page. Here, the page was supposed to be protected, but the protection only worked on the secure version of the site (HTTPS). By using the insecure version (HTTP), anyone could see the page without logging in.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by Inderjeet Singh

View all

4 more disclosed reports, best first.

More from Yahoo! / Verizon Media

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.