Skip to content
Back to skills

Forbidden Bypass

ASecurity

Bypass of 403/401 access restrictions via path mutation, case/encoding tricks, header spoofing (X-Original-URL, X-Forwarded-For), and method switching to reach protected endpoints. Tier 1. Use whenever a known path returns 403/401.

  • 16 stars
  • 0 votes
  • 5 copies
  • 4 views
  • Added November 17, 2026
securityjavaphpbackend

Works with

  • cli

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill forbidden-bypass --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Forbidden Bypass?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Forbidden Bypass
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-forbidden-bypass/badge)](https://www.skillsdirectory.com/skills/anandjogawade-forbidden-bypass)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: forbidden-bypass
description: Bypass of 403/401 access restrictions via path mutation, case/encoding tricks, header spoofing (X-Original-URL, X-Forwarded-For), and method switching to reach protected endpoints. Tier 1. Use whenever a known path returns 403/401.
---

# 403 / 401 Forbidden Bypass

A forbidden response often guards content the server will still serve if asked differently. These tricks reach restricted paths without valid credentials.

## Trigger phrases
`403 bypass, 401 bypass, forbidden bypass, access denied bypass, x-original-url, path bypass, acl bypass`

## Method
1. **Path mutations** on the 403'd path `/admin`:
   `/admin/`, `/admin//`, `/./admin`, `/admin/.`, `/admin%2f`, `/admin/..;/`, `/./admin/./`, `/%2e/admin`, `/admin..;/`, `/admin;/`, `/admin#`, `/admin?`, `/admin.json`, `/admin.html`, trailing `%20 %09 %00 ..%2f`, double-encode (`%252f`). Tool: `ffuf` the mutations, or `byp4xx`/`nomore403`/`4-ZERO-3`.
2. **Case & extension**: `/ADMIN`, `/Admin`, `/admin.PHP`, uppercase segments (some proxies match case-sensitively, backends don't).
3. **Header spoofing** (make the backend think the request is internal/pre-authorized):
   `X-Original-URL: /admin`, `X-Rewrite-URL: /admin`, `X-Forwarded-For: 127.0.0.1`, `X-Forwarded-Host`, `X-Real-IP: 127.0.0.1`, `X-Client-IP`, `X-Host`, `Referer: <same site>`, `X-Custom-IP-Authorization: 127.0.0.1`.
4. **Method switch**: `POST`/`PUT`/`PATCH`/`HEAD`/`TRACE`/arbitrary verb (`FOO`) vs blocked `GET`; HTTP version downgrade (`HTTP/1.0`).
5. **Routing split**: front-end proxy allows but backend blocks (or vice versa) — combine `X-Original-URL` with the proxy-visible path; see `web-request-smuggling` for desync-based ACL bypass.

## Modern / rare techniques
- **`..;/` (Tomcat/Java) and `;/` matrix params** bypass path-based ACLs.
- **Unicode/overlong-UTF8 and best-fit** path chars that normalize after the ACL check.
- **Parser differential** between edge and origin on the same path (2025) → authz bypass.

## Bypass / evasion
Combine with ${CLAUDE_PLUGIN_ROOT}/payloads/waf-bypass.md encodings; chain header + path mutations together.

## Escalation / chaining
Reached admin/internal path → `web-access-control`, `exposed-tools`, `login-panel`, `idor`, `business-logic`. Proxy/backend split → `web-request-smuggling`, `mod-proxy-ssrf`.

## Backend & tooling
Kali/HexStrike (`byp4xx`/`nomore403`/ffuf/curl) + Burp Repeater for header/method tampering.

## Verification (background, before reporting)
Confirm the bypass returns the genuine protected content (not a 200 error/empty/decoy); diff against an authorized view where possible. Reproduce independently before reporting.

## Evidence
Original 403/401 request, the working bypass request/response, the protected content reached, impact + remediation (enforce authz at the app layer for all methods/encodings, normalize paths before ACL).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.