National Cyber Warfare Foundation (NCWF)login

fuzzhttpbypass for probing HTTP access control inconsistencies


0 user ratings
2026-11-08 11:26:59
milo
Red Team (CNA)
"fuzzhttpbypass

fuzzhttpbypass systematically applies small mutations to HTTP requests against endpoints you are authorized to test, flagging when path, header, method, or auth variations change the server's access decision.








Toolcarlospolop/fuzzhttpbypass — Python fuzzer that detects when minor HTTP request variations alter access to a URL
CategoryWeb application authorization testing / HTTP fuzzing
Primary UseFinding access-control bypasses on endpoints during authorized pentests and CTFs by fuzzing paths, headers, methods, auth, and protocol variations
Safe UseExplicitly designed for authorized testing and CTFs; point it only at systems you own or have written permission to assess, using --rate, --concurrency, and --max-requests to keep traffic bounded
Telemetry NoteGenerates distinctive request patterns — trailing-slash, encoded-separator, method override, and identity header probes — that WAFs and server logs surface readily; all findings are re-sent before reporting, doubling those signatures

Authorization flaws remain one of the hardest bug classes to automate because they are logic problems, not parsing problems. carlospolop/fuzzhttpbypass takes a pragmatic swing at the class: instead of trying to understand an application's access model, it applies a curated corpus of small request mutations to a single URL and reports when any of them changes what the server returns. The project, written in Python and sitting at 264 stars on GitHub with topic tags authentication, bypass, fuzzing, http, and wfuzz, is positioned squarely for authorized testing and CTFs — a framing the README states up front, along with an honest caveat that a response change alone is not proof of access and that you should confirm results with a protected-content marker via --success-regex.


The internal methodology is what separates this tool from naive fuzzers. Before probing, it sends a baseline request to capture the normal denied response, then a random missing sibling path to characterize how the server responds to genuinely nonexistent resources. That missing-path control is reused later: for header, method, authentication, and protocol findings, the same variation is replayed against the missing path, and results that behave identically on both are discarded as generic server behavior. Known volatile fields such as nonces are ignored during that comparison, which shows unusual attention to false-positive hygiene. Each finding is also re-sent before it is reported, so transient responses and flaky gateways don't pollute results.


The output taxonomy reflects this discipline. A confirmed finding means a repeatable 2xx response containing the --success-regex marker that was absent from both the baseline and the missing-path control — effectively proof you reached protected content. A candidate is a repeatable response that flipped a denied or redirecting baseline into a 2xx with content or a new cookie name while still differing from the control; the README tells you to verify these manually. A changed classification covers repeatable differences that don't establish access, surfaced only with --show-changed or in the JSON report. This three-tier scheme is far more useful than a raw diff dump, because it maps directly to how much trust you should place in each result.


Installation is minimal: python3 -m pip install . with Python 3.10 or later required. Notably, wfuzz — once a dependency and still a repo topic — is no longer needed; the old -W filter and -f examples have been removed in favor of --success-regex, --show-changed, and a JSON report. Optional extras gate additional transport capabilities: .[http2] for HTTP/2, .[socks] for SOCKS proxies, and .[ntlm] for NTLM authentication support. The project ships a test suite runnable with python3 -m unittest discover -s tests -v, and the README is explicit that tests use a local HTTP server and never contact external targets — a good sign for CI integration and for anyone auditing the codebase before running it.


The check categories cover the classic bypass canon. The paths category probes trailing and duplicate slashes, dot and parent segments, encoded separators, semicolon and dot suffixes, case changes, and directory index files — the usual arsenal against path-based routers and misconfigured reverse proxies. The methods category tries HEAD, POST, OPTIONS, TRACE, PROPFIND, REPORT, SEARCH, QUERY, and even an invented method, plus method override headers, query parameters, and form bodies; --unsafe-methods opts into PUT, PATCH, and DELETE, which the tool deliberately withholds by default since those can mutate state rather than merely read it.


The headers category targets trust-boundary assumptions that plague layered architectures: forwarding IP headers, host, protocol and path rewriting headers, Referer, Origin, User-Agent, and trusted identity headers such as X-Remote-User and X-SSL-CLIENT-CN, including alternate loopback forms. The -i flag injects an IP candidate, so if you know an internal address the application trusts, you can add it to the probe set. This is the category most likely to surface real-world wins, because header-based trust is routinely bolted on behind proxies that don't strip client-supplied values — a finding that is simultaneously an attacker technique and a defensive configuration audit result.


The auth category is deliberately conservative about credential handling. It only tries Basic or NTLM credentials you explicitly supply via repeated --basic USER:PASS, --ntlm DOMAIN\USER:PASS, or --bearer TOKEN — the tool does not guess passwords by default, which keeps it a logic-bypass prober rather than a brute-forcer. Existing authorization-like query and URL-encoded form parameters get tried with values 1, true, yes, and admin, extendable via --param-value. --identity adds names to the trusted identity header probes, and --cookie-value replaces each observed cookie value in turn, which is a clean way to test whether a session cookie is actually validated or merely echoed. A protocol category rounds things out with Accept, Content-Type, Range, Cache-Control, and X-Requested-With variants.


Operational control is well thought through for authorized engagements. --rate and --concurrency bound traffic, --max-requests caps probes per URL, --timeout limits individual requests, and responses are capped at 1 MiB by default with --max-response-bytes available for tuning. Redirects are not followed, which is the right call for this class of testing since a redirect is often the signal being measured. The -b flag disables TLS certificate verification for lab environments, and --path-variant / --header-variant let you add application-specific probes when you have insider knowledge of the target's quirks — for example, replaying a known-good /ADMIN casing or a bespoke X-Allow: yes header.


The --request-file option deserves attention from anyone working with captured traffic. It imports an HTTP/1.0 or HTTP/1.1 request line, headers, and body from a captured request file, recalculates Content-Length, and then runs the mutation suite against that template. There are sane safety rails: duplicate or folded headers are rejected, and Transfer-Encoding templates are refused outright because they would require exact wire-level handling the tool doesn't attempt — a refreshing admission of scope limits rather than a silent bug. NTLM probes fall back to HTTP/1.1, and literal dot path probes preserve the request target through the configured HTTP client and proxy.


Result hygiene extends to reporting. Each result carries the probe category, method, URL, added headers, status, redirect location, size, a SHA-256 digest of the response body, and a flag indicating whether the body changed between the verification repeats — the digest-plus-change-indicator combination makes it easy to diff runs programmatically via --json results.json. Cookie names and a change indicator are included, but cookie and credential values are redacted in output, which keeps reports shareable without leaking session material. The baseline's response cookies are carried into subsequent requests unless you supply --cookie or a Cookie header, mirroring how a browser session would behave.


From a defensive perspective, the tool doubles as a configuration audit checklist. Every check category maps to a hardening question: does your reverse proxy normalize paths before routing, does it strip client-supplied forwarding and identity headers, do all verbs enforce the same authorization policy, and are cookie values actually validated server-side? Running fuzzhttpbypass against your own staging environment before an engagement adversary does is a legitimate and productive use. The request patterns it generates are also distinctive in logs — burst of encoded separators, method overrides, and identity headers against a single path — so blue teams can use its behavior as a detection reference for this class of probing.


As a workflow example in an authorized lab: fuzzhttpbypass -u https://example.test/admin --success-regex 'Admin Dashboard' runs the full suite against a single protected endpoint with a content marker, while fuzzhttpbypass -L urls.txt --rate 2 --concurrency 2 --json results.json sweeps a list at a polite two requests per second with JSON output for later triage. The combination of the missing-path control, repeat verification, tiered classifications, redacted reporting, and conservative defaults around unsafe methods and password guessing makes this one of the more responsibly designed authorization fuzzers on GitHub, and a solid addition to an authorized web-assessment toolkit.



Official project repository for carlospolop/fuzzhttpbypass.

Download Tool

Educational analysis for authorized security professionals. Use only in controlled, authorized environments.






Source: OffensiveSec
Source Link: https://www.offsecblog.com/2026/11/fuzzhttpbypass-for-probing-http-access.html


Comments
new comment
Nobody has commented yet. Will you be the first?
 
Forum
Red Team (CNA)



Copyright 2012 through 2026 - National Cyber Warfare Foundation - All rights reserved worldwide.