@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.
- package/LICENSE +80 -0
- package/LICENSE-COMMUNITY +28 -0
- package/README.md +121 -0
- package/bin/cli.js +152 -0
- package/package.json +52 -0
- package/payloads/community/README.md +45 -0
- package/payloads/community/ai/ml-poisoning.json +173 -0
- package/payloads/community/ai/prompt-injection.json +247 -0
- package/payloads/community/ai/workflow-abuse.json +222 -0
- package/payloads/community/auth/jwt.json +855 -0
- package/payloads/community/auth/login-bypass.json +623 -0
- package/payloads/community/auth/mfa.json +402 -0
- package/payloads/community/auth/oauth.json +421 -0
- package/payloads/community/auth/open-redirect.json +1028 -0
- package/payloads/community/auth/session.json +404 -0
- package/payloads/community/cache/deception.json +402 -0
- package/payloads/community/cache/poisoning.json +403 -0
- package/payloads/community/deserialization/gadget.json +375 -0
- package/payloads/community/deserialization/prototype.json +370 -0
- package/payloads/community/fuzz/content-type.json +397 -0
- package/payloads/community/fuzz/headers.json +401 -0
- package/payloads/community/fuzz/methods.json +397 -0
- package/payloads/community/fuzz/obfuscation.json +362 -0
- package/payloads/community/fuzz/special-chars.json +740 -0
- package/payloads/community/fuzz/waf-bypass.json +452 -0
- package/payloads/community/graphql/batching-abuse.json +271 -0
- package/payloads/community/graphql/depth-limit.json +271 -0
- package/payloads/community/graphql/introspection.json +267 -0
- package/payloads/community/injection/crlf.json +569 -0
- package/payloads/community/injection/ldap.json +357 -0
- package/payloads/community/injection/nosqli.json +529 -0
- package/payloads/community/injection/oscmd.json +662 -0
- package/payloads/community/injection/rce-polyglots.json +452 -0
- package/payloads/community/injection/sqli.json +681 -0
- package/payloads/community/injection/ssti.json +584 -0
- package/payloads/community/injection/upload-attacks.json +632 -0
- package/payloads/community/injection/xpath.json +357 -0
- package/payloads/community/injection/xxe.json +716 -0
- package/payloads/community/logic/forced-browsing.json +405 -0
- package/payloads/community/logic/idor.json +1026 -0
- package/payloads/community/logic/privilege.json +337 -0
- package/payloads/community/media/exif-injection.json +225 -0
- package/payloads/community/media/metadata-poison.json +239 -0
- package/payloads/community/protocol/http-smuggling.json +798 -0
- package/payloads/community/protocol/http2-attacks.json +382 -0
- package/payloads/community/protocol/websocket-abuse.json +375 -0
- package/payloads/community/rate-limit/burst-simulation.json +286 -0
- package/payloads/community/rate-limit/bypass-attempts.json +326 -0
- package/payloads/community/rate-limit/zone-tests.json +332 -0
- package/payloads/community/services/authentik.json +415 -0
- package/payloads/community/services/immich.json +423 -0
- package/payloads/community/services/n8n.json +366 -0
- package/payloads/community/sqli-basic.json +182 -0
- package/payloads/community/ssrf/cloud-metadata.json +999 -0
- package/payloads/community/ssrf/dns-rebinding.json +503 -0
- package/payloads/community/ssrf/internal-networks.json +627 -0
- package/payloads/community/ssrf/protocol-smuggling.json +350 -0
- package/payloads/community/ssti/multi-language-templates.json +191 -0
- package/payloads/community/ssti/python-templates.json +200 -0
- package/payloads/community/traversal/basic.json +675 -0
- package/payloads/community/traversal/cloud-credentials.json +107 -0
- package/payloads/community/traversal/config-files.json +193 -0
- package/payloads/community/traversal/encoding.json +558 -0
- package/payloads/community/traversal/null-byte.json +105 -0
- package/payloads/community/traversal/symlink.json +93 -0
- package/payloads/community/traversal/unicode.json +134 -0
- package/payloads/community/traversal/unix-advanced.json +195 -0
- package/payloads/community/traversal/windows-advanced.json +195 -0
- package/payloads/community/waf-bypass/cloudflare-bypass.json +102 -0
- package/payloads/community/waf-bypass/encoding-bypass.json +120 -0
- package/payloads/community/waf-bypass/evasion-techniques.json +164 -0
- package/payloads/community/waf-bypass/hpp-bypass.json +92 -0
- package/payloads/community/waf-bypass/modsecurity-crs.json +220 -0
- package/payloads/community/waf-bypass/protocol-attacks.json +101 -0
- package/payloads/community/waf-bypass/sqlmap-tamper.json +252 -0
- package/payloads/community/waf-bypass/unicode-charset.json +152 -0
- package/payloads/community/waf-bypass/vendor-bypasses.json +72 -0
- package/payloads/community/waf-validation/README.md +172 -0
- package/payloads/community/waf-validation/bypass-techniques.json +272 -0
- package/payloads/community/waf-validation/custom-rules.json +952 -0
- package/payloads/community/waf-validation/evasion-techniques.json +272 -0
- package/payloads/community/waf-validation/modsecurity-core.json +151 -0
- package/payloads/community/waf-validation/owasp-top10.json +236 -0
- package/payloads/community/waf-validation/regression-tests.json +227 -0
- package/payloads/community/xss/csp-bypass.json +431 -0
- package/payloads/community/xss/dom.json +389 -0
- package/payloads/community/xss/filter-bypass.json +1242 -0
- package/payloads/community/xss/mutation.json +263 -0
- package/payloads/community/xss/polyglots.json +371 -0
- package/payloads/community/xss/reflected.json +187 -0
- package/payloads/community/xss/stored.json +330 -0
- package/payloads/crlf-injection.json +182 -0
- package/payloads/ids-map.json +155 -0
- package/payloads/ldap-injection.json +182 -0
- package/payloads/nosql-injection.json +227 -0
- package/payloads/prototype-pollution.json +182 -0
- package/payloads/request-smuggling.json +182 -0
- package/payloads/version.json +28 -0
- package/payloads/xss-advanced.json +227 -0
- package/templates/README.md +221 -0
- package/templates/nuclei/http/waf-bypass/crlf-bypass.yaml +146 -0
- package/templates/nuclei/http/waf-bypass/lfi-bypass.yaml +152 -0
- package/templates/nuclei/http/waf-bypass/nosqli-bypass.yaml +166 -0
- package/templates/nuclei/http/waf-bypass/rce-bypass.yaml +171 -0
- package/templates/nuclei/http/waf-bypass/sqli-basic.yaml +142 -0
- package/templates/nuclei/http/waf-bypass/sqli-evasion.yaml +192 -0
- package/templates/nuclei/http/waf-bypass/ssrf-bypass.yaml +130 -0
- package/templates/nuclei/http/waf-bypass/ssti-bypass.yaml +147 -0
- package/templates/nuclei/http/waf-bypass/xss-basic.yaml +163 -0
- package/templates/nuclei/http/waf-bypass/xss-evasion.yaml +217 -0
- package/templates/nuclei/http/waf-bypass/xxe-bypass.yaml +204 -0
- package/templates/nuclei/http/waf-detection/akamai-detect.yaml +105 -0
- package/templates/nuclei/http/waf-detection/aws-waf-detect.yaml +115 -0
- package/templates/nuclei/http/waf-detection/azure-waf-detect.yaml +114 -0
- package/templates/nuclei/http/waf-detection/cloudflare-detect.yaml +121 -0
- package/templates/nuclei/http/waf-detection/modsecurity-detect.yaml +129 -0
- package/templates/nuclei/workflows/waf-assessment-workflow.yaml +71 -0
- package/templates/output/asff.tmpl +61 -0
- package/templates/output/csv.tmpl +4 -0
- package/templates/output/junit.tmpl +34 -0
- package/templates/output/markdown-report.tmpl +92 -0
- package/templates/output/slack-notification.tmpl +95 -0
- package/templates/output/text-summary.tmpl +56 -0
- package/templates/overrides/api-only.yaml +130 -0
- package/templates/overrides/crs-tuning.yaml +204 -0
- package/templates/overrides/false-positive-suppression.yaml +159 -0
- package/templates/policies/owasp-top10.yaml +152 -0
- package/templates/policies/pci-dss.yaml +124 -0
- package/templates/policies/permissive.yaml +40 -0
- package/templates/policies/standard.yaml +57 -0
- package/templates/policies/strict.yaml +72 -0
- package/templates/report-configs/compliance.yaml +173 -0
- package/templates/report-configs/dark.yaml +136 -0
- package/templates/report-configs/enterprise.yaml +175 -0
- package/templates/report-configs/minimal.yaml +84 -0
- package/templates/report-configs/print.yaml +139 -0
- package/templates/workflows/api-scan.yaml +132 -0
- package/templates/workflows/ci-gate.yaml +129 -0
- package/templates/workflows/full-scan.yaml +133 -0
- package/templates/workflows/quick-probe.yaml +80 -0
- package/templates/workflows/waf-detection.yaml +89 -0
|
@@ -0,0 +1,397 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "FUZZ-CTYPE-001",
|
|
4
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json; boundary=----Boundary\r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
5
|
+
"tags": [
|
|
6
|
+
"fuzzing",
|
|
7
|
+
"content-type",
|
|
8
|
+
"invalid-boundary",
|
|
9
|
+
"quick"
|
|
10
|
+
],
|
|
11
|
+
"expected_block": false,
|
|
12
|
+
"severity_hint": "Medium",
|
|
13
|
+
"notes": "Boundary parameter in JSON Content-Type (invalid)",
|
|
14
|
+
"category": "Fuzzing"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"id": "FUZZ-CTYPE-002",
|
|
18
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
19
|
+
"tags": [
|
|
20
|
+
"fuzzing",
|
|
21
|
+
"content-type",
|
|
22
|
+
"no-charset"
|
|
23
|
+
],
|
|
24
|
+
"expected_block": false,
|
|
25
|
+
"severity_hint": "Low",
|
|
26
|
+
"notes": "JSON without charset parameter (valid but uncommon)",
|
|
27
|
+
"category": "Fuzzing"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"id": "FUZZ-CTYPE-003",
|
|
31
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json; charset=utf-8\r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
32
|
+
"tags": [
|
|
33
|
+
"fuzzing",
|
|
34
|
+
"content-type",
|
|
35
|
+
"with-charset"
|
|
36
|
+
],
|
|
37
|
+
"expected_block": false,
|
|
38
|
+
"severity_hint": "Low",
|
|
39
|
+
"notes": "JSON with charset parameter (proper format)",
|
|
40
|
+
"category": "Fuzzing"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "FUZZ-CTYPE-004",
|
|
44
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json; charset=utf-16\r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
45
|
+
"tags": [
|
|
46
|
+
"fuzzing",
|
|
47
|
+
"content-type",
|
|
48
|
+
"utf16-charset"
|
|
49
|
+
],
|
|
50
|
+
"expected_block": false,
|
|
51
|
+
"severity_hint": "Medium",
|
|
52
|
+
"notes": "JSON with UTF-16 charset (parser confusion)",
|
|
53
|
+
"category": "Fuzzing"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"id": "FUZZ-CTYPE-005",
|
|
57
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json; charset=iso-8859-1\r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
58
|
+
"tags": [
|
|
59
|
+
"fuzzing",
|
|
60
|
+
"content-type",
|
|
61
|
+
"latin1-charset"
|
|
62
|
+
],
|
|
63
|
+
"expected_block": false,
|
|
64
|
+
"severity_hint": "Low",
|
|
65
|
+
"notes": "JSON with ISO-8859-1 charset",
|
|
66
|
+
"category": "Fuzzing"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "FUZZ-CTYPE-006",
|
|
70
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json; charset=INVALID\r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
71
|
+
"tags": [
|
|
72
|
+
"fuzzing",
|
|
73
|
+
"content-type",
|
|
74
|
+
"invalid-charset"
|
|
75
|
+
],
|
|
76
|
+
"expected_block": false,
|
|
77
|
+
"severity_hint": "Medium",
|
|
78
|
+
"notes": "JSON with invalid charset name",
|
|
79
|
+
"category": "Fuzzing"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"id": "FUZZ-CTYPE-007",
|
|
83
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: text/plain\r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
84
|
+
"tags": [
|
|
85
|
+
"fuzzing",
|
|
86
|
+
"content-type",
|
|
87
|
+
"mismatch",
|
|
88
|
+
"quick"
|
|
89
|
+
],
|
|
90
|
+
"expected_block": false,
|
|
91
|
+
"severity_hint": "Medium",
|
|
92
|
+
"notes": "JSON body with text/plain Content-Type",
|
|
93
|
+
"category": "Fuzzing"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"id": "FUZZ-CTYPE-008",
|
|
97
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: text/html\r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
98
|
+
"tags": [
|
|
99
|
+
"fuzzing",
|
|
100
|
+
"content-type",
|
|
101
|
+
"mismatch"
|
|
102
|
+
],
|
|
103
|
+
"expected_block": false,
|
|
104
|
+
"severity_hint": "Medium",
|
|
105
|
+
"notes": "JSON body with text/html Content-Type",
|
|
106
|
+
"category": "Fuzzing"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"id": "FUZZ-CTYPE-009",
|
|
110
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/xml\r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
111
|
+
"tags": [
|
|
112
|
+
"fuzzing",
|
|
113
|
+
"content-type",
|
|
114
|
+
"mismatch"
|
|
115
|
+
],
|
|
116
|
+
"expected_block": false,
|
|
117
|
+
"severity_hint": "Medium",
|
|
118
|
+
"notes": "JSON body with XML Content-Type",
|
|
119
|
+
"category": "Fuzzing"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"id": "FUZZ-CTYPE-010",
|
|
123
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: multipart/form-data\r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
124
|
+
"tags": [
|
|
125
|
+
"fuzzing",
|
|
126
|
+
"content-type",
|
|
127
|
+
"mismatch"
|
|
128
|
+
],
|
|
129
|
+
"expected_block": false,
|
|
130
|
+
"severity_hint": "Medium",
|
|
131
|
+
"notes": "JSON body with multipart Content-Type (no boundary)",
|
|
132
|
+
"category": "Fuzzing"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"id": "FUZZ-CTYPE-011",
|
|
136
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: APPLICATION/JSON\r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
137
|
+
"tags": [
|
|
138
|
+
"fuzzing",
|
|
139
|
+
"content-type",
|
|
140
|
+
"uppercase"
|
|
141
|
+
],
|
|
142
|
+
"expected_block": false,
|
|
143
|
+
"severity_hint": "Low",
|
|
144
|
+
"notes": "Uppercase Content-Type value",
|
|
145
|
+
"category": "Fuzzing"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"id": "FUZZ-CTYPE-012",
|
|
149
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: Application/Json\r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
150
|
+
"tags": [
|
|
151
|
+
"fuzzing",
|
|
152
|
+
"content-type",
|
|
153
|
+
"mixed-case"
|
|
154
|
+
],
|
|
155
|
+
"expected_block": false,
|
|
156
|
+
"severity_hint": "Low",
|
|
157
|
+
"notes": "Mixed case Content-Type value",
|
|
158
|
+
"category": "Fuzzing"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"id": "FUZZ-CTYPE-013",
|
|
162
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json ; charset=utf-8\r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
163
|
+
"tags": [
|
|
164
|
+
"fuzzing",
|
|
165
|
+
"content-type",
|
|
166
|
+
"space-before-semicolon"
|
|
167
|
+
],
|
|
168
|
+
"expected_block": false,
|
|
169
|
+
"severity_hint": "Low",
|
|
170
|
+
"notes": "Space before semicolon in Content-Type",
|
|
171
|
+
"category": "Fuzzing"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"id": "FUZZ-CTYPE-014",
|
|
175
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json;charset=utf-8\r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
176
|
+
"tags": [
|
|
177
|
+
"fuzzing",
|
|
178
|
+
"content-type",
|
|
179
|
+
"no-space-after-semicolon"
|
|
180
|
+
],
|
|
181
|
+
"expected_block": false,
|
|
182
|
+
"severity_hint": "Low",
|
|
183
|
+
"notes": "No space after semicolon in Content-Type",
|
|
184
|
+
"category": "Fuzzing"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"id": "FUZZ-CTYPE-015",
|
|
188
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json; charset=\"utf-8\"\r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
189
|
+
"tags": [
|
|
190
|
+
"fuzzing",
|
|
191
|
+
"content-type",
|
|
192
|
+
"quoted-charset"
|
|
193
|
+
],
|
|
194
|
+
"expected_block": false,
|
|
195
|
+
"severity_hint": "Low",
|
|
196
|
+
"notes": "Quoted charset value in Content-Type",
|
|
197
|
+
"category": "Fuzzing"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"id": "FUZZ-CTYPE-016",
|
|
201
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json; charset='utf-8'\r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
202
|
+
"tags": [
|
|
203
|
+
"fuzzing",
|
|
204
|
+
"content-type",
|
|
205
|
+
"single-quoted-charset"
|
|
206
|
+
],
|
|
207
|
+
"expected_block": false,
|
|
208
|
+
"severity_hint": "Low",
|
|
209
|
+
"notes": "Single-quoted charset (non-standard)",
|
|
210
|
+
"category": "Fuzzing"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"id": "FUZZ-CTYPE-017",
|
|
214
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json; charset=utf-8; boundary=test\r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
215
|
+
"tags": [
|
|
216
|
+
"fuzzing",
|
|
217
|
+
"content-type",
|
|
218
|
+
"multiple-params",
|
|
219
|
+
"quick"
|
|
220
|
+
],
|
|
221
|
+
"expected_block": false,
|
|
222
|
+
"severity_hint": "Medium",
|
|
223
|
+
"notes": "Multiple parameters in JSON Content-Type",
|
|
224
|
+
"category": "Fuzzing"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"id": "FUZZ-CTYPE-018",
|
|
228
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json+ld\r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
229
|
+
"tags": [
|
|
230
|
+
"fuzzing",
|
|
231
|
+
"content-type",
|
|
232
|
+
"json-ld"
|
|
233
|
+
],
|
|
234
|
+
"expected_block": false,
|
|
235
|
+
"severity_hint": "Low",
|
|
236
|
+
"notes": "JSON-LD Content-Type (application/json+ld)",
|
|
237
|
+
"category": "Fuzzing"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"id": "FUZZ-CTYPE-019",
|
|
241
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/vnd.api+json\r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
242
|
+
"tags": [
|
|
243
|
+
"fuzzing",
|
|
244
|
+
"content-type",
|
|
245
|
+
"json-api"
|
|
246
|
+
],
|
|
247
|
+
"expected_block": false,
|
|
248
|
+
"severity_hint": "Low",
|
|
249
|
+
"notes": "JSON API Content-Type (vendor-specific)",
|
|
250
|
+
"category": "Fuzzing"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"id": "FUZZ-CTYPE-020",
|
|
254
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/x-www-form-urlencoded\r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
255
|
+
"tags": [
|
|
256
|
+
"fuzzing",
|
|
257
|
+
"content-type",
|
|
258
|
+
"form-urlencoded-mismatch"
|
|
259
|
+
],
|
|
260
|
+
"expected_block": false,
|
|
261
|
+
"severity_hint": "Medium",
|
|
262
|
+
"notes": "JSON body with form-urlencoded Content-Type",
|
|
263
|
+
"category": "Fuzzing"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"id": "FUZZ-CTYPE-021",
|
|
267
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: invalid/type\r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
268
|
+
"tags": [
|
|
269
|
+
"fuzzing",
|
|
270
|
+
"content-type",
|
|
271
|
+
"invalid-mime"
|
|
272
|
+
],
|
|
273
|
+
"expected_block": false,
|
|
274
|
+
"severity_hint": "Medium",
|
|
275
|
+
"notes": "Invalid MIME type",
|
|
276
|
+
"category": "Fuzzing"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"id": "FUZZ-CTYPE-022",
|
|
280
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/\r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
281
|
+
"tags": [
|
|
282
|
+
"fuzzing",
|
|
283
|
+
"content-type",
|
|
284
|
+
"incomplete-mime"
|
|
285
|
+
],
|
|
286
|
+
"expected_block": false,
|
|
287
|
+
"severity_hint": "Medium",
|
|
288
|
+
"notes": "Incomplete MIME type (missing subtype)",
|
|
289
|
+
"category": "Fuzzing"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"id": "FUZZ-CTYPE-023",
|
|
293
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: /json\r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
294
|
+
"tags": [
|
|
295
|
+
"fuzzing",
|
|
296
|
+
"content-type",
|
|
297
|
+
"incomplete-mime"
|
|
298
|
+
],
|
|
299
|
+
"expected_block": false,
|
|
300
|
+
"severity_hint": "Medium",
|
|
301
|
+
"notes": "Incomplete MIME type (missing type)",
|
|
302
|
+
"category": "Fuzzing"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"id": "FUZZ-CTYPE-024",
|
|
306
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: \r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
307
|
+
"tags": [
|
|
308
|
+
"fuzzing",
|
|
309
|
+
"content-type",
|
|
310
|
+
"empty"
|
|
311
|
+
],
|
|
312
|
+
"expected_block": false,
|
|
313
|
+
"severity_hint": "Medium",
|
|
314
|
+
"notes": "Empty Content-Type header",
|
|
315
|
+
"category": "Fuzzing"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"id": "FUZZ-CTYPE-025",
|
|
319
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: text/html; charset=utf-8; <script>alert(1)</script>\r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
320
|
+
"tags": [
|
|
321
|
+
"fuzzing",
|
|
322
|
+
"content-type",
|
|
323
|
+
"xss-attempt",
|
|
324
|
+
"quick"
|
|
325
|
+
],
|
|
326
|
+
"expected_block": true,
|
|
327
|
+
"severity_hint": "High",
|
|
328
|
+
"notes": "XSS attempt in Content-Type parameters",
|
|
329
|
+
"category": "Fuzzing"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"id": "FUZZ-CTYPE-026",
|
|
333
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: text/html<script>alert(1)</script>\r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
334
|
+
"tags": [
|
|
335
|
+
"fuzzing",
|
|
336
|
+
"content-type",
|
|
337
|
+
"xss-attempt"
|
|
338
|
+
],
|
|
339
|
+
"expected_block": true,
|
|
340
|
+
"severity_hint": "High",
|
|
341
|
+
"notes": "XSS in Content-Type value",
|
|
342
|
+
"category": "Fuzzing"
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"id": "FUZZ-CTYPE-027",
|
|
346
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\nContent-Type: text/html\r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
347
|
+
"tags": [
|
|
348
|
+
"fuzzing",
|
|
349
|
+
"content-type",
|
|
350
|
+
"duplicate"
|
|
351
|
+
],
|
|
352
|
+
"expected_block": false,
|
|
353
|
+
"severity_hint": "Medium",
|
|
354
|
+
"notes": "Duplicate Content-Type headers",
|
|
355
|
+
"category": "Fuzzing"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"id": "FUZZ-CTYPE-028",
|
|
359
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/octet-stream\r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
360
|
+
"tags": [
|
|
361
|
+
"fuzzing",
|
|
362
|
+
"content-type",
|
|
363
|
+
"octet-stream"
|
|
364
|
+
],
|
|
365
|
+
"expected_block": false,
|
|
366
|
+
"severity_hint": "Low",
|
|
367
|
+
"notes": "Generic binary Content-Type with JSON body",
|
|
368
|
+
"category": "Fuzzing"
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"id": "FUZZ-CTYPE-029",
|
|
372
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: image/jpeg\r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
373
|
+
"tags": [
|
|
374
|
+
"fuzzing",
|
|
375
|
+
"content-type",
|
|
376
|
+
"image-mismatch"
|
|
377
|
+
],
|
|
378
|
+
"expected_block": false,
|
|
379
|
+
"severity_hint": "Medium",
|
|
380
|
+
"notes": "Image Content-Type with JSON body",
|
|
381
|
+
"category": "Fuzzing"
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"id": "FUZZ-CTYPE-030",
|
|
385
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json; charset=utf-8; charset=utf-16\r\nContent-Length: 13\r\n\r\n{\"test\":\"ok\"}",
|
|
386
|
+
"tags": [
|
|
387
|
+
"fuzzing",
|
|
388
|
+
"content-type",
|
|
389
|
+
"duplicate-charset",
|
|
390
|
+
"quick"
|
|
391
|
+
],
|
|
392
|
+
"expected_block": false,
|
|
393
|
+
"severity_hint": "Medium",
|
|
394
|
+
"notes": "Duplicate charset parameters (parser confusion)",
|
|
395
|
+
"category": "Fuzzing"
|
|
396
|
+
}
|
|
397
|
+
]
|