Web apps
bughunt web crawls a running web app, then checks the site and attacks every parameter it found.
Only against a site you own. It sends real attack payloads. Like the API layer, it refuses any address that is not this machine unless --allow-host names a test host.
bughunt web --url http://localhost:3000
3 pages found by crawling, 2 with parameters to attack
23 checks matched; 7 findings after grouping
seen (not findings): Form Detection, OpenAPI - Detect, Wappalyzer Technology Detection
CRIT 1 sqli-error-based
CRIT 1 tamronos-rce
HIGH 1 generic-env
MED 1 cookie-flags-missing
MED 1 cors-trusts-other-sites
MED 1 reflected-xss
LOW 1 missing-security-headers
What it checks
- Every parameter it finds: SQL injection, cross-site scripting, command and template injection, and more.
- The site: exposed files (
.env, backups, git folders), known vulnerable software, misconfiguration, CORS, cookie flags, security headers. - TLS when the address is https.
Many raw matches say one thing: ten missing headers are one finding, three templates that fetched the same .env are one finding. What is not a weakness (the technology, a form) is listed as seen, not as a finding.
What it leaves alone
Templates that could take a site down are never run, and no out-of-band server is used, so nothing about your site is sent to a third party. It scans what a visitor without a login sees; logging in is not supported yet.
Options
| Option | What it does |
|---|---|
--url URL | The running site. |
--depth N | How many links deep to crawl (default 3). |
--minutes N | The most the whole scan may take (default 30). |
--allow-host HOST | Allow one host that is not this machine. |