Hard coded Username and password in GiHub commit
Hard-coded credentials for the Vagrant tool were found in a public GitHub commit history. An attacker could use these credentials to access the automation tool for setting up virtual machines and potentially escalate further.
- Disclosed after 2 months
Report Submission Form
Summary:
I was exploring the GitHub repository and I found some hard coded credentials in the commit history. These credentials are related to Vagrant tool which is used to setup virtual machines environment, This is a very critical disclosure and can lead to bigger damages. So I am informing this to you guys, please let me know what do you guys think.
Steps To Reproduce:
VISIT THESE LINKS Repository : kubernetes /kubernetes Commit Link : https://github.com/kubernetes/kubernetes/commit/5a0159ea00e082bc85bbec18d1ab7ae78d90fa4f Repository Link : https://github.com/kubernetes/kubernetes/blob/5a0159ea00e082bc85bbec18d1ab7ae78d90fa4f/cluster/kubecfg.sh
Supporting Material/References:
Reference: https://hackerone.com/reports/124100
Impact
Vagrant is a tool for building and managing virtual machine environments in a single workflow. This can give hacker access to the hacker to the automation tool to setup VMs and their environment, which he can use for further escalation.
Attachments

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 credentials were committed to the repository and remained in the commit history.
Impact
An attacker could gain access to the Vagrant automation tool and use it for further escalation.
What the attacker needed
Access to the public GitHub repository
How it was found
- Visit the provided GitHub commit link.
- Visit the provided GitHub repository file link.
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.
A username and password were left in a public repository's history. Anyone can see them, and an attacker could use them to access the Vagrant tool used to set up virtual machines.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.