Skip to content
Info disclosure Write-up Beginner

Information Disclosure leads To Unauthorized Access (easy github dork)

A GitHub search exposed login credentials for a cPanel endpoint belonging to the target, apparently left in publicly visible content. The author used those credentials to gain unauthorised access to the cPanel control panel.

Oiluminado_x86 Follow

Published on medium.com

بس� الله والصلاة والسلا� على رسول الله ﷺ❤️، الله� علِّ� نا � ا ينفعنا، وانفعنا ب� ا علَّ� تنا، وزِدنا عل� ًا نافعًا

O iluminado_x86, on medium.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 credentials for the cPanel login were committed or posted publicly on GitHub, where anyone could find them with a simple search.

Impact

Anyone who ran the same search could log in to the cPanel and potentially cause a data breach.

What the attacker needed

Public GitHub search; credentials exposed in public content

How it was found

  1. Search GitHub using a dork combining the target's cPanel path with the word password
  2. Find results containing the exposed credentials
  3. Use the credentials to log in to the target's cPanel

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 people accidentally publish secrets, such as usernames and passwords, in places anyone can search, like public code repositories. Here the author searched GitHub for the target's cPanel address together with the word password and found working credentials. With those, they could log in to the site's hosting control panel, which is the dashboard used to manage a website.

What is Info disclosure?

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

More by Oiluminado_x86

View all

1 more disclosed report, best first.

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.