Skip to content
Info disclosure Disclosed report Beginner

Sensitive Information Exposed at █████

A publicly hosted JavaScript file exposed a configuration or environment variables object containing settings, credentials and paths. An attacker could use this information to gain unauthorised access to or manipulate sensitive data in the application's environment.

m3ntor Follow

Originally disclosed on HackerOne

High 7.3 View original
  • Disclosed after 22 days

Summary by the program

The issue involves a JavaScript file hosted at "█████" that exposes a configuration or environment variables object. This object contain crucial information such as settings, credentials, and paths related to the deployment and execution environment of a JavaScript application, suggesting a potential security risk. The exposed information may be associated with a Continuous Integration/Continuous Deployment (CI/CD) setup using GitLab. This exposure could lead to unauthorized access or manipulation of sensitive data, posing a security threat to the application and its environment.

The original report as published on HackerOne, by m3ntor. 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, sensitive configuration and credentials were bundled into a client-side JavaScript file that was served publicly.

Impact

The exposure could lead to unauthorised access or manipulation of sensitive data, posing a security threat to the application and its environment.

What the attacker needed

Publicly accessible JavaScript file

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 JavaScript file anyone can download was left containing secret settings and credentials. Because it is public, anyone who finds it could read those secrets and potentially misuse them.

What is Info disclosure?

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

More from Mars

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.