Skip to content
Leaked secrets Disclosed report Beginner

Information Leakage - GitHub - VCenter configuration scripts, StorMagic usernames and password along with default ESXi root password

Credentials for ESXi hosts and a SendGrid instance were exposed on GitHub. The SendGrid credentials could have allowed sending email from any @uber.com address, though not access to sensitive Uber data.

p3t3r_r4bb1t Follow

Originally disclosed on HackerOne

Bounty$1,000 Medium View original
  • Triaged in 18 hours
  • Fixed in 14 days
  • Paid in 29 days
  • Disclosed after 2 months

Summary by the program

@peuch found data exposure on Github - expired passwords and usernames for ESXi (a bare metal hypervisor). The researcher also found credentials to a SendGrid instance (uber_infra_devtools), which would have allowed them to log in to SendGrid and send email from any @uber.com address. However, this would not have given them the ability to see any sensitive Uber data.

We enjoyed working with @peuch on this issue and look forward to their future submissions to our program.

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

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 4 min read.

What the report shows

This is a medium severity report against Uber's programme, disclosed on 27 August 2018, with a bounty of 1,000 USD. The summary is written by the programme rather than the researcher, and it credits the finding to @peuch. The title of the report refers to GitHub, vCenter configuration scripts, StorMagic usernames and passwords, and a default ESXi root password, but the summary itself only describes two concrete exposures: expired ESXi credentials and a SendGrid credential.

The target was GitHub: the researcher found data exposed in a GitHub repository. The summary describes the material as expired passwords and usernames for ESXi, a bare metal hypervisor. The researcher also found credentials to a SendGrid instance, identified in the summary as uber_infra_devtools.

According to the programme, those SendGrid credentials would have allowed the researcher to log in to SendGrid and send email from any @uber.com address. The programme is explicit about the limit of that access: it would not have given the researcher the ability to see any sensitive Uber data.

The report does not describe the repository, the files, the commit history, the search method or the exact strings that were found, and it contains no requests, payloads or commands. The outcome recorded is a 1,000 USD bounty at medium severity. The summary does not state a remediation step, though it describes the ESXi credentials as expired.

Root cause

The report does not describe the root cause beyond data being exposed in a GitHub repository. The title mentions vCenter configuration scripts, StorMagic usernames and passwords, and a default ESXi root password. The SendGrid credential is the same class of mistake: an API credential stored in source rather than in a secret store.

Impact

The programme's own assessment is the useful one here. The ESXi credentials were expired, so they carried no direct access. The SendGrid credential would have allowed login to SendGrid and the sending of email from any @uber.com address. The programme states that this would not have exposed sensitive Uber data.

How this kind of bug works

Secrets leak into source control because the path of least resistance during development is to put a connection string, API key or password next to the code that uses it. Once committed, the value lives in the object history, not just the current tree, so deleting the file in a later commit does not remove it. Forks, mirrors, cached pages and third party code search indexes can keep a copy after the original is gone. Automation repositories are especially prone to this because they must hold credentials for hypervisors, storage arrays and mail providers in order to run, and because they are often maintained by a small team with little review.

The defences are procedural and technical: secret scanning in the CI pipeline and in the hosting platform, pre-commit hooks, keeping credentials in a managed secret store and referencing them by name, scoping and rotating keys so a leaked one is short lived, and treating any credential that has ever been committed as compromised.

How to test for it

  1. Identify the organisation's public repositories and any organisation-owned accounts that publish code, including infrastructure, deployment and tooling repositories rather than only application code.
  2. Search the current tree and the full commit history for credential-shaped strings: assignments to names containing key, token, secret, password or passwd, connection strings, private key blocks, and vendor-specific key formats.
  3. Search for the vendor names that match the organisation's stack, since a configuration file for a hypervisor or mail provider is a strong signal.
  4. Where a candidate is found, determine whether it is live by making the smallest possible authenticated call the vendor offers, such as an identity or account endpoint, and stop there.
  5. Record the repository, file path, commit and the exact string, and note whether the value still works.

A positive result is a credential that authenticates successfully, or one that the vendor confirms is active. Common false positives are placeholders and example values, keys already revoked or expired, keys scoped to a sandbox with no meaningful capability, and strings that merely look like keys. Test only against your own accounts or within the programme's scope, and never use a live credential beyond proving it works.

How it is fixed

Revoke and rotate every credential that was exposed, then purge it from history where the platform allows, and treat the old value as public regardless. Move the remaining secrets into a managed secret store and reference them from code by name. Add secret scanning to the repository and to the CI pipeline so the next commit is blocked, and restrict who can push to automation repositories. For credentials that must exist, apply least privilege and short lifetimes so a leak has a small blast radius.

Hunting notes

This class hides in the places teams forget are public: infrastructure as code, Ansible and Terraform directories, CI configuration, Dockerfiles, test fixtures, documentation and sample configs. Recon signals include an organisation with many repositories, a history of contractors or rapid growth, and stack fingerprints in job adverts or public documentation that tell you which vendors to search for. To make a report land, show the exact location and commit, prove the credential is live with a minimal read-only call, and state the capability it grants in the programme's terms, including its limits. A tightly scoped credential with a clear, bounded impact is easier to triage than a vague claim of access.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 6 min read.

What happened, in plain words

This is a bug bounty report against Uber's programme, disclosed on 27 August 2018. It was rated medium severity and paid a bounty of 1,000 USD. The summary was written by the programme rather than the researcher, and it credits the finding to @peuch.

A bug bounty programme is a scheme where a company invites outside people to look for security problems in its systems and pays them for reporting what they find. A bounty is the reward. Severity is a rough label for how serious the problem is.

The report's title mentions GitHub, vCenter configuration scripts, StorMagic usernames and passwords, and a default ESXi root password. The summary itself, however, only describes two concrete exposures: expired ESXi credentials and a SendGrid credential.

What was found

The target was GitHub. GitHub is a website where teams store and share the source code of their software, and it keeps a full history of every change ever made. The researcher found data exposed in a GitHub repository. A repository (or "repo") is a project folder on GitHub containing files plus the record of all their past versions.

The first exposure was expired passwords and usernames for ESXi. ESXi is a bare metal hypervisor, which means software that runs directly on a physical server and lets that one machine host several separate virtual computers. Think of it as the building manager of a block of flats: it controls who gets into each flat. Credentials for a hypervisor are powerful, because whoever holds them can control the virtual machines on that server. The programme describes these particular ones as expired, meaning they were no longer valid.

The second exposure was credentials to a SendGrid instance, identified in the summary as uber_infra_devtools. SendGrid is a service for sending email in bulk on behalf of a company. The summary identifies the SendGrid instance as uber_infra_devtools.

What the SendGrid credential could do

According to the programme, those SendGrid credentials would have allowed the researcher to log in to SendGrid and send email from any @uber.com address. That matters because email claiming to come from a company's own domain is far more convincing to a recipient than mail from an unknown address. Email claiming to come from a company's own domain is more convincing to a recipient than mail from an unknown address.

The programme is explicit about the limit of that access: it would not have given the researcher the ability to see any sensitive Uber data. So the impact was bounded. The report does not describe any attempt to use the credential, and the bounty and medium severity reflect the programme's judgement of that bounded impact.

The report does not describe the repository, the files, the commit history, the search method or the exact strings that were found, and it contains no requests, payloads or commands. It also does not state a remediation step, though it describes the ESXi credentials as expired.

In general, how this kind of bug works

Secrets leak into source control because the easiest thing to do during development is to put a connection string, API key or password right next to the code that uses it. A secret here means any value that proves identity or grants access: a password, an API key (a long string a program uses instead of a password), or a token (a temporary pass issued after logging in).

Once such a value is committed (saved into the repository's history), it lives in that history, not just in the current version of the files. Deleting the file in a later commit does not remove it. Forks (personal copies of a repository), mirrors, cached pages and third party code search indexes can keep a copy after the original is gone. Automation repositories are especially prone to this, because they must hold credentials for hypervisors, storage systems and mail providers in order to run, and because they are often maintained by a small team with little review.

The defences are procedural and technical: secret scanning in the build pipeline and on the hosting platform, checks that block a commit before it is saved, keeping credentials in a managed secret store and referring to them by name, limiting what each key can do and rotating keys so a leaked one is short lived, and treating any credential that has ever been committed as compromised.

How to test for it

  1. Identify the organisation's public repositories and any organisation-owned accounts that publish code, including infrastructure, deployment and tooling repositories rather than only application code.
  2. Search the current files and the full commit history for credential-shaped strings: assignments to names containing key, token, secret, password or passwd, connection strings, private key blocks, and vendor-specific key formats.
  3. Search for the vendor names that match the organisation's stack, since a configuration file for a hypervisor or mail provider is a strong signal.
  4. Where a candidate is found, determine whether it is live by making the smallest possible authenticated call the vendor offers, such as an identity or account endpoint, and stop there.
  5. Record the repository, file path, commit and the exact string, and note whether the value still works.

A positive result is a credential that authenticates successfully, or one that the vendor confirms is active. Common false positives are placeholders and example values, keys already revoked or expired, keys limited to a sandbox with no meaningful capability, and strings that merely look like keys. Test only against your own accounts or within the programme's scope, and never use a live credential beyond proving it works.

How it is fixed

Revoke and rotate every credential that was exposed, then purge it from history where the platform allows, and treat the old value as public regardless. Move the remaining secrets into a managed secret store and reference them from code by name. Add secret scanning to the repository and to the build pipeline so the next commit is blocked, and restrict who can push to automation repositories. For credentials that must exist, apply least privilege (give each one only the access it truly needs) and short lifetimes so a leak has a small blast radius.

Hunting notes

This class hides in the places teams forget are public: infrastructure as code, Ansible and Terraform directories, build configuration, Dockerfiles, test fixtures, documentation and sample configs. Recon signals include an organisation with many repositories, a history of contractors or rapid growth, and stack fingerprints in job adverts or public documentation that tell you which vendors to search for. To make a report land, show the exact location and commit, prove the credential is live with a minimal read-only call, and state the capability it grants in the programme's terms, including its limits. A tightly scoped credential with a clear, bounded impact is easier to triage than a vague claim of access.

Glossary

  • Bug bounty programme: a scheme where a company pays outside researchers for reporting security problems.
  • Bounty: the money paid for a valid report.
  • Severity: a label for how serious a finding is.
  • GitHub: a website for storing and sharing source code, with full change history.
  • Repository: a project folder on GitHub containing files and their version history.
  • Commit: a saved change in a repository's history.
  • Fork: a personal copy of someone else's repository.
  • ESXi: a bare metal hypervisor, software that runs directly on a server and hosts virtual machines.
  • Hypervisor: software that lets one physical machine run several virtual computers.
  • vCenter: management software for virtual infrastructure.
  • StorMagic: a storage product named in the report's title.
  • Credential: a username and password, or similar, that proves identity.
  • Expired: no longer valid.
  • SendGrid: a service for sending email on a company's behalf.
  • API key: a long string a program uses instead of a password.
  • Token: a temporary pass issued after logging in.
  • Secret: any value that grants access and must be kept private.
  • Secret scanning: automatic searching for secrets in code and history.
  • Secret store: a managed service for keeping secrets out of source code.
  • Rotation: replacing a credential with a new one.
  • Least privilege: giving a credential only the access it truly needs.
  • Blast radius: how much damage a leaked credential could cause.
  • False positive: an alert that looks like a problem but is not one.
  • Sandbox: an isolated test environment with no real capability.
  • Recon: the information-gathering phase before testing.
  • Triage: the process of assessing and prioritising a report.

More by p3t3r_r4bb1t

View all

3 more disclosed reports, best first.

More from Uber

View all

The newest disclosed reports for this program.

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.