Skip to content
Info disclosure Disclosed report Beginner

Multiple server ssh usernames leaked in your github repository

SSH usernames belonging to the organisation were exposed in a public GitHub repository. An attacker could use these valid usernames to brute-force passwords and potentially gain server access.

praalsanthpro Follow

Originally disclosed on HackerOne

  • Disclosed after 3 days

hi security team,while searching on github,I have found multiple ssh usernames that belongs to your organization are exposed in the organization github repository

STEPS TO REPRODUCE:- 1.Go to this repository. you will see the leaked multiple server ssh usernames. *https://github.com/iandunn/dotfiles/blob/31f4009ddfde9176ba5880687a5119f59183c267/.ssh/config

POC:- I have attached a screenshot.Have a look at this

Impact

By knowing the valid usernames, an attacker can easily bruteforce the password and he can get access to your servers

Attachments

iandunn_ssh.PNG
iandunn_ssh.PNG From the original on HackerOne

The original report as published on HackerOne, by praalsanthpro. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, sensitive SSH configuration containing usernames was committed to a public repository.

Impact

An attacker could brute-force passwords using the valid usernames and potentially gain access to servers.

What the attacker needed

Public GitHub repository; No authentication needed

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 report has not been written yet. The Original tab links to the source.

SSH is a way to log into servers remotely. Usernames are half of the login information. If someone knows valid usernames, they can try many passwords without guessing the username too, making it easier to break in.

What is Info disclosure?

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

More from Ian Dunn

View all

The newest disclosed reports for this program.

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.