Tips

Information disclosure tips

Information disclosure is data the application exposes by mistake: other users’ details, internal paths, debug output or source code. Its severity depends entirely on what leaks and who can see it.

Published tips, newest first. Payloads and commands are shown as plain text.

  • Test Terraform RDS instances for encryption

    When testing a target's Terraform configuration, look for aws_db_instance resource blocks that create RDS instances without the storage_encrypted argument set to true. This can leave data in cleartext, accessible to an attacker who gains access to the underlying storage. To conf…

    Information disclosureDiscovery

  • Test rate limits with paced requests

    To test if a rate limit can be bypassed, send requests to the target's API with a pause of a few seconds between each request, using the same account and token. If the rate limit is not triggered, it may indicate that the limit is not effectively enforced. Check the X-RateLimit-*

    Information disclosureDiscovery

  • Check for SNI leaks

    To see if a target like target.com reveals its destination domain through Server Name Indication (SNI), send a ClientHello message to the target's IP address with the SNI field set to a domain like en.target.com. If the connection does not use encryption for the ClientHello, the…

    Information disclosureRecon

  • Test AI chatbots for data disclosure

    When testing an AI chatbot on target.com, try to manipulate its SQL queries to disclose sensitive data. Send a request to the chatbot that asks it to retrieve data from a specific table, such as SELECT * FROM customer_hierarchy. If the chatbot is vulnerable, it may respond with…

    Information disclosureDiscovery

  • Test FTP parsing for heap overread

    To test for a heap overread in an FTP server, try sending an FTP LIST command with a response that lacks a filename after the modification timestamp, such as d [R----F--] supervisor 512 Jan 16 18:53. If the server is vulnerable, it may return data from outside the FTP directory…

    Information disclosureDiscovery

  • Check ETag length for leaks

    When testing for XS-Leaks, compare the ETag header length in responses where a search query hits and misses a target resource. A difference in length can indicate a leak. This can occur when the response size crosses a boundary, such as from 0xfff to 0x1000, changing the number…

    Information disclosureDiscovery

  • Test IIS for shortname enumeration

    IIS servers may be vulnerable to shortname enumeration, which can reveal the first six characters of file or directory names. This can be used to discover hidden directories or files. To test for this vulnerability, send a request to the server with a shortname, such as MICROS~1…

    Information disclosureDiscovery

  • Google Dork to Find Exposed Laravel Env Files

    Example: site:url inurl:.env ext:env For more tips join Telegram channel https://t.me/bugbountyusa #bugbounty #googledork #recon #infosec #ethicalhacking #pentesting #cybersecurity #bugbountytips #googlehacking #securityresearch

    Information disclosureRecon

Information disclosure: how to hunt it

Where to look

  • Verbose errors, stack traces and debug pages, staging hosts included.
  • API responses that return more fields than the interface shows.
  • Exposed files such as .git folders, backups, source maps and directory listings.
  • Metadata in uploaded documents and images, and data in public storage.

What proves it

Show exactly what leaks and why it matters, such as other users’ personal data or a working credential, with the real values redacted in the report.

Read further

Writeups on Information disclosure, by hunters and researchers, most with a short summary.

Related classes