WAF bypass

Reaching MySQL keywords, functions, and catalog tables past signature filters using versioned comments, encoding, alternative objects, and charset tricks.

1 minit bacaandikemas kini 7 Okt 2026florianamette1 penyumbang
Tanya pembantu anda (MCP)Sunting di GitHub

Web application firewalls and input filters block injection by matching signatures: keywords like UNION SELECT, function names, and the string information_schema. MySQL's dialect offers enough equivalents that most single-signature filters can be worked around, which is why keyword blocklists are a weak defense.

The main families are: comment tricks that split or conditionally run keywords, encodings that remove quotes and spaces from the payload, alternative objects that reach the same data under a different name, and charset tricks that neutralize escaping. They are combined as needed, since a filter usually blocks several patterns at once.

Pages#

Tools#

  • sqlmap: extensive tamper scripts for filter and WAF evasion.
  • Burp Repeater: craft and iterate bypass payloads manually.

References#

  • MySQL Reference Manual: comment syntax, character sets
  • OWASP Testing Guide: Testing for SQL Injection