Skip to content
Info disclosure Disclosed report Beginner

Username enumeration via Openssh 7.6

The SSH service runs OpenSSH 7.6p1, which the reporter says allows an attacker to confirm whether a given username exists on the host. An attacker could therefore build a list of valid system users by probing the service.

dre4dpir4terob3rts Follow

Originally disclosed on HackerOne

  • Disclosed after 18 days

Username enumeration I have found a vulnerability in your site that allows me to verify if an user exits in the ssh due to the use of OpenSSH 7.6p1.

PoC 1 Download and compile the given exploit file 2 open a terminal and run the exploit I have attached a Screenshot if detailed PoC is needed please inform me.

Impact

The attacker can get a list of users available in the ssh.

Attachments

Screenshot_2020-01-16_20-31-54.png
Screenshot_2020-01-16_20-31-54.png From the original on HackerOne
Screenshot_2020-01-16_20-32-23.png
Screenshot_2020-01-16_20-32-23.png

The original report as published on HackerOne, by dre4dpir4terob3rts. 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 the OpenSSH version in use responds differently to valid and invalid usernames, revealing which accounts exist.

Impact

An attacker could obtain a list of valid users on the SSH service.

What the attacker needed

Network access to the SSH service

How it was found

  1. Download and compile the provided exploit file
  2. Open a terminal and run the exploit

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 the service that lets people log in to a server remotely. Normally it should answer the same way whether or not a username exists, so an outsider cannot tell which accounts are real. Here the reporter claims the server's SSH version leaks that difference, letting someone test names and learn which ones are valid.

What is Info disclosure?

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

More by dre4dpir4terob3rts

View all

1 more disclosed report, best first.

More from Kubernetes

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.