[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A4WW5CHSZEHRFYTPCM4TH8":3,"skill-same:01M7A4WW5CHSZEHRFYTPCM4TH8":82},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":14,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M7A4WW5CHSZEHRFYTPCM4TH8","bypassing-authentication-with-forced-browsing",null,"Discovering and accessing unprotected pages, APIs, and administrative interfaces by enumerating URLs and bypassing authentication controls during authorized security assessments.","NeelakshSaxena\u002FVayu","NeelakshSaxena","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F87892838?v=4","01M7A3B9YFS6F6N9DD1787DT86","Neelaksh Saxena","01M7A3B9ZKBT09MNMPX2XN69BY",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbypassing-authentication-with-forced-browsing\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbypassing-authentication-with-forced-browsing\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: bypassing-authentication-with-forced-browsing\ndescription: Discovering and accessing unprotected pages, APIs, and administrative\n  interfaces by enumerating URLs and bypassing authentication controls during authorized\n  security assessments.\ndomain: cybersecurity\nsubdomain: web-application-security\ntags:\n- penetration-testing\n- authentication-bypass\n- forced-browsing\n- ffuf\n- directory-enumeration\n- owasp\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- PR.PS-01\n- ID.RA-01\n- PR.DS-10\n- DE.CM-01\nmitre_attack:\n- T1190\n- T1083\n- T1087\n---\n\n# Bypassing Authentication with Forced Browsing\n\n## When to Use\n\n- During authorized penetration tests to discover hidden or unprotected administrative pages\n- When testing whether authentication is consistently enforced across all application endpoints\n- For identifying backup files, configuration files, and debug interfaces left exposed in production\n- When assessing access control on API endpoints that should require authentication\n- During security audits to validate that all sensitive resources enforce session validation\n\n## Prerequisites\n\n- **Authorization**: Written penetration testing agreement covering directory enumeration\n- **ffuf**: Fast web fuzzer (`go install github.com\u002Fffuf\u002Fffuf\u002Fv2@latest`)\n- **Gobuster**: Directory brute-force tool (`apt install gobuster`)\n- **Burp Suite**: For intercepting and analyzing requests and responses\n- **Wordlists**: SecLists collection (`git clone https:\u002F\u002Fgithub.com\u002Fdanielmiessler\u002FSecLists.git`)\n- **Target access**: Network connectivity and valid test credentials for authenticated comparison\n\n## Workflow\n\n### Step 1: Enumerate Hidden Directories and Files\n\nUse ffuf or Gobuster to discover paths not linked in the application's navigation.\n\n```bash\n# Directory enumeration with ffuf\nffuf -u https:\u002F\u002Ftarget.example.com\u002FFUZZ \\\n  -w \u002Fusr\u002Fshare\u002Fseclists\u002FDiscovery\u002FWeb-Content\u002Fraft-medium-directories.txt \\\n  -mc 200,301,302,403 \\\n  -fc 404 \\\n  -o results-dirs.json -of json \\\n  -t 50 -rate 100\n\n# File enumeration with common extensions\nffuf -u https:\u002F\u002Ftarget.example.com\u002FFUZZ \\\n  -w \u002Fusr\u002Fshare\u002Fseclists\u002FDiscovery\u002FWeb-Content\u002Fraft-medium-files.txt \\\n  -e .php,.asp,.aspx,.jsp,.html,.js,.json,.xml,.bak,.old,.txt,.cfg,.conf,.env \\\n  -mc 200,301,302,403 \\\n  -fc 404 \\\n  -o results-files.json -of json \\\n  -t 50 -rate 100\n\n# Gobuster for directory enumeration\ngobuster dir -u https:\u002F\u002Ftarget.example.com \\\n  -w \u002Fusr\u002Fshare\u002Fseclists\u002FDiscovery\u002FWeb-Content\u002Fdirectory-list-2.3-medium.txt \\\n  -s \"200,204,301,302,307,403\" \\\n  -x php,asp,aspx,jsp,html \\\n  -o gobuster-results.txt \\\n  -t 50\n```\n\n### Step 2: Discover Administrative and Debug Interfaces\n\nTarget common administrative paths and debug endpoints.\n\n```bash\n# Admin panel enumeration\nffuf -u https:\u002F\u002Ftarget.example.com\u002FFUZZ \\\n  -w \u002Fusr\u002Fshare\u002Fseclists\u002FDiscovery\u002FWeb-Content\u002Fcommon.txt \\\n  -mc 200,301,302 \\\n  -t 50 -rate 100\n\n# Common admin paths to check manually:\n# \u002Fadmin, \u002Fadministrator, \u002Fadmin-panel, \u002Fwp-admin\n# \u002Fcpanel, \u002Fphpmyadmin, \u002Fadminer, \u002Fmanager\n# \u002Fconsole, \u002Fdebug, \u002Factuator, \u002Fswagger-ui\n# \u002Fgraphql, \u002Fgraphiql, \u002F.env, \u002Fserver-status\n\n# API endpoint discovery\nffuf -u https:\u002F\u002Ftarget.example.com\u002Fapi\u002FFUZZ \\\n  -w \u002Fusr\u002Fshare\u002Fseclists\u002FDiscovery\u002FWeb-Content\u002Fapi\u002Fapi-endpoints.txt \\\n  -mc 200,201,204,301,302,401,403 \\\n  -fc 404 \\\n  -o api-results.json -of json\n\n# Check for Spring Boot Actuator endpoints\nfor endpoint in env health info beans configprops mappings trace; do\n  curl -s -o \u002Fdev\u002Fnull -w \"%{http_code} \u002Factuator\u002F$endpoint\\n\" \\\n    \"https:\u002F\u002Ftarget.example.com\u002Factuator\u002F$endpoint\"\ndone\n```\n\n### Step 3: Test Authentication Enforcement on Discovered Endpoints\n\nCompare responses between unauthenticated and authenticated requests.\n\n```bash\n# Test without authentication\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002Fadmin\u002Fdashboard\"\n\n# Test with valid session cookie\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \\\n  -b \"session=valid_session_token_here\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002Fadmin\u002Fdashboard\"\n\n# Automated check: compare response sizes\n# Unauthenticated request\ncurl -s \"https:\u002F\u002Ftarget.example.com\u002Fadmin\u002Fusers\" | wc -c\n\n# Authenticated request\ncurl -s -b \"session=valid_token\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002Fadmin\u002Fusers\" | wc -c\n\n# If both return similar content, authentication is not enforced\n\n# Test with Burp Intruder: send a list of discovered URLs\n# without cookies and flag any 200 responses\n```\n\n### Step 4: Test HTTP Method-Based Authentication Bypass\n\nSome applications only enforce authentication for specific HTTP methods.\n\n```bash\n# Test different HTTP methods on protected endpoints\nfor method in GET POST PUT DELETE PATCH OPTIONS HEAD TRACE; do\n  echo -n \"$method: \"\n  curl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \\\n    -X \"$method\" \"https:\u002F\u002Ftarget.example.com\u002Fadmin\u002Fsettings\"\ndone\n\n# Test HTTP method override headers\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \\\n  -X POST \\\n  -H \"X-HTTP-Method-Override: GET\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002Fadmin\u002Fsettings\"\n\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \\\n  -H \"X-Original-Method: GET\" \\\n  -H \"X-Rewrite-URL: \u002Fadmin\u002Fsettings\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002F\"\n```\n\n### Step 5: Test Path Traversal and URL Normalization Bypass\n\nExploit URL parsing differences to bypass path-based authentication rules.\n\n```bash\n# Path normalization bypass attempts\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \"https:\u002F\u002Ftarget.example.com\u002Fadmin\u002Fdashboard\"\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \"https:\u002F\u002Ftarget.example.com\u002FADMIN\u002Fdashboard\"\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \"https:\u002F\u002Ftarget.example.com\u002Fadmin\u002F.\u002Fdashboard\"\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \"https:\u002F\u002Ftarget.example.com\u002Fpublic\u002F..\u002Fadmin\u002Fdashboard\"\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \"https:\u002F\u002Ftarget.example.com\u002Fadmin%2fdashboard\"\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \"https:\u002F\u002Ftarget.example.com\u002F;\u002Fadmin\u002Fdashboard\"\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \"https:\u002F\u002Ftarget.example.com\u002Fadmin;anything\u002Fdashboard\"\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \"https:\u002F\u002Ftarget.example.com\u002F.;\u002Fadmin\u002Fdashboard\"\n\n# Double URL encoding\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \"https:\u002F\u002Ftarget.example.com\u002F%2561dmin\u002Fdashboard\"\n\n# Trailing characters\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \"https:\u002F\u002Ftarget.example.com\u002Fadmin\u002Fdashboard\u002F\"\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \"https:\u002F\u002Ftarget.example.com\u002Fadmin\u002Fdashboard.json\"\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \"https:\u002F\u002Ftarget.example.com\u002Fadmin\u002Fdashboard%00\"\n```\n\n### Step 6: Discover Backup and Configuration Files\n\nSearch for sensitive files inadvertently exposed on the web server.\n\n```bash\n# Backup file discovery\nffuf -u https:\u002F\u002Ftarget.example.com\u002FFUZZ \\\n  -w \u002Fusr\u002Fshare\u002Fseclists\u002FDiscovery\u002FWeb-Content\u002Fraft-medium-files.txt \\\n  -e .bak,.old,.orig,.save,.swp,.tmp,.dist,.config,.sql,.gz,.tar,.zip \\\n  -mc 200 -t 50 -rate 100\n\n# Common sensitive files\nfor file in .env .git\u002Fconfig .git\u002FHEAD .svn\u002Fentries \\\n  web.config wp-config.php.bak config.php.old \\\n  database.yml .htpasswd server-status phpinfo.php \\\n  robots.txt sitemap.xml crossdomain.xml; do\n  status=$(curl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \\\n    \"https:\u002F\u002Ftarget.example.com\u002F$file\")\n  if [ \"$status\" != \"404\" ]; then\n    echo \"FOUND ($status): $file\"\n  fi\ndone\n\n# Git repository exposure check\ncurl -s \"https:\u002F\u002Ftarget.example.com\u002F.git\u002FHEAD\"\n# If this returns \"ref: refs\u002Fheads\u002Fmain\", the git repo is exposed\n```\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| **Forced Browsing** | Directly accessing URLs that are not linked but exist on the server |\n| **Directory Enumeration** | Brute-forcing directory and file names against a wordlist to discover hidden content |\n| **Authentication Bypass** | Accessing protected resources without valid credentials due to missing access checks |\n| **Path Normalization** | Exploiting differences in how web servers and application frameworks parse URL paths |\n| **Method-based Bypass** | Using alternative HTTP methods (PUT, DELETE) that may not have authentication checks |\n| **Information Disclosure** | Exposure of sensitive configuration files, backups, or debug interfaces |\n| **Defense in Depth** | Layered security controls where authentication is enforced at multiple levels |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| **ffuf** | Fast web fuzzer for directory, file, and parameter enumeration |\n| **Gobuster** | Directory and DNS brute-forcing tool written in Go |\n| **Feroxbuster** | Recursive content discovery tool with automatic recursion |\n| **DirBuster** | OWASP Java-based directory brute-force tool with GUI |\n| **Burp Suite** | HTTP proxy for request interception and automated scanning |\n| **SecLists** | Comprehensive collection of wordlists for security testing |\n\n## Common Scenarios\n\n### Scenario 1: Exposed Admin Panel\nAn admin panel at `\u002Fadmin\u002F` is only hidden by not being linked in the navigation. Direct URL access reveals the full administrative interface without any authentication check.\n\n### Scenario 2: Unprotected API Endpoints\nAPI endpoints at `\u002Fapi\u002Fv1\u002Fusers` and `\u002Fapi\u002Fv1\u002Fsettings` require authentication in the frontend application but the backend API does not enforce session validation, allowing unauthenticated direct access.\n\n### Scenario 3: Backup File Containing Credentials\nA developer left `config.php.bak` on the production server. This backup file contains database credentials in plaintext, discovered through extension-based enumeration.\n\n### Scenario 4: Spring Boot Actuator Exposure\nThe `\u002Factuator\u002Fenv` endpoint is exposed without authentication, revealing environment variables including database connection strings, API keys, and secrets.\n\n## Output Format\n\n```\n## Forced Browsing \u002F Authentication Bypass Finding\n\n**Vulnerability**: Missing Authentication on Administrative Interface\n**Severity**: Critical (CVSS 9.1)\n**Location**: \u002Fadmin\u002Fdashboard (GET, no authentication required)\n**OWASP Category**: A01:2021 - Broken Access Control\n\n### Discovered Unprotected Resources\n| Path | Status | Auth Required | Content |\n|------|--------|---------------|---------|\n| \u002Fadmin\u002Fdashboard | 200 | No | Full admin panel |\n| \u002Fadmin\u002Fusers | 200 | No | User management |\n| \u002Factuator\u002Fenv | 200 | No | Environment variables |\n| \u002Fconfig.php.bak | 200 | No | Database credentials |\n| \u002F.git\u002FHEAD | 200 | No | Git repository metadata |\n\n### Impact\n- Unauthenticated access to administrative functions\n- Ability to create, modify, and delete user accounts\n- Exposure of database credentials and API keys\n- Full source code disclosure via exposed Git repository\n\n### Recommendation\n1. Implement authentication checks at the server\u002Fmiddleware level for all admin routes\n2. Remove backup files, debug endpoints, and version control metadata from production\n3. Configure web server to deny access to sensitive file extensions (.bak, .old, .env, .git)\n4. Implement IP-based access restrictions for administrative interfaces\n5. Use a reverse proxy to restrict access to internal-only endpoints\n```\n","# Bypassing Authentication with Forced Browsing\n\n## When to Use\n\n- During authorized penetration tests to discover hidden or unprotected administrative pages\n- When testing whether authentication is consistently enforced across all application endpoints\n- For identifying backup files, configuration files, and debug interfaces left exposed in production\n- When assessing access control on API endpoints that should require authentication\n- During security audits to validate that all sensitive resources enforce session validation\n\n## Prerequisites\n\n- **Authorization**: Written penetration testing agreement covering directory enumeration\n- **ffuf**: Fast web fuzzer (`go install github.com\u002Fffuf\u002Fffuf\u002Fv2@latest`)\n- **Gobuster**: Directory brute-force tool (`apt install gobuster`)\n- **Burp Suite**: For intercepting and analyzing requests and responses\n- **Wordlists**: SecLists collection (`git clone https:\u002F\u002Fgithub.com\u002Fdanielmiessler\u002FSecLists.git`)\n- **Target access**: Network connectivity and valid test credentials for authenticated comparison\n\n## Workflow\n\n### Step 1: Enumerate Hidden Directories and Files\n\nUse ffuf or Gobuster to discover paths not linked in the application's navigation.\n\n```bash\n# Directory enumeration with ffuf\nffuf -u https:\u002F\u002Ftarget.example.com\u002FFUZZ \\\n  -w \u002Fusr\u002Fshare\u002Fseclists\u002FDiscovery\u002FWeb-Content\u002Fraft-medium-directories.txt \\\n  -mc 200,301,302,403 \\\n  -fc 404 \\\n  -o results-dirs.json -of json \\\n  -t 50 -rate 100\n\n# File enumeration with common extensions\nffuf -u https:\u002F\u002Ftarget.example.com\u002FFUZZ \\\n  -w \u002Fusr\u002Fshare\u002Fseclists\u002FDiscovery\u002FWeb-Content\u002Fraft-medium-files.txt \\\n  -e .php,.asp,.aspx,.jsp,.html,.js,.json,.xml,.bak,.old,.txt,.cfg,.conf,.env \\\n  -mc 200,301,302,403 \\\n  -fc 404 \\\n  -o results-files.json -of json \\\n  -t 50 -rate 100\n\n# Gobuster for directory enumeration\ngobuster dir -u https:\u002F\u002Ftarget.example.com \\\n  -w \u002Fusr\u002Fshare\u002Fseclists\u002FDiscovery\u002FWeb-Content\u002Fdirectory-list-2.3-medium.txt \\\n  -s \"200,204,301,302,307,403\" \\\n  -x php,asp,aspx,jsp,html \\\n  -o gobuster-results.txt \\\n  -t 50\n```\n\n### Step 2: Discover Administrative and Debug Interfaces\n\nTarget common administrative paths and debug endpoints.\n\n```bash\n# Admin panel enumeration\nffuf -u https:\u002F\u002Ftarget.example.com\u002FFUZZ \\\n  -w \u002Fusr\u002Fshare\u002Fseclists\u002FDiscovery\u002FWeb-Content\u002Fcommon.txt \\\n  -mc 200,301,302 \\\n  -t 50 -rate 100\n\n# Common admin paths to check manually:\n# \u002Fadmin, \u002Fadministrator, \u002Fadmin-panel, \u002Fwp-admin\n# \u002Fcpanel, \u002Fphpmyadmin, \u002Fadminer, \u002Fmanager\n# \u002Fconsole, \u002Fdebug, \u002Factuator, \u002Fswagger-ui\n# \u002Fgraphql, \u002Fgraphiql, \u002F.env, \u002Fserver-status\n\n# API endpoint discovery\nffuf -u https:\u002F\u002Ftarget.example.com\u002Fapi\u002FFUZZ \\\n  -w \u002Fusr\u002Fshare\u002Fseclists\u002FDiscovery\u002FWeb-Content\u002Fapi\u002Fapi-endpoints.txt \\\n  -mc 200,201,204,301,302,401,403 \\\n  -fc 404 \\\n  -o api-results.json -of json\n\n# Check for Spring Boot Actuator endpoints\nfor endpoint in env health info beans configprops mappings trace; do\n  curl -s -o \u002Fdev\u002Fnull -w \"%{http_code} \u002Factuator\u002F$endpoint\\n\" \\\n    \"https:\u002F\u002Ftarget.example.com\u002Factuator\u002F$endpoint\"\ndone\n```\n\n### Step 3: Test Authentication Enforcement on Discovered Endpoints\n\nCompare responses between unauthenticated and authenticated requests.\n\n```bash\n# Test without authentication\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002Fadmin\u002Fdashboard\"\n\n# Test with valid session cookie\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \\\n  -b \"session=valid_session_token_here\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002Fadmin\u002Fdashboard\"\n\n# Automated check: compare response sizes\n# Unauthenticated request\ncurl -s \"https:\u002F\u002Ftarget.example.com\u002Fadmin\u002Fusers\" | wc -c\n\n# Authenticated request\ncurl -s -b \"session=valid_token\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002Fadmin\u002Fusers\" | wc -c\n\n# If both return similar content, authentication is not enforced\n\n# Test with Burp Intruder: send a list of discovered URLs\n# without cookies and flag any 200 responses\n```\n\n### Step 4: Test HTTP Method-Based Authentication Bypass\n\nSome applications only enforce authentication for specific HTTP methods.\n\n```bash\n# Test different HTTP methods on protected endpoints\nfor method in GET POST PUT DELETE PATCH OPTIONS HEAD TRACE; do\n  echo -n \"$method: \"\n  curl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \\\n    -X \"$method\" \"https:\u002F\u002Ftarget.example.com\u002Fadmin\u002Fsettings\"\ndone\n\n# Test HTTP method override headers\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \\\n  -X POST \\\n  -H \"X-HTTP-Method-Override: GET\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002Fadmin\u002Fsettings\"\n\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \\\n  -H \"X-Original-Method: GET\" \\\n  -H \"X-Rewrite-URL: \u002Fadmin\u002Fsettings\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002F\"\n```\n\n### Step 5: Test Path Traversal and URL Normalization Bypass\n\nExploit URL parsing differences to bypass path-based authentication rules.\n\n```bash\n# Path normalization bypass attempts\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \"https:\u002F\u002Ftarget.example.com\u002Fadmin\u002Fdashboard\"\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \"https:\u002F\u002Ftarget.example.com\u002FADMIN\u002Fdashboard\"\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \"https:\u002F\u002Ftarget.example.com\u002Fadmin\u002F.\u002Fdashboard\"\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \"https:\u002F\u002Ftarget.example.com\u002Fpublic\u002F..\u002Fadmin\u002Fdashboard\"\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \"https:\u002F\u002Ftarget.example.com\u002Fadmin%2fdashboard\"\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \"https:\u002F\u002Ftarget.example.com\u002F;\u002Fadmin\u002Fdashboard\"\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \"https:\u002F\u002Ftarget.example.com\u002Fadmin;anything\u002Fdashboard\"\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \"https:\u002F\u002Ftarget.example.com\u002F.;\u002Fadmin\u002Fdashboard\"\n\n# Double URL encoding\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \"https:\u002F\u002Ftarget.example.com\u002F%2561dmin\u002Fdashboard\"\n\n# Trailing characters\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \"https:\u002F\u002Ftarget.example.com\u002Fadmin\u002Fdashboard\u002F\"\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \"https:\u002F\u002Ftarget.example.com\u002Fadmin\u002Fdashboard.json\"\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \"https:\u002F\u002Ftarget.example.com\u002Fadmin\u002Fdashboard%00\"\n```\n\n### Step 6: Discover Backup and Configuration Files\n\nSearch for sensitive files inadvertently exposed on the web server.\n\n```bash\n# Backup file discovery\nffuf -u https:\u002F\u002Ftarget.example.com\u002FFUZZ \\\n  -w \u002Fusr\u002Fshare\u002Fseclists\u002FDiscovery\u002FWeb-Content\u002Fraft-medium-files.txt \\\n  -e .bak,.old,.orig,.save,.swp,.tmp,.dist,.config,.sql,.gz,.tar,.zip \\\n  -mc 200 -t 50 -rate 100\n\n# Common sensitive files\nfor file in .env .git\u002Fconfig .git\u002FHEAD .svn\u002Fentries \\\n  web.config wp-config.php.bak config.php.old \\\n  database.yml .htpasswd server-status phpinfo.php \\\n  robots.txt sitemap.xml crossdomain.xml; do\n  status=$(curl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \\\n    \"https:\u002F\u002Ftarget.example.com\u002F$file\")\n  if [ \"$status\" != \"404\" ]; then\n    echo \"FOUND ($status): $file\"\n  fi\ndone\n\n# Git repository exposure check\ncurl -s \"https:\u002F\u002Ftarget.example.com\u002F.git\u002FHEAD\"\n# If this returns \"ref: refs\u002Fheads\u002Fmain\", the git repo is exposed\n```\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| **Forced Browsing** | Directly accessing URLs that are not linked but exist on the server |\n| **Directory Enumeration** | Brute-forcing directory and file names against a wordlist to discover hidden content |\n| **Authentication Bypass** | Accessing protected resources without valid credentials due to missing access checks |\n| **Path Normalization** | Exploiting differences in how web servers and application frameworks parse URL paths |\n| **Method-based Bypass** | Using alternative HTTP methods (PUT, DELETE) that may not have authentication checks |\n| **Information Disclosure** | Exposure of sensitive configuration files, backups, or debug interfaces |\n| **Defense in Depth** | Layered security controls where authentication is enforced at multiple levels |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| **ffuf** | Fast web fuzzer for directory, file, and parameter enumeration |\n| **Gobuster** | Directory and DNS brute-forcing tool written in Go |\n| **Feroxbuster** | Recursive content discovery tool with automatic recursion |\n| **DirBuster** | OWASP Java-based directory brute-force tool with GUI |\n| **Burp Suite** | HTTP proxy for request interception and automated scanning |\n| **SecLists** | Comprehensive collection of wordlists for security testing |\n\n## Common Scenarios\n\n### Scenario 1: Exposed Admin Panel\nAn admin panel at `\u002Fadmin\u002F` is only hidden by not being linked in the navigation. Direct URL access reveals the full administrative interface without any authentication check.\n\n### Scenario 2: Unprotected API Endpoints\nAPI endpoints at `\u002Fapi\u002Fv1\u002Fusers` and `\u002Fapi\u002Fv1\u002Fsettings` require authentication in the frontend application but the backend API does not enforce session validation, allowing unauthenticated direct access.\n\n### Scenario 3: Backup File Containing Credentials\nA developer left `config.php.bak` on the production server. This backup file contains database credentials in plaintext, discovered through extension-based enumeration.\n\n### Scenario 4: Spring Boot Actuator Exposure\nThe `\u002Factuator\u002Fenv` endpoint is exposed without authentication, revealing environment variables including database connection strings, API keys, and secrets.\n\n## Output Format\n\n```\n## Forced Browsing \u002F Authentication Bypass Finding\n\n**Vulnerability**: Missing Authentication on Administrative Interface\n**Severity**: Critical (CVSS 9.1)\n**Location**: \u002Fadmin\u002Fdashboard (GET, no authentication required)\n**OWASP Category**: A01:2021 - Broken Access Control\n\n### Discovered Unprotected Resources\n| Path | Status | Auth Required | Content |\n|------|--------|---------------|---------|\n| \u002Fadmin\u002Fdashboard | 200 | No | Full admin panel |\n| \u002Fadmin\u002Fusers | 200 | No | User management |\n| \u002Factuator\u002Fenv | 200 | No | Environment variables |\n| \u002Fconfig.php.bak | 200 | No | Database credentials |\n| \u002F.git\u002FHEAD | 200 | No | Git repository metadata |\n\n### Impact\n- Unauthenticated access to administrative functions\n- Ability to create, modify, and delete user accounts\n- Exposure of database credentials and API keys\n- Full source code disclosure via exposed Git repository\n\n### Recommendation\n1. Implement authentication checks at the server\u002Fmiddleware level for all admin routes\n2. Remove backup files, debug endpoints, and version control metadata from production\n3. Configure web server to deny access to sensitive file extensions (.bak, .old, .env, .git)\n4. Implement IP-based access restrictions for administrative interfaces\n5. Use a reverse proxy to restrict access to internal-only endpoints\n```\n",{"name":5,"tags":25,"author":32,"domain":33,"license":15,"version":34,"nist_csf":35,"subdomain":40,"description":7,"mitre_attack":41},[26,27,28,29,30,31],"penetration-testing","authentication-bypass","forced-browsing","ffuf","directory-enumeration","owasp","mahipal","cybersecurity","1.0",[36,37,38,39],"PR.PS-01","ID.RA-01","PR.DS-10","DE.CM-01","web-application-security",[42,43,44],"T1190","T1083","T1087","main","7540bbccf0c1ded6156a467b02c95b61ad62413f",".agents\u002Fskills\u002Fbypassing-authentication-with-forced-browsing","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena","Currently exploring the intersection of tech","2026-09-11 03:02:31",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add NeelakshSaxena\u002FVayu --skill bypassing-authentication-with-forced-browsing",{"tool":58,"command":59},"bunx","bunx skills add NeelakshSaxena\u002FVayu --skill bypassing-authentication-with-forced-browsing",{"tool":61,"command":62},"pnpm","pnpm dlx skills add NeelakshSaxena\u002FVayu --skill bypassing-authentication-with-forced-browsing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbypassing-authentication-with-forced-browsing\u002FSKILL.md",true,[66,70,76],{"path":67,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fapi-reference.md","REFERENCE","参考文档",2244,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbypassing-authentication-with-forced-browsing\u002Freferences\u002Fapi-reference.md",{"path":77,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":80,"sourceHtmlUrl":81},"scripts\u002Fagent.py","SCRIPT","脚本",6826,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbypassing-authentication-with-forced-browsing\u002Fscripts\u002Fagent.py",[83,90,97,104,111,118],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":20},"01M7ACCCVNCFKMA9X6D15X6G98","runpodctl","Runpod CLI for managing GPU\u002FCPU workloads from the terminal — pods, serverless endpoints, templates, network volumes, Hub deploys, models, SSH, and file transfer (send\u002Freceive). Use for terminal\u002FCI\u002Fscripting, Hub browse\u002Fdeploy, SSH setup, `doctor`, or when the Runpod MCP tools are not connected. For structured tool calls in an MCP-enabled session, prefer runpod-mcp.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":20},"01M7ACC63SRHEA5KMCHSMZK2TC","runpod","Start here for any Runpod task — running GPU\u002FCPU pods, deploying serverless endpoints, templates, network volumes, building images, or understanding how Runpod works. Routes to the right skill (runpod-mcp, runpodctl, flash, companion-clis, runpod-usage, runpod-templates, runpod-migrate) and indexes two dozen live-verified end-to-end examples (golden paths) — use it when the lane is unclear, and for any multi-step or provisioning task even when it is not.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":20},"01M7ACC0Q1C89N9BZBV91CTQTF","runpod-usage","How Runpod works and how to work it — pods vs serverless, GPU\u002FVRAM selection, storage, building a container, networking, plus the agentic pod development loop (provision → ssh-exec → set up → poll readiness) and on-pod install hygiene (uv\u002Fapt). Use to answer \"how does X work\", \"which GPU\", \"how do I build a container\", or \"how do I stand up a workload on a pod\". Guidance, not a tool — execute with runpodctl, runpod-mcp, or flash.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-usage\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":20},"01M7ACBRPE345GF5GM5B8P8RRC","runpod-templates","Runpod's official prebuilt pod templates (ComfyUI, PyTorch, and others): what each image ships, which ports and paths it uses, how to pick one, how to pin a version, and what is missing on first boot. Use when a task says \"run \u003CX> on a pod\" and an official template already covers it, instead of building an image — and when a user needs help with or wants to fix something about a Runpod template they are already running (won't boot, can't reach the UI, missing models, wrong CUDA line, broken ComfyUI workflow metadata on imported workflows): start here and route onward. Deploy with runpodctl or runpod-mcp; end-to-end walkthroughs live in the runpod router's golden paths.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-templates\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":20},"01M7ACBJATHKVX1TWES2F44GY8","runpod-migrate","Migrate a codebase from the Runpod GraphQL API or REST v1 to REST v2 — inventory which parts use which API version, rewrite the call sites, flag breaking changes, and verify. Use when someone asks to move to v2, asks what v2 would change, or asks which Runpod API their code is on. For managing infrastructure rather than migrating code, use runpod-mcp or runpodctl.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-migrate\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":20},"01M7ACBC7GHVH6T9YEAPCG2AP8","runpod-mcp","Manage Runpod infrastructure — pods, serverless endpoints, jobs, templates, network volumes, container-registry auth, GPU\u002FCPU catalog, and billing — via the Runpod MCP server's structured tool calls. Use when the Runpod MCP tools (create-pod, list-endpoints, …) are connected in this session, or to connect them (hosted OAuth or local npx). Prefer this over runpodctl for plain infra CRUD when MCP is available; use runpodctl for the terminal, file transfer, or SSH setup.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-mcp\u002FSKILL.md",[],[]]