Skip to content
Access control Write-up Intermediate

Unauthorized access to the admin panel via leaked credentials on the WayBackMachine

A subdomain's admin panel was protected by a username and password, and the author found leaked credentials in archived pages of an out-of-scope site that used the same source. Using those credentials on the in-scope subdomain gave access to the admin panel.

Arman Follow

Published on infosecwriteups.com

Hello my friends, Today I want to talk about one of my admin panel bypass methods which leads me to easily bypass the admin panel.

M7arm4n, on infosecwriteups.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 the same credentials were reused across sites sharing the same source, and those credentials were exposed in archived pages.

Impact

An attacker could log in to the admin panel of the in-scope subdomain using leaked credentials, gaining unauthorised administrative access.

What the attacker needed

Out-of-scope site using same source; archived pages with credentials; in-scope subdomain with admin panel

How it was found

  1. Enumerate subdomains of the in-scope domain and fuzz directories to find a path that asks for a username and password.
  2. Search Google, the Wayback Machine, GitHub and other indexes for information about that path, but find nothing on the in-scope domain.
  3. Notice out-of-scope sites that appear to use the same source as the subdomain and open the directory on one of them.
  4. Use the Wayback Machine extension to find archived paths on that out-of-scope site, which contain usernames, passwords and endpoints.
  5. Try those credentials on the in-scope subdomain; one set works and gives access to the admin panel.

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.

Some websites keep old copies of pages in an online archive called the Wayback Machine. The author found a different website that used the same code as the target and had old pages with usernames and passwords saved in the archive. Those same credentials worked on the target's admin panel, letting the author log in without permission.

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 Arman

View all

8 more disclosed reports, best first.

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.