Enam Jam Eksplorasi Keamanan dan Satu Celah yang Nyaris Diabaikan
The logout endpoint on the SSO subdomain accepted a redirect parameter without validating the destination domain, so after logout a user could be sent to any address. An attacker could craft links on the trusted official domain to redirect users to malicious sites, aiding phishing.
medium.com
Published on medium.com
Dalam pengujian kali ini, fokus utama adalah mempelajari IDOR (Insecure Direct Object Reference). Tujuannya sederhana: memahami bagaimana akses data dikelola oleh aplikasi, bagaimana parameter digunakan, serta bagaimana sistem memastikan bahwa setiap pengguna hanya dapat mengakses objek yang memang menjadi haknya.
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 logout endpoint used a user-supplied redirect parameter without checking that the destination belonged to an allowed domain.
Impact
The flaw could let attackers build phishing links on the trusted SSO domain and redirect users to malicious sites after logout, possibly as part of a larger attack chain.
What the attacker needed
A free user account; victim clicks a crafted link
The fix
The redirect parameter should be validated against an allowlist of trusted domains, or replaced with a fixed post-logout page.
How it was found
- Enumerate subdomains of the main domain and identify the SSO service.
- Create a user account and observe the SSO login and logout flow.
- Inspect the logout endpoint and notice a redirect parameter controlled via the URL.
- Test the parameter with an external address and see that the redirect is followed without domain validation.
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.
An open redirect is when a website takes a link parameter and sends you to whatever address it contains, even one outside the site. Here the logout page did this, so a link that starts on the real company domain could quietly send people to a fake page. Attackers use this to make phishing links look trustworthy.
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.