Skip to content
Info disclosure Disclosed report Beginner

critical information disclosure

An endpoint on the website exposed all environment variables, including server credentials, database and mail details, and social media client IDs and secrets. An attacker could use these secrets to gain full access to every service on the website.

ba56adcb299ff13a87475bf Follow

Originally disclosed on HackerOne

Critical View original
  • Triaged in under an hour
  • Fixed in 8 days
  • Disclosed after 22 days

##Description:

hey all ,

I have found critical information through this endpoint /██████;

this endpoint contains all env vars used in a www.██████ such as server credentials, db ,mail , twitter client_id and client_secret , facebook client_id and client_secret, etc...

Impact

full access control on every services on website

System Host(s)

www.█████████

Affected Product(s) and Version(s)

CVE Numbers

Steps to Reproduce

Go to

https://www.█████████/████████;

you need to put ; to bypass 401 error

Suggested Mitigation/Remediation Actions

The original report as published on HackerOne, by ba56adcb299ff13a87475bf. 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 an endpoint returned environment variables, and a semicolon was needed to bypass a 401 error.

Impact

An attacker could gain full access control over every service on the website using the exposed credentials and secrets.

What the attacker needed

Append a semicolon to the endpoint URL to bypass the 401…

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 website often stores secret settings, like passwords and API keys, in environment variables. This report says a web address on the site returned all of those secrets to anyone who asked. With those secrets, someone could log in to the site's services as if they were the owner.

What is Info disclosure?

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

More by ba56adcb299ff13a87475bf

View all

3 more disclosed reports, best first.

More from U.S. Dept Of Defense

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.