Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Privat repository enumeration #595

Open
bw9ubwo opened this issue Nov 8, 2024 · 0 comments
Open

Privat repository enumeration #595

bw9ubwo opened this issue Nov 8, 2024 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@bw9ubwo
Copy link

bw9ubwo commented Nov 8, 2024

The error messages for unauthorized users make it possible to enumerate private repositories. The response to an unauthorized user should always be "repository not found".

ssh <server> repo info <existing repo>
Error: unauthorized

ssh <server> repo info <non existing repo>
Error: repository not found

This also works with repo private and other commands. In addition, the help for non-registered users should also contain only possible commands.

@aymanbagabas aymanbagabas added bug Something isn't working good first issue Good for newcomers labels Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants