Skip to content
Info disclosure Disclosed report Beginner

mongodb credentials leaked in github

A public GitHub repository contained a Helm values file with MongoDB credentials in plain text. The reporter believes an attacker could use them to access and control the block explorer database.

makuzo Follow

Originally disclosed on HackerOne

  • Disclosed after 3 days

Steps To Reproduce:

[add details for how we can reproduce the issue]

  1. Go to values.yaml file file.

2.Check from line 23:

blockExplorer:
  args:
    mongoUsername: "mongodb"
    mongoPassword:
    mongoDatabase: "block_explorer"
  env:
    rootURL: "http://localhost:3000"
    chainnet: ""
    genesisURL: ""
    remote:
      rpcURL: ""
      apiURL: ""
sif.png
sif.png From the original on HackerOne

Supporting Material/References:

[list any additional material (e.g. screenshots, logs, etc.)]

  • [attachment / reference]

F1288433

Impact

I believe that this database has the data of https://blockexplorer.sifchain.finance/blocks ,so an attacker can access the database and control it.

The original report as published on HackerOne, by makuzo. 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

Impact

The reporter believes an attacker could access and control the database behind the public block explorer, though no connection attempt or proof of access is shown.

What the attacker needed

Public GitHub repository

How it was found

  1. Open the values.yaml file in the public sifnode repository.
  2. Look at the blockExplorer section from line 23 onwards.

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 configuration file in a public code repository contained database login details. The reporter believes anyone who finds them could access and control the database.

What is Info disclosure?

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

More from Sifchain

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.