Skip to content
Info disclosure Write-up Beginner

Accidental Bug Leads To Google Honorable Mentions

A development subdomain returned a template-not-found error that included source code of the website when a non-existent path was requested. An attacker could read parts of the site's source code from this error message.

Ramalingasamy Follow

Published on infosecwriteups.com

In the google bug hunters website, Google provided the targets to hunt. So I chose the target called “.onduo.com” .At first glance , onduo does not have much functionalities to test.Then i did directory bruteforce,But it also ended up with vein.

Ramalingasamy, on infosecwriteups.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

Impact

The error message could disclose parts of the website's source code, which may help an attacker understand the application, but the text does not claim any further exploitation.

What the attacker needed

Access to the development subdomain

How it was found

  1. Find subdomains of the target domain.
  2. Visit the development subdomain.
  3. Request a non-existent path on the development subdomain.
  4. Observe the template-not-found error containing source code.

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 website sometimes shows an error page when you ask for a page that does not exist. Here, that error page accidentally included pieces of the website's own programming code, which should normally be hidden. Anyone who visited a made-up address on the development site could see that code.

What is Info disclosure?

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

More by Ramalingasamy

View all

3 more disclosed reports, best first.

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.