@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,632 @@
1
+ [
2
+ {
3
+ "id": "UPLOAD-001",
4
+ "payload": "filename=\"shell.php\"",
5
+ "tags": ["file-upload", "extension", "php"],
6
+ "expected_block": true,
7
+ "severity_hint": "critical",
8
+ "notes": "Direct PHP extension upload attempt",
9
+ "category": "Upload"
10
+ },
11
+ {
12
+ "id": "UPLOAD-002",
13
+ "payload": "filename=\"shell.php5\"",
14
+ "tags": ["file-upload", "extension", "php-alternative"],
15
+ "expected_block": true,
16
+ "severity_hint": "critical",
17
+ "notes": "PHP5 alternative extension",
18
+ "category": "Upload"
19
+ },
20
+ {
21
+ "id": "UPLOAD-003",
22
+ "payload": "filename=\"shell.phtml\"",
23
+ "tags": ["file-upload", "extension", "phtml"],
24
+ "expected_block": true,
25
+ "severity_hint": "critical",
26
+ "notes": "PHTML extension bypass",
27
+ "category": "Upload"
28
+ },
29
+ {
30
+ "id": "UPLOAD-004",
31
+ "payload": "filename=\"shell.phar\"",
32
+ "tags": ["file-upload", "extension", "phar"],
33
+ "expected_block": true,
34
+ "severity_hint": "critical",
35
+ "notes": "PHP Archive file upload",
36
+ "category": "Upload"
37
+ },
38
+ {
39
+ "id": "UPLOAD-005",
40
+ "payload": "filename=\"shell.php.jpg\"",
41
+ "tags": ["file-upload", "double-extension"],
42
+ "expected_block": true,
43
+ "severity_hint": "critical",
44
+ "notes": "Double extension bypass",
45
+ "category": "Upload"
46
+ },
47
+ {
48
+ "id": "UPLOAD-006",
49
+ "payload": "filename=\"shell.jpg.php\"",
50
+ "tags": ["file-upload", "double-extension"],
51
+ "expected_block": true,
52
+ "severity_hint": "critical",
53
+ "notes": "Reverse double extension",
54
+ "category": "Upload"
55
+ },
56
+ {
57
+ "id": "UPLOAD-007",
58
+ "payload": "filename=\"shell.php%00.jpg\"",
59
+ "tags": ["file-upload", "null-byte"],
60
+ "expected_block": true,
61
+ "severity_hint": "critical",
62
+ "notes": "Null byte injection in filename",
63
+ "category": "Upload"
64
+ },
65
+ {
66
+ "id": "UPLOAD-008",
67
+ "payload": "filename=\"shell.php;.jpg\"",
68
+ "tags": ["file-upload", "semicolon-bypass"],
69
+ "expected_block": true,
70
+ "severity_hint": "high",
71
+ "notes": "Semicolon extension bypass",
72
+ "category": "Upload"
73
+ },
74
+ {
75
+ "id": "UPLOAD-009",
76
+ "payload": "filename=\"shell.PhP\"",
77
+ "tags": ["file-upload", "case-manipulation"],
78
+ "expected_block": true,
79
+ "severity_hint": "critical",
80
+ "notes": "Case manipulation bypass",
81
+ "category": "Upload"
82
+ },
83
+ {
84
+ "id": "UPLOAD-010",
85
+ "payload": "filename=\"shell.p.h.p\"",
86
+ "tags": ["file-upload", "dotted-extension"],
87
+ "expected_block": true,
88
+ "severity_hint": "high",
89
+ "notes": "Dotted extension bypass attempt",
90
+ "category": "Upload"
91
+ },
92
+ {
93
+ "id": "UPLOAD-011",
94
+ "payload": "filename=\"shell.jsp\"",
95
+ "tags": ["file-upload", "extension", "jsp"],
96
+ "expected_block": true,
97
+ "severity_hint": "critical",
98
+ "notes": "Java Server Pages upload",
99
+ "category": "Upload"
100
+ },
101
+ {
102
+ "id": "UPLOAD-012",
103
+ "payload": "filename=\"shell.jspx\"",
104
+ "tags": ["file-upload", "extension", "jspx"],
105
+ "expected_block": true,
106
+ "severity_hint": "critical",
107
+ "notes": "JSPX variant upload",
108
+ "category": "Upload"
109
+ },
110
+ {
111
+ "id": "UPLOAD-013",
112
+ "payload": "filename=\"shell.asp\"",
113
+ "tags": ["file-upload", "extension", "asp"],
114
+ "expected_block": true,
115
+ "severity_hint": "critical",
116
+ "notes": "Classic ASP upload",
117
+ "category": "Upload"
118
+ },
119
+ {
120
+ "id": "UPLOAD-014",
121
+ "payload": "filename=\"shell.aspx\"",
122
+ "tags": ["file-upload", "extension", "aspx"],
123
+ "expected_block": true,
124
+ "severity_hint": "critical",
125
+ "notes": "ASP.NET WebForms upload",
126
+ "category": "Upload"
127
+ },
128
+ {
129
+ "id": "UPLOAD-015",
130
+ "payload": "filename=\"shell.ashx\"",
131
+ "tags": ["file-upload", "extension", "ashx"],
132
+ "expected_block": true,
133
+ "severity_hint": "critical",
134
+ "notes": "ASP.NET handler upload",
135
+ "category": "Upload"
136
+ },
137
+ {
138
+ "id": "UPLOAD-016",
139
+ "payload": "filename=\"shell.asmx\"",
140
+ "tags": ["file-upload", "extension", "asmx"],
141
+ "expected_block": true,
142
+ "severity_hint": "critical",
143
+ "notes": "ASP.NET web service upload",
144
+ "category": "Upload"
145
+ },
146
+ {
147
+ "id": "UPLOAD-017",
148
+ "payload": "filename=\"shell.cfm\"",
149
+ "tags": ["file-upload", "extension", "coldfusion"],
150
+ "expected_block": true,
151
+ "severity_hint": "critical",
152
+ "notes": "ColdFusion upload",
153
+ "category": "Upload"
154
+ },
155
+ {
156
+ "id": "UPLOAD-018",
157
+ "payload": "filename=\"shell.cfc\"",
158
+ "tags": ["file-upload", "extension", "coldfusion"],
159
+ "expected_block": true,
160
+ "severity_hint": "critical",
161
+ "notes": "ColdFusion Component upload",
162
+ "category": "Upload"
163
+ },
164
+ {
165
+ "id": "UPLOAD-019",
166
+ "payload": "filename=\"shell.pl\"",
167
+ "tags": ["file-upload", "extension", "perl"],
168
+ "expected_block": true,
169
+ "severity_hint": "critical",
170
+ "notes": "Perl script upload",
171
+ "category": "Upload"
172
+ },
173
+ {
174
+ "id": "UPLOAD-020",
175
+ "payload": "filename=\"shell.cgi\"",
176
+ "tags": ["file-upload", "extension", "cgi"],
177
+ "expected_block": true,
178
+ "severity_hint": "critical",
179
+ "notes": "CGI script upload",
180
+ "category": "Upload"
181
+ },
182
+ {
183
+ "id": "UPLOAD-021",
184
+ "payload": "filename=\"shell.py\"",
185
+ "tags": ["file-upload", "extension", "python"],
186
+ "expected_block": true,
187
+ "severity_hint": "critical",
188
+ "notes": "Python script upload",
189
+ "category": "Upload"
190
+ },
191
+ {
192
+ "id": "UPLOAD-022",
193
+ "payload": "filename=\"shell.rb\"",
194
+ "tags": ["file-upload", "extension", "ruby"],
195
+ "expected_block": true,
196
+ "severity_hint": "critical",
197
+ "notes": "Ruby script upload",
198
+ "category": "Upload"
199
+ },
200
+ {
201
+ "id": "UPLOAD-023",
202
+ "payload": "filename=\".htaccess\"",
203
+ "tags": ["file-upload", "config", "htaccess"],
204
+ "expected_block": true,
205
+ "severity_hint": "critical",
206
+ "notes": "Apache config upload - can enable PHP in directories",
207
+ "category": "Upload"
208
+ },
209
+ {
210
+ "id": "UPLOAD-024",
211
+ "payload": "filename=\".user.ini\"",
212
+ "tags": ["file-upload", "config", "php-ini"],
213
+ "expected_block": true,
214
+ "severity_hint": "critical",
215
+ "notes": "PHP user config upload - auto_prepend_file attacks",
216
+ "category": "Upload"
217
+ },
218
+ {
219
+ "id": "UPLOAD-025",
220
+ "payload": "filename=\"web.config\"",
221
+ "tags": ["file-upload", "config", "iis"],
222
+ "expected_block": true,
223
+ "severity_hint": "critical",
224
+ "notes": "IIS configuration file upload",
225
+ "category": "Upload"
226
+ },
227
+ {
228
+ "id": "UPLOAD-026",
229
+ "payload": "filename=\"..%2F..%2F..%2Fshell.php\"",
230
+ "tags": ["file-upload", "path-traversal", "encoded"],
231
+ "expected_block": true,
232
+ "severity_hint": "critical",
233
+ "notes": "Path traversal in filename - URL encoded",
234
+ "category": "Upload"
235
+ },
236
+ {
237
+ "id": "UPLOAD-027",
238
+ "payload": "filename=\"....//....//shell.php\"",
239
+ "tags": ["file-upload", "path-traversal", "filter-bypass"],
240
+ "expected_block": true,
241
+ "severity_hint": "critical",
242
+ "notes": "Filter bypass traversal",
243
+ "category": "Upload"
244
+ },
245
+ {
246
+ "id": "UPLOAD-028",
247
+ "payload": "filename=\"..\\..\\..\\shell.php\"",
248
+ "tags": ["file-upload", "path-traversal", "windows"],
249
+ "expected_block": true,
250
+ "severity_hint": "critical",
251
+ "notes": "Windows path traversal",
252
+ "category": "Upload"
253
+ },
254
+ {
255
+ "id": "UPLOAD-029",
256
+ "payload": "filename=\"/var/www/html/shell.php\"",
257
+ "tags": ["file-upload", "absolute-path"],
258
+ "expected_block": true,
259
+ "severity_hint": "critical",
260
+ "notes": "Absolute path injection",
261
+ "category": "Upload"
262
+ },
263
+ {
264
+ "id": "UPLOAD-030",
265
+ "payload": "Content-Type: image/gif\nGIF89a; <?php",
266
+ "tags": ["file-upload", "polyglot", "gif-php"],
267
+ "expected_block": true,
268
+ "severity_hint": "critical",
269
+ "notes": "GIF/PHP polyglot header",
270
+ "category": "Upload"
271
+ },
272
+ {
273
+ "id": "UPLOAD-031",
274
+ "payload": "Content-Type: image/jpeg\nFFD8FFE0; <?php",
275
+ "tags": ["file-upload", "polyglot", "jpeg-php"],
276
+ "expected_block": true,
277
+ "severity_hint": "critical",
278
+ "notes": "JPEG/PHP polyglot",
279
+ "category": "Upload"
280
+ },
281
+ {
282
+ "id": "UPLOAD-032",
283
+ "payload": "Content-Type: image/png\n%PNG; <?php",
284
+ "tags": ["file-upload", "polyglot", "png-php"],
285
+ "expected_block": true,
286
+ "severity_hint": "critical",
287
+ "notes": "PNG/PHP polyglot",
288
+ "category": "Upload"
289
+ },
290
+ {
291
+ "id": "UPLOAD-033",
292
+ "payload": "Content-Type: application/pdf\n%PDF-1.4 <?php",
293
+ "tags": ["file-upload", "polyglot", "pdf-php"],
294
+ "expected_block": true,
295
+ "severity_hint": "critical",
296
+ "notes": "PDF/PHP polyglot",
297
+ "category": "Upload"
298
+ },
299
+ {
300
+ "id": "UPLOAD-034",
301
+ "payload": "Content-Type: text/html\n<html><body><?php",
302
+ "tags": ["file-upload", "content-type-bypass"],
303
+ "expected_block": true,
304
+ "severity_hint": "high",
305
+ "notes": "HTML content-type with PHP",
306
+ "category": "Upload"
307
+ },
308
+ {
309
+ "id": "UPLOAD-035",
310
+ "payload": "Content-Type: application/x-httpd-php",
311
+ "tags": ["file-upload", "content-type", "php-mime"],
312
+ "expected_block": true,
313
+ "severity_hint": "critical",
314
+ "notes": "Direct PHP MIME type",
315
+ "category": "Upload"
316
+ },
317
+ {
318
+ "id": "UPLOAD-036",
319
+ "payload": "filename=\"shell.svg\"\n<svg onload=\"alert(1)\">",
320
+ "tags": ["file-upload", "svg", "xss"],
321
+ "expected_block": true,
322
+ "severity_hint": "high",
323
+ "notes": "SVG XSS payload",
324
+ "category": "Upload"
325
+ },
326
+ {
327
+ "id": "UPLOAD-037",
328
+ "payload": "filename=\"shell.svg\"\n<svg><script>alert(1)</script>",
329
+ "tags": ["file-upload", "svg", "xss-script"],
330
+ "expected_block": true,
331
+ "severity_hint": "high",
332
+ "notes": "SVG with embedded script",
333
+ "category": "Upload"
334
+ },
335
+ {
336
+ "id": "UPLOAD-038",
337
+ "payload": "filename=\"xxe.svg\"\n<!DOCTYPE svg [<!ENTITY xxe SYSTEM",
338
+ "tags": ["file-upload", "svg", "xxe"],
339
+ "expected_block": true,
340
+ "severity_hint": "critical",
341
+ "notes": "SVG XXE injection",
342
+ "category": "Upload"
343
+ },
344
+ {
345
+ "id": "UPLOAD-039",
346
+ "payload": "filename=\"ssrf.svg\"\n<image xlink:href=\"http://169.254.169.254",
347
+ "tags": ["file-upload", "svg", "ssrf"],
348
+ "expected_block": true,
349
+ "severity_hint": "critical",
350
+ "notes": "SVG SSRF via xlink",
351
+ "category": "Upload"
352
+ },
353
+ {
354
+ "id": "UPLOAD-040",
355
+ "payload": "filename=\"exploit.pdf\"\n%PDF-1.4 /OpenAction /JS",
356
+ "tags": ["file-upload", "pdf", "javascript"],
357
+ "expected_block": true,
358
+ "severity_hint": "high",
359
+ "notes": "PDF with JavaScript",
360
+ "category": "Upload"
361
+ },
362
+ {
363
+ "id": "UPLOAD-041",
364
+ "payload": "filename=\"shell.php \"\nContent-Disposition: form-data",
365
+ "tags": ["file-upload", "trailing-space"],
366
+ "expected_block": true,
367
+ "severity_hint": "high",
368
+ "notes": "Trailing space extension bypass",
369
+ "category": "Upload"
370
+ },
371
+ {
372
+ "id": "UPLOAD-042",
373
+ "payload": "filename=\"shell.php.\"",
374
+ "tags": ["file-upload", "trailing-dot"],
375
+ "expected_block": true,
376
+ "severity_hint": "high",
377
+ "notes": "Trailing dot extension bypass (Windows)",
378
+ "category": "Upload"
379
+ },
380
+ {
381
+ "id": "UPLOAD-043",
382
+ "payload": "filename=\"shell.php::$DATA\"",
383
+ "tags": ["file-upload", "ntfs-ads", "windows"],
384
+ "expected_block": true,
385
+ "severity_hint": "critical",
386
+ "notes": "NTFS Alternate Data Stream bypass",
387
+ "category": "Upload"
388
+ },
389
+ {
390
+ "id": "UPLOAD-044",
391
+ "payload": "filename=\"shell.php:$DATA\"",
392
+ "tags": ["file-upload", "ntfs-ads", "windows"],
393
+ "expected_block": true,
394
+ "severity_hint": "critical",
395
+ "notes": "NTFS ADS variant",
396
+ "category": "Upload"
397
+ },
398
+ {
399
+ "id": "UPLOAD-045",
400
+ "payload": "filename=\"con.php\"",
401
+ "tags": ["file-upload", "windows-reserved"],
402
+ "expected_block": true,
403
+ "severity_hint": "medium",
404
+ "notes": "Windows reserved name bypass attempt",
405
+ "category": "Upload"
406
+ },
407
+ {
408
+ "id": "UPLOAD-046",
409
+ "payload": "filename=\"shell.hta\"",
410
+ "tags": ["file-upload", "extension", "hta"],
411
+ "expected_block": true,
412
+ "severity_hint": "critical",
413
+ "notes": "HTML Application upload",
414
+ "category": "Upload"
415
+ },
416
+ {
417
+ "id": "UPLOAD-047",
418
+ "payload": "filename=\"shell.shtml\"",
419
+ "tags": ["file-upload", "extension", "ssi"],
420
+ "expected_block": true,
421
+ "severity_hint": "high",
422
+ "notes": "Server Side Includes",
423
+ "category": "Upload"
424
+ },
425
+ {
426
+ "id": "UPLOAD-048",
427
+ "payload": "filename=\"shell.shtm\"",
428
+ "tags": ["file-upload", "extension", "ssi"],
429
+ "expected_block": true,
430
+ "severity_hint": "high",
431
+ "notes": "SSI short extension",
432
+ "category": "Upload"
433
+ },
434
+ {
435
+ "id": "UPLOAD-049",
436
+ "payload": "filename=\"exploit.exe\"",
437
+ "tags": ["file-upload", "extension", "executable"],
438
+ "expected_block": true,
439
+ "severity_hint": "critical",
440
+ "notes": "Windows executable upload",
441
+ "category": "Upload"
442
+ },
443
+ {
444
+ "id": "UPLOAD-050",
445
+ "payload": "filename=\"exploit.dll\"",
446
+ "tags": ["file-upload", "extension", "dll"],
447
+ "expected_block": true,
448
+ "severity_hint": "critical",
449
+ "notes": "DLL upload",
450
+ "category": "Upload"
451
+ },
452
+ {
453
+ "id": "UPLOAD-051",
454
+ "payload": "filename=\"exploit.so\"",
455
+ "tags": ["file-upload", "extension", "linux-lib"],
456
+ "expected_block": true,
457
+ "severity_hint": "critical",
458
+ "notes": "Linux shared object upload",
459
+ "category": "Upload"
460
+ },
461
+ {
462
+ "id": "UPLOAD-052",
463
+ "payload": "filename=\"shell.war\"",
464
+ "tags": ["file-upload", "extension", "java-war"],
465
+ "expected_block": true,
466
+ "severity_hint": "critical",
467
+ "notes": "Java WAR archive upload",
468
+ "category": "Upload"
469
+ },
470
+ {
471
+ "id": "UPLOAD-053",
472
+ "payload": "filename=\"shell.jar\"",
473
+ "tags": ["file-upload", "extension", "java-jar"],
474
+ "expected_block": true,
475
+ "severity_hint": "critical",
476
+ "notes": "Java JAR archive upload",
477
+ "category": "Upload"
478
+ },
479
+ {
480
+ "id": "UPLOAD-054",
481
+ "payload": "filename=\"shell.ear\"",
482
+ "tags": ["file-upload", "extension", "java-ear"],
483
+ "expected_block": true,
484
+ "severity_hint": "critical",
485
+ "notes": "Java EAR archive upload",
486
+ "category": "Upload"
487
+ },
488
+ {
489
+ "id": "UPLOAD-055",
490
+ "payload": "filename=\"evil.zip\"\nPK\\x03\\x04..../../../",
491
+ "tags": ["file-upload", "archive", "zip-slip"],
492
+ "expected_block": true,
493
+ "severity_hint": "critical",
494
+ "notes": "Zip Slip path traversal",
495
+ "category": "Upload"
496
+ },
497
+ {
498
+ "id": "UPLOAD-056",
499
+ "payload": "filename=\"evil.tar\"\n..%2F..%2F..%2Fshell.php",
500
+ "tags": ["file-upload", "archive", "tar-traversal"],
501
+ "expected_block": true,
502
+ "severity_hint": "critical",
503
+ "notes": "Tar archive path traversal",
504
+ "category": "Upload"
505
+ },
506
+ {
507
+ "id": "UPLOAD-057",
508
+ "payload": "filename=\"symlink.zip\"\nlrwxrwxrwx /etc/passwd",
509
+ "tags": ["file-upload", "archive", "symlink"],
510
+ "expected_block": true,
511
+ "severity_hint": "critical",
512
+ "notes": "Symlink in archive",
513
+ "category": "Upload"
514
+ },
515
+ {
516
+ "id": "UPLOAD-058",
517
+ "payload": "filename=\"image.jpg\"\nContent-Type: application/octet-stream",
518
+ "tags": ["file-upload", "content-type-mismatch"],
519
+ "expected_block": true,
520
+ "severity_hint": "medium",
521
+ "notes": "Content-type mismatch",
522
+ "category": "Upload"
523
+ },
524
+ {
525
+ "id": "UPLOAD-059",
526
+ "payload": "filename=\"%00shell.php\"",
527
+ "tags": ["file-upload", "null-byte", "prefix"],
528
+ "expected_block": true,
529
+ "severity_hint": "critical",
530
+ "notes": "Null byte prefix",
531
+ "category": "Upload"
532
+ },
533
+ {
534
+ "id": "UPLOAD-060",
535
+ "payload": "filename=\"shell.php%20%20%20%20%20%20%20\"",
536
+ "tags": ["file-upload", "trailing-spaces"],
537
+ "expected_block": true,
538
+ "severity_hint": "high",
539
+ "notes": "Multiple trailing spaces",
540
+ "category": "Upload"
541
+ },
542
+ {
543
+ "id": "UPLOAD-061",
544
+ "payload": "filename=\"shell%2Ephp\"",
545
+ "tags": ["file-upload", "encoded-dot"],
546
+ "expected_block": true,
547
+ "severity_hint": "high",
548
+ "notes": "URL encoded dot in extension",
549
+ "category": "Upload"
550
+ },
551
+ {
552
+ "id": "UPLOAD-062",
553
+ "payload": "filename=\"shell.inc\"",
554
+ "tags": ["file-upload", "extension", "include"],
555
+ "expected_block": true,
556
+ "severity_hint": "high",
557
+ "notes": "PHP include file",
558
+ "category": "Upload"
559
+ },
560
+ {
561
+ "id": "UPLOAD-063",
562
+ "payload": "filename=\"shell.module\"",
563
+ "tags": ["file-upload", "extension", "drupal"],
564
+ "expected_block": true,
565
+ "severity_hint": "high",
566
+ "notes": "Drupal module file",
567
+ "category": "Upload"
568
+ },
569
+ {
570
+ "id": "UPLOAD-064",
571
+ "payload": "filename=\"shell.theme\"",
572
+ "tags": ["file-upload", "extension", "drupal"],
573
+ "expected_block": true,
574
+ "severity_hint": "high",
575
+ "notes": "Drupal theme file",
576
+ "category": "Upload"
577
+ },
578
+ {
579
+ "id": "UPLOAD-065",
580
+ "payload": "filename=\"shell.engine\"",
581
+ "tags": ["file-upload", "extension", "drupal"],
582
+ "expected_block": true,
583
+ "severity_hint": "high",
584
+ "notes": "Drupal engine file",
585
+ "category": "Upload"
586
+ },
587
+ {
588
+ "id": "UPLOAD-066",
589
+ "payload": "Content-Disposition: form-data; name=\"file\"; filename=\"shell.php\"; filename*=utf-8''shell.php",
590
+ "tags": ["file-upload", "rfc5987", "bypass"],
591
+ "expected_block": true,
592
+ "severity_hint": "high",
593
+ "notes": "RFC 5987 filename encoding",
594
+ "category": "Upload"
595
+ },
596
+ {
597
+ "id": "UPLOAD-067",
598
+ "payload": "filename*=utf-8''%73%68%65%6c%6c%2e%70%68%70",
599
+ "tags": ["file-upload", "rfc5987", "encoded"],
600
+ "expected_block": true,
601
+ "severity_hint": "high",
602
+ "notes": "RFC 5987 fully encoded",
603
+ "category": "Upload"
604
+ },
605
+ {
606
+ "id": "UPLOAD-068",
607
+ "payload": "filename=\"shell.php\"; filename=\"safe.jpg\"",
608
+ "tags": ["file-upload", "duplicate-param"],
609
+ "expected_block": true,
610
+ "severity_hint": "high",
611
+ "notes": "Duplicate filename parameter",
612
+ "category": "Upload"
613
+ },
614
+ {
615
+ "id": "UPLOAD-069",
616
+ "payload": "multipart/form-data; boundary=\"x\"; name=\"file\"; filename=\"shell.php\"",
617
+ "tags": ["file-upload", "multipart-abuse"],
618
+ "expected_block": true,
619
+ "severity_hint": "high",
620
+ "notes": "Multipart boundary abuse",
621
+ "category": "Upload"
622
+ },
623
+ {
624
+ "id": "UPLOAD-070",
625
+ "payload": "Transfer-Encoding: chunked\nContent-Length: 0\nfilename=\"shell.php\"",
626
+ "tags": ["file-upload", "chunked-bypass"],
627
+ "expected_block": true,
628
+ "severity_hint": "high",
629
+ "notes": "Chunked encoding bypass attempt",
630
+ "category": "Upload"
631
+ }
632
+ ]