Skip to content

Bug class · Beginner

Security misconfiguration

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

median public bounty
$555

Covers CWE 16, 2, 1004, 614, 693, 1188.

How it works

Full lesson

The pattern behind every report in this class.

Security misconfiguration is when a system is deployed with settings that weaken its security, such as leaving directory browsing on, exposing administrative services, or failing to publish mail authentication records. Bug bounty programmes care because these mistakes are common, often easy to spot, and can lead directly to data exposure or account takeover. The evidence shows 444 reports in this area, with 92 paid, so it is a productive category for hunters.

This class usually leads to unauthorised access to files, credentials, or services. For example, an open directory listing can reveal backups or logs, an exposed Zookeeper service can allow data extraction, and missing SPF or DMARC records let attackers spoof email from the domain. It is most often found on web servers, cloud storage buckets, API endpoints, and mail configurations.

Hunters encounter it across many technologies: static asset servers, S3 buckets, CORS policies, SPF/DKIM/DMARC records, and even physical laptops left unattended. The root causes are typically oversights in deployment, such as default passwords, permissive ACLs, or missing security headers. Because these issues are often visible from the outside, they are a good starting point for beginners.

Misconfigurations happen when developers or operators leave default or permissive settings in place. For instance, a web server may have directory browsing enabled by default, or a cloud bucket may be created with public read access. These settings are often not changed because they are not part of the application code and may be overlooked during deployment.

Things to try

All 235

Each line worked in a disclosed report. Test only what a program's scope allows.

Exposed admin and management consoles 31

  • Look for an exposed SMTP server reachable through a misconfiguration.
  • Scan for open ports and connect to port 2181 to identify an unauthenticated Zookeeper service, then use its dump, envi and stat commands.
  • Look for a Presto coordinator reachable from the internet because of a firewall rule.
  • Probe internet-facing Cisco devices for the Smart Install service and check whether it is enabled without protection.

Other 25

  • Point curl at a malicious MQTT server that sends a CONNACK with extra bytes and check whether the surplus is parsed as a new message.
  • Fingerprint the SSH banner on an exposed host and compare the version against known issues.
  • In a CI system, check whether a runner mounts the host Docker socket and whether a job can mount the host filesystem.
  • Inspect the build output of a Cloudflare-hosted site and check for misconfigured files or paths.

Cloud storage bucket access 20

  • Request a bucket's listing endpoint without credentials and see whether objects can be listed and downloaded.
  • Enumerate S3 bucket names from page source, DNS and certificate transparency, then test whether listing or object reads work anonymously.
  • Check whether an S3 bucket's ACLs grant public read access when the bucket should be private.
  • Check cloud storage buckets and blobs across providers for public read access, not only S3.

CORS policy 14

  • Send requests with an attacker-controlled Origin header and check whether the response reflects it in the access control allow origin header with credentials allowed.
  • Test API endpoints for a permissive cross-origin resource sharing policy that reflects arbitrary origins.
  • Chain a permissive CORS policy with another weakness such as an open redirect, reflected cross-site scripting or a CSRF-able action to show account takeover.
  • Check whether a permissive CORS policy lets a cross-origin page read responses that contain tokens or personal data.

CRLF and header injection 12

  • Add encoded newline characters and a header value to a request path and check whether the response contains the injected header.
  • Send crafted input to a backend that generates response headers and check whether the response can be split.
  • Have a backend return crafted response headers and check whether Apache runs local handlers via an internal redirect.
  • Put encoded carriage return and line feed characters into a parameter that is reflected in a Set-Cookie header and look for injected headers.

Bypasses and variations

  • Chain a CORS misconfiguration with XSS or a socket connection to escalate impact.
  • Send traffic directly to the origin IP to bypass the CDN's WAF.
  • Use the known shared cache page secret to craft requests that bypass the page cache.
  • Use a hostname ending in a hash character to bypass domain allowlists that rely on RFC-compliant parsing.
  • Use a tracer value with characters outside the hexadecimal range to bypass the UUID filter.
  • Use a dot-slash path to reach files that were configured to be ignored.

Typical fixes

All 16
  • Reject carriage return and line feed characters in any input written into response headers.
  • Disable directory browsing on static folders.
  • Publish SPF, DKIM and DMARC records with a policy that rejects unauthenticated mail.
  • Complete registration with every mail provider included in the SPF record and add subdomains as separate domains.
  • Tighten bucket ACLs so only intended buckets are public and only trusted principals can write.
  • Restrict administrative services to internal networks and require authentication.

Tips for beginners

All 15
  • Start by looking for directory listings on common paths like static asset folders or backup directories. Request the path directly and see if the server returns an index instead of a 403 or redirect. This is a quick win and often reveals sensitive files.
  • Check for missing or weak SPF, DKIM, and DMARC records. Use DNS lookups to see if these records exist and whether they enforce a reject policy. If they are missing or permissive, you can often spoof email from the domain, which is a valid finding.
  • Test API endpoints for permissive CORS policies. Send requests with an attacker-controlled Origin header and see if it is reflected in the access control allow origin header with credentials allowed. If so, try to chain it with another weakness to show account takeover.
  • Enumerate S3 bucket names from page source, DNS, and certificate transparency, then test if listing or object reads work anonymously. Also check bucket ACLs for public write access, which can lead to data tampering.
  • Look for exposed administrative services like Zookeeper, Splunk, or Presto. Scan for open ports and try default credentials. These services are often left unauthenticated and can lead to full compromise.
  • Check for header injection by putting encoded carriage return and line feed characters into parameters reflected in Set-Cookie or Location headers. If the server does not reject them, you may be able to inject headers.

Start here: a reading path

Open the path

Clear reports in order, easiest first.

Guides and techniques

View all

The best explainers, cheat sheets and technique posts on Misconfiguration, from around the web.

Newest reports

All 1,394

Most recently disclosed.

New Misconfiguration reports by email

Follow Misconfiguration and get each week's new disclosures in one short email.

Free. New reports for what you follow, weekly by default. One-click unsubscribe. Privacy