Attacks and Vulnerabilities
This page is the hub for common web application vulnerability classes. Detailed pages are linked where they already exist; shorter entries stay inline until they grow enough to deserve their own page.
Broken Authentication
Broken AuthenticationBroken Links
Broken Links
broken-link-checker - Find broken links, missing images, etc within your HTML.
Browser Attacks
Browser Attacks
Beef - BeEF is short for The Browser Exploitation Framework. It is a penetration testing tool that focuses on the web browser.
Metasploit; Browser-AutoPwn
Advanced Penetration Testing: Browser Pivoting - pg. 23
Business logic flaws
Business Logic FlawsBypass Methodology
Bypass Methodology
byp4xx - Python script for HTTP 40X response bypass testing. Features include verb tampering, header tricks, and user-agent rotation.
403bypasser - automates the techniques used to circumvent access control restrictions on target pages.
bypass-403 - A simple script just made for self use for bypassing 403
Clickjacking
ClickjackingCommand Injection
Command InjectionCORS Attacks
CORS Misconfig
Corsy - CORS Misconfiguration Scanner
CORScanner - Fast CORS misconfiguration scanner.
CORStest - A simple CORS misconfiguration scanner
CorsMe - Cross Origin Resource Sharing MisConfiguration Scanner
of-CORS - Truffle Security's tool suite for identifying and exploiting CORS misconfigurations on the internal networks of bug bounty targets using typosquatting.
Cross Site Leaks
https://xsleaks.dev/ - Huge resource around cross site leak vulnerabilities
CSRF - Cross Site Request Forgery
CSRFCarriage Return and Line Feed (CRLF) Injection
CRLF Injection
CRLF-Injection-Scanner - Command line tool for testing CRLF injection on a list of domains.
crlfuzz A fast tool to scan CRLF vulnerability written in Go
crlfmap - CRLFMap is a tool to find HTTP Splitting vulnerabilities
Client Side Template Injection
Client Side Template Injection Scanner - ACSTIS helps you to scan certain web applications for AngularJS Client-Side Template Injection (sometimes referred to as CSTI, sandbox escape or sandbox bypass). It supports scanning a single request but also crawling the entire web application for the AngularJS CSTI vulnerability.
CSV Injection
Dependency Confusion
Deserialization Attacks
DeserializationDirectory Traversal
Directory traversal (also known as file path traversal) is a web security vulnerability that allows an attacker to read arbitrary files on the server that is running an application. This might include application code and data, credentials for back-end systems, and sensitive operating system files.
Basics
Simple attack
Linux system - ../../../etc/passwd
Windows system ..\..\..\windows\win.ini
Absolute path from filesystem without traversal sequences
filename=/etc/passwd
Nested Traversal Sequences
....// or ....\/ will revert when stripped
....//....//....//etc/passwd
Non standard encoding
You might be able to use various non-standard encodings, such as ..%c0%af or ..%252f, to bypass the input filter.
..%252f..%252f..%252fetc/passwd
Valid start of path/base folder
filename=/var/www/images/../../../etc/passwd
File extension null byte bypass
If an application requires that the user-supplied filename must end with an expected file extension, such as .png, then it might be possible to use a null byte to effectively terminate the file path before the required extension.
filename=../../../etc/passwd%00.png
dotdotpwn - DotDotPwn is a very flexible intelligent fuzzer to discover traversal directory vulnerabilities in software such as HTTP/FTP/TFTP servers, Web platforms such as CMSs, ERPs, Blogs, etc.
File Inclusion Vulnerabilities
File inclusion vulnerabilities allow an attacker to include a file into the application's running code. In order to actually exploit a file inclusion vulnerability, we must be able to not only execute code, but also to write our shell payload somewhere.
Discovered the same way as directory transversals
Locate parameters you can manipulate and attempt to use them to load arbitrary files
We take it one step further and attempt to execute the contents of the file within the application
Local file inclusions (LFI) occur when the included file is loaded from the same web server.
http://10.11.0.22/menu.php?file=c:\xampp\apache\logs\access.log&cmd=ipconfig
Remote file inclusions (RFI) occur when a file is loaded from an external source.
Try changing the local path parameter to a URL.
LFISuite - LFI Suite is a totally automatic tool able to scan and exploit Local File Inclusion vulnerabilities using many different methods of attack
Liffy - Local File Inclusion Exploitation tool.
Kadimus - Kadimus is a tool to check for and exploit LFI vulnerabilities, with a focus on PHP systems.
fimap - Fimap is a little python tool which can find, prepare, audit, exploit and even google automatically for local and remote file inclusion bugs in webapps.
TryHackMe LFI Basics - Training resource; canonical training links are maintained in Training.
File Upload
File Upload
fuxploider - File upload vulnerability scanner and exploitation tool.
HTML Injection
HTTP Host Header Attacks
HTTP Host Header AttacksHTTP Request Smuggling
HTTP Request SmugglingInput Fuzzing
Input Fuzzing
Wfuzz - Powerful Web application content fuzzer.
FuzzDb - FuzzDB was created to increase the likelihood of finding application security vulnerabilities through dynamic application security testing.
ffuf - A super fast web fuzzer written in Go.
QsFuzz - Qsfuzz (Query String Fuzz) allows you to build your own rules to fuzz query strings and easily identify vulnerabilities.
AFLplusplus - The fuzzer afl++ is afl with community patches, qemu 5.1 upgrade, collision-free coverage, enhanced laf-intel & redqueen, AFLfast++ power schedules, MOpt mutators, unicorn_mode, and a lot more!
Insecure Direct Object Reference
Insecure Direct Object ReferenceLDAP Injection
Open Redirect Vulnerabilities
Open Redirect Vulnerabilities
OpenRedireX - A Fuzzer for OpenRedirect issues
Oralyzer - Open Redirection Analyzer
Open Redirect Vulnerabilities - Bug Bounty Hunting Essentials, pg.141
Prototype Pollution
ppfuzz - A fast tool to scan client-side prototype pollution vulnerability written in Rust.
Security Misconfigurations
Security misconfigurations include:\
Poorly configured permissions on cloud services, like S3 buckets.
Unnecessary features enabled, like services, pages, accounts, or privileges.
Default accounts with unchanged passwords.
Error messages that are overly detailed and expose system information.
Missing HTTP security headers or overly detailed
Serverheaders.
Sidejacking
hamster-sidejack - Legacy sidejacking tool. Kept as historical context; modern session protections and HTTPS make the original workflow much less broadly applicable.
SQL Injection
SQL InjectionSSRF: Server Side Request Forgery
SSRF
SSRF Bible - Ultimate Guide to SSRF vulnerabilities and attacks
SSRF-Testing - SSRF (Server Side Request Forgery) testing resources
Ground Control - This is a collection of scripts used to debug Server Side Request Forgery (SSRF), blind XSS, and insecure XXE processing vulnerabilities.
SSRFire - An automated SSRF finder. Just give the domain name and your server and chill! ;) Also has options to find XSS and open redirects
Gopherus - This tool generates gopher link for exploiting SSRF and gaining RCE in various servers
https://tools.intigriti.io/redirector/ - SSRF payload redirect generator
SSTI: Server Side Template Injection
SSTI
TPLmap - Server-Side Template Injection and Code Injection Detection and Exploitation Tool
TryHackMe SSTI - Training resource; canonical training links are maintained in Training.
Template Injection - Bug Bounty Hunting Essentials, pg.189
X-Path Injection
Web Cache Poisoning
Web Cache PoisoningWeb Man-In-The-Middle
Evilginx2 - Standalone web phishing/MITM framework used to capture credentials and session cookies. This belongs primarily with social engineering and MITM workflows, not routine web-app testing.
MITM Proxy - Mitmproxy is your swiss-army knife for debugging, testing, privacy measurements, and penetration testing. It can be used to intercept, inspect, modify and replay web traffic such as HTTP/1, HTTP/2, WebSockets, or any other SSL/TLS-protected protocols.
Web Sockets
Web SocketsXXE - XML External Entity Attacks
XXE - XML External Entity AttacksXSS - Cross Site Scripting
XSS - Cross Site ScriptingLast updated