OWASP TOP 10 View Guide

Security Misconfiguration Challenges

OWASP A05:2021 - Security Misconfiguration
Security misconfiguration is the most commonly seen vulnerability. It occurs when security settings are not defined, implemented incorrectly, or left at insecure defaults.
Beginner Default Credentials

Many applications and services ship with default credentials that administrators forget to change. Exploit this common oversight to gain unauthorized access.

  • Points: 100
  • Estimated Time: 15 minutes
  • Skills: Credential testing, reconnaissance
Easy Verbose Errors

Applications in debug mode often display detailed error messages that reveal sensitive information. Extract secrets from overly verbose error responses.

  • Points: 150
  • Estimated Time: 20 minutes
  • Skills: Error analysis, information gathering
Medium Insecure Configuration

Explore misconfigured servers with directory listing enabled, missing security headers, and dangerous CORS policies. Find sensitive files and exploit misconfigurations.

  • Points: 200
  • Estimated Time: 25 minutes
  • Skills: Server enumeration, header analysis

Learning Resources

Common Security Misconfigurations
  • Default Credentials: admin/admin, root/root, guest/guest
  • Debug Mode: Detailed errors, stack traces in production
  • Directory Listing: Exposed file structure and sensitive files
  • Missing Headers: No CSP, HSTS, X-Frame-Options
  • Permissive CORS: Access-Control-Allow-Origin: *
  • Unnecessary Features: Unused ports, services, or pages enabled
Where to Look for Misconfigurations
  • Admin panels with default credentials
  • Error pages revealing internal information
  • HTTP response headers
  • robots.txt and sitemap.xml
  • Backup files (.bak, .old, .swp)
  • Configuration files exposed via directory listing
  • API endpoints without proper authentication
Prevention Techniques
  • Change Defaults: Always change default passwords and settings
  • Disable Debug: Never run debug mode in production
  • Security Headers: Implement CSP, HSTS, X-Frame-Options
  • Least Privilege: Disable unnecessary features and services
  • Regular Audits: Scan for misconfigurations regularly
  • Secure CORS: Whitelist specific origins, never use wildcards
External Resources
An error has occurred. This application may no longer respond until reloaded. Reload Dismiss