Skip to content
Misconfiguration Write-up Intermediate

Wide Recon, Deep Impact: Finding HIGH & MEDIUM Severity Bugs in an Enterprise SaaS Platform

An internal npm registry was publicly accessible without authentication, exposing package metadata and allowing unauthenticated publish attempts. Separately, a public JAR file contained live GCP service account credentials, which the researcher validated with read-only access.

divakarvasani3938 Follow

Published on medium.com

The target was a well-known enterprise SaaS platform with an active VDP. I won’t name them directly — NDA — but the methodology here is what matters.

Divakarvasani, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the internal npm registry was deployed without authentication or network restrictions, and build artifacts were published publicly without secret scanning.

Impact

An attacker could enumerate internal packages and potentially publish malicious packages, leading to supply chain compromise; the exposed GCP credentials could allow access to development datasets.

What the attacker needed

None for registry access; publicly accessible JAR file

The fix

The registry was deprecated and the credentials were revoked; the text does not state a specific code fix.

How it was found

  1. Enumerate subdomains and probe live hosts to find an internal npm registry subdomain.
  2. Open the registry in a browser and confirm there is no login page or redirect.
  3. Send a request to the registry root and observe no authentication headers or session cookie.
  4. Fetch the package listing endpoint to view internal package metadata.
  5. Fetch a specific package to retrieve its metadata and tarball URL.
  6. Run a dry-run publish to confirm the publish endpoint accepts unauthenticated requests.

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 write-up has not been written yet. The Original tab links to the source.

A private package registry is like a company's internal app store for code libraries; it should require a login. Here it was open to anyone, so outsiders could list internal packages and even try to publish malicious ones. In the second bug, a downloadable build file accidentally included a cloud key, like leaving a spare office key in a public folder.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More by divakarvasani3938

View all

3 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.