Skip to content
Leaked secrets Write-up Beginner

MY First Bug In Hackerone

A webmail username and password were found exposed in a public GitHub search, and the same credentials worked on a webmail login page located through Shodan. An attacker with those credentials could log in to the webmail account and send phishing emails to the organisation's clients.

anjaneyulu kanakatla Follow

Published on medium.com

Introduction to myself I am Kanakatal Anjaneyulu Noob hacker,System Administrator.

anjaneyulu kanakatla, 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 a webmail account were committed to a public GitHub repository, exposing them to anyone who searched for them.

Impact

An attacker could access the webmail account and send phishing emails to the organisation's clients, though the organisation said it does not use that webmail and marked the report informative.

What the attacker needed

Credentials exposed in a public repo; webmail login page reachable online

How it was found

  1. Search GitHub for the target domain combined with terms for credentials
  2. Find a username and password for a webmail account in the results
  3. Search Shodan for the webmail login page of the target
  4. Log in to the webmail using the found credentials

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.

Someone had put a working email login (username and password) into a public code-hosting site, where anyone searching could find it. The author then found the matching webmail login page on the internet and signed in with those details. With access to that mailbox, a criminal could send convincing fake emails to the company's customers.

What is Leaked secrets?

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.

More by anjaneyulu kanakatla

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Leaked secrets and credentials

The lesson behind this report.

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.