@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,155 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": "1.0.0",
|
|
3
|
+
"last_updated": "2025-01-22",
|
|
4
|
+
"taxonomy": {
|
|
5
|
+
"Injection": {
|
|
6
|
+
"prefix": "INJ",
|
|
7
|
+
"subcategories": {
|
|
8
|
+
"SQLi": { "range_start": 0, "range_end": 199, "next_available": 0 },
|
|
9
|
+
"NoSQLi": { "range_start": 200, "range_end": 249, "next_available": 200 },
|
|
10
|
+
"Command": { "range_start": 250, "range_end": 299, "next_available": 250 },
|
|
11
|
+
"LDAP": { "range_start": 300, "range_end": 319, "next_available": 300 },
|
|
12
|
+
"XPath": { "range_start": 320, "range_end": 339, "next_available": 320 },
|
|
13
|
+
"SSTI": { "range_start": 340, "range_end": 379, "next_available": 340 },
|
|
14
|
+
"XXE": { "range_start": 380, "range_end": 399, "next_available": 380 }
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"XSS": {
|
|
18
|
+
"prefix": "XSS",
|
|
19
|
+
"subcategories": {
|
|
20
|
+
"Reflected": { "range_start": 0, "range_end": 49, "next_available": 0 },
|
|
21
|
+
"DOM": { "range_start": 50, "range_end": 79, "next_available": 50 },
|
|
22
|
+
"Stored": { "range_start": 80, "range_end": 99, "next_available": 80 },
|
|
23
|
+
"Mutation": { "range_start": 100, "range_end": 119, "next_available": 100 },
|
|
24
|
+
"CSP-Bypass": { "range_start": 120, "range_end": 139, "next_available": 120 },
|
|
25
|
+
"Polyglot": { "range_start": 140, "range_end": 159, "next_available": 140 }
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"Traversal": {
|
|
29
|
+
"prefix": "TRV",
|
|
30
|
+
"subcategories": {
|
|
31
|
+
"Unix": { "range_start": 0, "range_end": 29, "next_available": 0 },
|
|
32
|
+
"Windows": { "range_start": 30, "range_end": 59, "next_available": 30 },
|
|
33
|
+
"DoubleEncoding": { "range_start": 60, "range_end": 79, "next_available": 60 },
|
|
34
|
+
"NullByte": { "range_start": 80, "range_end": 99, "next_available": 80 }
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"SSRF": {
|
|
38
|
+
"prefix": "SSRF",
|
|
39
|
+
"subcategories": {
|
|
40
|
+
"Cloud": { "range_start": 0, "range_end": 99, "next_available": 34, "description": "Cloud metadata endpoints (AWS, GCP, Azure, etc.)" },
|
|
41
|
+
"Proto": { "range_start": 100, "range_end": 199, "next_available": 128, "description": "Protocol smuggling (gopher, dict, file, ldap, etc.)" },
|
|
42
|
+
"DNS": { "range_start": 200, "range_end": 299, "next_available": 225, "description": "DNS rebinding and IP obfuscation" },
|
|
43
|
+
"Net": { "range_start": 300, "range_end": 399, "next_available": 323, "description": "Internal network targeting (RFC1918, localhost)" }
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"Auth": {
|
|
47
|
+
"prefix": "AUTH",
|
|
48
|
+
"subcategories": {
|
|
49
|
+
"JWT": { "range_start": 0, "range_end": 39, "next_available": 0 },
|
|
50
|
+
"OAuth": { "range_start": 40, "range_end": 79, "next_available": 40 },
|
|
51
|
+
"Session": { "range_start": 80, "range_end": 119, "next_available": 80 },
|
|
52
|
+
"CSRF": { "range_start": 120, "range_end": 139, "next_available": 120 }
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"Protocol": {
|
|
56
|
+
"prefix": "PROTO",
|
|
57
|
+
"subcategories": {
|
|
58
|
+
"Smug": { "range_start": 0, "range_end": 99, "next_available": 36, "description": "HTTP request smuggling (CL.TE, TE.CL, TE.TE, chunk manipulation)" },
|
|
59
|
+
"HTTP2": { "range_start": 100, "range_end": 199, "next_available": 130, "description": "HTTP/2 attacks (pseudo-header abuse, forbidden headers, desync)" },
|
|
60
|
+
"WS": { "range_start": 200, "range_end": 299, "next_available": 230, "description": "WebSocket abuse (handshake manipulation, cross-protocol)" }
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"GraphQL": {
|
|
64
|
+
"prefix": "GQL",
|
|
65
|
+
"subcategories": {
|
|
66
|
+
"Introspection": { "range_start": 0, "range_end": 29, "next_available": 20 },
|
|
67
|
+
"DepthLimit": { "range_start": 30, "range_end": 59, "next_available": 50 },
|
|
68
|
+
"Batching": { "range_start": 60, "range_end": 99, "next_available": 80 }
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"Cache": {
|
|
72
|
+
"prefix": "CACHE",
|
|
73
|
+
"subcategories": {
|
|
74
|
+
"Poisoning": { "range_start": 0, "range_end": 29, "next_available": 30 },
|
|
75
|
+
"Deception": { "range_start": 30, "range_end": 59, "next_available": 60 }
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"Logic": {
|
|
79
|
+
"prefix": "LOGIC",
|
|
80
|
+
"subcategories": {
|
|
81
|
+
"ForcedBrowsing": { "range_start": 0, "range_end": 29, "next_available": 30 },
|
|
82
|
+
"IDOR": { "range_start": 30, "range_end": 59, "next_available": 60 },
|
|
83
|
+
"Privilege": { "range_start": 60, "range_end": 89, "next_available": 85 }
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"Deserialization": {
|
|
87
|
+
"prefix": "DESER",
|
|
88
|
+
"subcategories": {
|
|
89
|
+
"Prototype": { "range_start": 0, "range_end": 39, "next_available": 30 },
|
|
90
|
+
"Gadget": { "range_start": 40, "range_end": 79, "next_available": 70 }
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"Fuzzing": {
|
|
94
|
+
"prefix": "FUZZ",
|
|
95
|
+
"subcategories": {
|
|
96
|
+
"Headers": { "range_start": 0, "range_end": 39, "next_available": 30 },
|
|
97
|
+
"Methods": { "range_start": 40, "range_end": 59, "next_available": 70 },
|
|
98
|
+
"ContentType": { "range_start": 60, "range_end": 89, "next_available": 90 }
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"AI": {
|
|
102
|
+
"prefix": "AI",
|
|
103
|
+
"subcategories": {
|
|
104
|
+
"Prompt": { "range_start": 0, "range_end": 29, "next_available": 18, "description": "Prompt injection, system prompt extraction, jailbreaks" },
|
|
105
|
+
"Workflow": { "range_start": 30, "range_end": 59, "next_available": 46, "description": "n8n workflow manipulation, code injection, node abuse" },
|
|
106
|
+
"ML": { "range_start": 60, "range_end": 89, "next_available": 72, "description": "ML model poisoning, adversarial attacks on Immich" }
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"Media": {
|
|
110
|
+
"prefix": "MEDIA",
|
|
111
|
+
"subcategories": {
|
|
112
|
+
"EXIF": { "range_start": 0, "range_end": 29, "next_available": 16, "description": "EXIF injection, XSS in metadata, path traversal in filenames" },
|
|
113
|
+
"ContentType": { "range_start": 30, "range_end": 49, "next_available": 41, "description": "MIME confusion, polyglot files, content-type attacks" },
|
|
114
|
+
"Metadata": { "range_start": 50, "range_end": 79, "next_available": 67, "description": "GPS spoofing, unicode attacks, oversized metadata" }
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"RateLimit": {
|
|
118
|
+
"prefix": "RATE",
|
|
119
|
+
"subcategories": {
|
|
120
|
+
"Zone": { "range_start": 0, "range_end": 29, "next_available": 20, "description": "Zone-specific tests (auth_like, api, uploads, streaming, static, general)" },
|
|
121
|
+
"Burst": { "range_start": 30, "range_end": 59, "next_available": 45, "description": "Burst simulation, 200→429 transitions, traffic spikes" },
|
|
122
|
+
"Bypass": { "range_start": 60, "range_end": 89, "next_available": 76, "description": "X-Forwarded-For spoofing, header manipulation, evasion attempts" }
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"cwe_mapping": {
|
|
127
|
+
"INJ-SQLI": "CWE-89",
|
|
128
|
+
"INJ-NOSQLI": "CWE-943",
|
|
129
|
+
"INJ-COMMAND": "CWE-78",
|
|
130
|
+
"INJ-LDAP": "CWE-90",
|
|
131
|
+
"INJ-XPATH": "CWE-643",
|
|
132
|
+
"INJ-SSTI": "CWE-94",
|
|
133
|
+
"INJ-XXE": "CWE-611",
|
|
134
|
+
"XSS-REFLECTED": "CWE-79",
|
|
135
|
+
"XSS-DOM": "CWE-79",
|
|
136
|
+
"XSS-STORED": "CWE-79",
|
|
137
|
+
"TRV": "CWE-22",
|
|
138
|
+
"SSRF": "CWE-918",
|
|
139
|
+
"AUTH-JWT": "CWE-347",
|
|
140
|
+
"AUTH-OAUTH": "CWE-601",
|
|
141
|
+
"AUTH-SESSION": "CWE-384",
|
|
142
|
+
"AUTH-CSRF": "CWE-352",
|
|
143
|
+
"AUTH-MFA": "CWE-287",
|
|
144
|
+
"PROTO-SMUGGLING": "CWE-444",
|
|
145
|
+
"DESER-PROTOTYPE": "CWE-1321",
|
|
146
|
+
"LOGIC-IDOR": "CWE-639",
|
|
147
|
+
"AI-PROMPT": "CWE-94",
|
|
148
|
+
"AI-WORKFLOW": "CWE-94",
|
|
149
|
+
"AI-ML": "CWE-20",
|
|
150
|
+
"MEDIA-EXIF": "CWE-79",
|
|
151
|
+
"MEDIA-CONTENTTYPE": "CWE-434",
|
|
152
|
+
"MEDIA-METADATA": "CWE-20",
|
|
153
|
+
"RATE": "CWE-770"
|
|
154
|
+
}
|
|
155
|
+
}
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "ldap-001",
|
|
4
|
+
"payload": "*",
|
|
5
|
+
"tags": ["ldap", "wildcard"],
|
|
6
|
+
"expected_block": true,
|
|
7
|
+
"severity_hint": "high",
|
|
8
|
+
"notes": "LDAP wildcard - matches all entries",
|
|
9
|
+
"category": "Injection"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"id": "ldap-002",
|
|
13
|
+
"payload": "*)(&",
|
|
14
|
+
"tags": ["ldap", "filter-injection"],
|
|
15
|
+
"expected_block": true,
|
|
16
|
+
"severity_hint": "high",
|
|
17
|
+
"notes": "LDAP filter injection - break out of filter",
|
|
18
|
+
"category": "Injection"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "ldap-003",
|
|
22
|
+
"payload": "*))%00",
|
|
23
|
+
"tags": ["ldap", "null-byte", "filter-injection"],
|
|
24
|
+
"expected_block": true,
|
|
25
|
+
"severity_hint": "high",
|
|
26
|
+
"notes": "LDAP filter injection with null byte terminator",
|
|
27
|
+
"category": "Injection"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"id": "ldap-004",
|
|
31
|
+
"payload": ")(cn=))\u0000",
|
|
32
|
+
"tags": ["ldap", "null-byte", "cn-injection"],
|
|
33
|
+
"expected_block": true,
|
|
34
|
+
"severity_hint": "high",
|
|
35
|
+
"notes": "LDAP cn attribute injection with null byte",
|
|
36
|
+
"category": "Injection"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "ldap-005",
|
|
40
|
+
"payload": "*(|(mail=*))",
|
|
41
|
+
"tags": ["ldap", "wildcard", "mail-enum"],
|
|
42
|
+
"expected_block": true,
|
|
43
|
+
"severity_hint": "high",
|
|
44
|
+
"notes": "LDAP wildcard with mail attribute OR",
|
|
45
|
+
"category": "Injection"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"id": "ldap-006",
|
|
49
|
+
"payload": "*(|(objectclass=*))",
|
|
50
|
+
"tags": ["ldap", "wildcard", "objectclass-enum"],
|
|
51
|
+
"expected_block": true,
|
|
52
|
+
"severity_hint": "high",
|
|
53
|
+
"notes": "LDAP wildcard with objectclass enumeration",
|
|
54
|
+
"category": "Injection"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"id": "ldap-007",
|
|
58
|
+
"payload": "*)(uid=*))(|(uid=*",
|
|
59
|
+
"tags": ["ldap", "auth-bypass", "uid-injection"],
|
|
60
|
+
"expected_block": true,
|
|
61
|
+
"severity_hint": "critical",
|
|
62
|
+
"notes": "LDAP auth bypass via uid filter manipulation",
|
|
63
|
+
"category": "Injection"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"id": "ldap-008",
|
|
67
|
+
"payload": "admin*",
|
|
68
|
+
"tags": ["ldap", "wildcard", "username-enum"],
|
|
69
|
+
"expected_block": true,
|
|
70
|
+
"severity_hint": "medium",
|
|
71
|
+
"notes": "LDAP wildcard username enumeration",
|
|
72
|
+
"category": "Injection"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"id": "ldap-009",
|
|
76
|
+
"payload": "admin*)((|userpassword=*)",
|
|
77
|
+
"tags": ["ldap", "password-extraction", "filter-injection"],
|
|
78
|
+
"expected_block": true,
|
|
79
|
+
"severity_hint": "critical",
|
|
80
|
+
"notes": "LDAP password attribute extraction attempt",
|
|
81
|
+
"category": "Injection"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"id": "ldap-010",
|
|
85
|
+
"payload": "admin*)((|userPassword=*)",
|
|
86
|
+
"tags": ["ldap", "password-extraction", "filter-injection"],
|
|
87
|
+
"expected_block": true,
|
|
88
|
+
"severity_hint": "critical",
|
|
89
|
+
"notes": "LDAP password extraction (camelCase variant)",
|
|
90
|
+
"category": "Injection"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "ldap-011",
|
|
94
|
+
"payload": "x' or name()='username' or 'x'='y",
|
|
95
|
+
"tags": ["ldap", "xpath-style", "injection"],
|
|
96
|
+
"expected_block": true,
|
|
97
|
+
"severity_hint": "high",
|
|
98
|
+
"notes": "LDAP/XPATH style injection",
|
|
99
|
+
"category": "Injection"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"id": "ldap-012",
|
|
103
|
+
"payload": "*()|%26'",
|
|
104
|
+
"tags": ["ldap", "filter-injection", "encoded"],
|
|
105
|
+
"expected_block": true,
|
|
106
|
+
"severity_hint": "high",
|
|
107
|
+
"notes": "LDAP filter with URL-encoded ampersand",
|
|
108
|
+
"category": "Injection"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"id": "ldap-013",
|
|
112
|
+
"payload": "*()|&'",
|
|
113
|
+
"tags": ["ldap", "filter-injection"],
|
|
114
|
+
"expected_block": true,
|
|
115
|
+
"severity_hint": "high",
|
|
116
|
+
"notes": "LDAP filter injection with pipe and ampersand",
|
|
117
|
+
"category": "Injection"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"id": "ldap-014",
|
|
121
|
+
"payload": "*/*",
|
|
122
|
+
"tags": ["ldap", "path-injection"],
|
|
123
|
+
"expected_block": true,
|
|
124
|
+
"severity_hint": "medium",
|
|
125
|
+
"notes": "LDAP path/filter manipulation",
|
|
126
|
+
"category": "Injection"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"id": "ldap-015",
|
|
130
|
+
"payload": "*|",
|
|
131
|
+
"tags": ["ldap", "pipe-injection"],
|
|
132
|
+
"expected_block": true,
|
|
133
|
+
"severity_hint": "medium",
|
|
134
|
+
"notes": "LDAP pipe character injection",
|
|
135
|
+
"category": "Injection"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"id": "ldap-016",
|
|
139
|
+
"payload": "admin)(!(&(1=0",
|
|
140
|
+
"tags": ["ldap", "auth-bypass", "logic-injection"],
|
|
141
|
+
"expected_block": true,
|
|
142
|
+
"severity_hint": "critical",
|
|
143
|
+
"notes": "LDAP logic manipulation for auth bypass",
|
|
144
|
+
"category": "Injection"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"id": "ldap-017",
|
|
148
|
+
"payload": "%2A%28%7C%28mail%3D%2A%29%29",
|
|
149
|
+
"tags": ["ldap", "url-encoded", "filter-injection"],
|
|
150
|
+
"expected_block": true,
|
|
151
|
+
"severity_hint": "high",
|
|
152
|
+
"notes": "URL-encoded LDAP filter *(|(mail=*))",
|
|
153
|
+
"category": "Injection"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"id": "ldap-018",
|
|
157
|
+
"payload": "%2A%28%7C%28objectclass%3D%2A%29%29",
|
|
158
|
+
"tags": ["ldap", "url-encoded", "filter-injection"],
|
|
159
|
+
"expected_block": true,
|
|
160
|
+
"severity_hint": "high",
|
|
161
|
+
"notes": "URL-encoded LDAP filter *(|(objectclass=*))",
|
|
162
|
+
"category": "Injection"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"id": "ldap-019",
|
|
166
|
+
"payload": "userPassword:2.5.13.18:=\\00",
|
|
167
|
+
"tags": ["ldap", "password-extraction", "oid"],
|
|
168
|
+
"expected_block": true,
|
|
169
|
+
"severity_hint": "critical",
|
|
170
|
+
"notes": "LDAP OID-based password attribute extraction",
|
|
171
|
+
"category": "Injection"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"id": "ldap-020",
|
|
175
|
+
"payload": ")(&(objectClass=*)",
|
|
176
|
+
"tags": ["ldap", "filter-injection", "objectclass"],
|
|
177
|
+
"expected_block": true,
|
|
178
|
+
"severity_hint": "high",
|
|
179
|
+
"notes": "LDAP filter breakout with objectClass wildcard",
|
|
180
|
+
"category": "Injection"
|
|
181
|
+
}
|
|
182
|
+
]
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "nosql-001",
|
|
4
|
+
"payload": "username[$ne]=admin&password[$ne]=admin",
|
|
5
|
+
"tags": ["nosql", "mongodb", "auth-bypass"],
|
|
6
|
+
"expected_block": true,
|
|
7
|
+
"severity_hint": "critical",
|
|
8
|
+
"notes": "NoSQL auth bypass using $ne operator (not equal)",
|
|
9
|
+
"category": "Injection"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"id": "nosql-002",
|
|
13
|
+
"payload": "{\"username\": {\"$ne\": null}, \"password\": {\"$ne\": null}}",
|
|
14
|
+
"tags": ["nosql", "mongodb", "auth-bypass", "json"],
|
|
15
|
+
"expected_block": true,
|
|
16
|
+
"severity_hint": "critical",
|
|
17
|
+
"notes": "JSON NoSQL auth bypass - matches any user",
|
|
18
|
+
"category": "Injection"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "nosql-003",
|
|
22
|
+
"payload": "{\"username\": {\"$gt\": \"\"}, \"password\": {\"$gt\": \"\"}}",
|
|
23
|
+
"tags": ["nosql", "mongodb", "auth-bypass", "json"],
|
|
24
|
+
"expected_block": true,
|
|
25
|
+
"severity_hint": "critical",
|
|
26
|
+
"notes": "JSON NoSQL auth bypass using $gt (greater than)",
|
|
27
|
+
"category": "Injection"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"id": "nosql-004",
|
|
31
|
+
"payload": "username[$regex]=.*&password[$regex]=.*",
|
|
32
|
+
"tags": ["nosql", "mongodb", "auth-bypass", "regex"],
|
|
33
|
+
"expected_block": true,
|
|
34
|
+
"severity_hint": "critical",
|
|
35
|
+
"notes": "NoSQL auth bypass using regex operator",
|
|
36
|
+
"category": "Injection"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "nosql-005",
|
|
40
|
+
"payload": "{\"username\": {\"$regex\": \"^admin\"}, \"password\": {\"$regex\": \".*\"}}",
|
|
41
|
+
"tags": ["nosql", "mongodb", "auth-bypass", "regex", "json"],
|
|
42
|
+
"expected_block": true,
|
|
43
|
+
"severity_hint": "critical",
|
|
44
|
+
"notes": "Target specific user with regex",
|
|
45
|
+
"category": "Injection"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"id": "nosql-006",
|
|
49
|
+
"payload": "password[$regex]=^a",
|
|
50
|
+
"tags": ["nosql", "mongodb", "blind", "regex"],
|
|
51
|
+
"expected_block": true,
|
|
52
|
+
"severity_hint": "high",
|
|
53
|
+
"notes": "Blind NoSQL password enumeration via regex",
|
|
54
|
+
"category": "Injection"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"id": "nosql-007",
|
|
58
|
+
"payload": "password[$regex]=.{6}",
|
|
59
|
+
"tags": ["nosql", "mongodb", "blind", "length"],
|
|
60
|
+
"expected_block": true,
|
|
61
|
+
"severity_hint": "high",
|
|
62
|
+
"notes": "Blind NoSQL password length detection",
|
|
63
|
+
"category": "Injection"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"id": "nosql-008",
|
|
67
|
+
"payload": "username[$nin][]=admin&username[$nin][]=test&password[$ne]=",
|
|
68
|
+
"tags": ["nosql", "mongodb", "auth-bypass", "nin"],
|
|
69
|
+
"expected_block": true,
|
|
70
|
+
"severity_hint": "critical",
|
|
71
|
+
"notes": "NoSQL auth bypass using $nin (not in)",
|
|
72
|
+
"category": "Injection"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"id": "nosql-009",
|
|
76
|
+
"payload": "login[$gt]=admin&login[$lt]=test&pass[$ne]=1",
|
|
77
|
+
"tags": ["nosql", "mongodb", "auth-bypass", "range"],
|
|
78
|
+
"expected_block": true,
|
|
79
|
+
"severity_hint": "critical",
|
|
80
|
+
"notes": "NoSQL auth bypass using range operators",
|
|
81
|
+
"category": "Injection"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"id": "nosql-010",
|
|
85
|
+
"payload": "{\"$where\": \"1 == 1\"}",
|
|
86
|
+
"tags": ["nosql", "mongodb", "where-injection"],
|
|
87
|
+
"expected_block": true,
|
|
88
|
+
"severity_hint": "critical",
|
|
89
|
+
"notes": "MongoDB $where injection - always true",
|
|
90
|
+
"category": "Injection"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "nosql-011",
|
|
94
|
+
"payload": "', $where: '1 == 1",
|
|
95
|
+
"tags": ["nosql", "mongodb", "where-injection"],
|
|
96
|
+
"expected_block": true,
|
|
97
|
+
"severity_hint": "critical",
|
|
98
|
+
"notes": "MongoDB $where string injection",
|
|
99
|
+
"category": "Injection"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"id": "nosql-012",
|
|
103
|
+
"payload": "true, $where: '1 == 1'",
|
|
104
|
+
"tags": ["nosql", "mongodb", "where-injection"],
|
|
105
|
+
"expected_block": true,
|
|
106
|
+
"severity_hint": "critical",
|
|
107
|
+
"notes": "MongoDB $where with true prefix",
|
|
108
|
+
"category": "Injection"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"id": "nosql-013",
|
|
112
|
+
"payload": "1, $where: '1 == 1'",
|
|
113
|
+
"tags": ["nosql", "mongodb", "where-injection"],
|
|
114
|
+
"expected_block": true,
|
|
115
|
+
"severity_hint": "critical",
|
|
116
|
+
"notes": "MongoDB $where with numeric prefix",
|
|
117
|
+
"category": "Injection"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"id": "nosql-014",
|
|
121
|
+
"payload": "' && this.password.match(/.*/)//+%00",
|
|
122
|
+
"tags": ["nosql", "mongodb", "regex", "null-byte"],
|
|
123
|
+
"expected_block": true,
|
|
124
|
+
"severity_hint": "critical",
|
|
125
|
+
"notes": "MongoDB JS injection with password match",
|
|
126
|
+
"category": "Injection"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"id": "nosql-015",
|
|
130
|
+
"payload": "';sleep(5000);'",
|
|
131
|
+
"tags": ["nosql", "mongodb", "time-based"],
|
|
132
|
+
"expected_block": true,
|
|
133
|
+
"severity_hint": "high",
|
|
134
|
+
"notes": "MongoDB time-based blind injection",
|
|
135
|
+
"category": "Injection"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"id": "nosql-016",
|
|
139
|
+
"payload": "';sleep(5000);+'",
|
|
140
|
+
"tags": ["nosql", "mongodb", "time-based"],
|
|
141
|
+
"expected_block": true,
|
|
142
|
+
"severity_hint": "high",
|
|
143
|
+
"notes": "MongoDB time-based with string concat",
|
|
144
|
+
"category": "Injection"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"id": "nosql-017",
|
|
148
|
+
"payload": "db.injection.insert({success:1});",
|
|
149
|
+
"tags": ["nosql", "mongodb", "data-manipulation"],
|
|
150
|
+
"expected_block": true,
|
|
151
|
+
"severity_hint": "critical",
|
|
152
|
+
"notes": "MongoDB data insertion attack",
|
|
153
|
+
"category": "Injection"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"id": "nosql-018",
|
|
157
|
+
"payload": "', $or: [ {}, { 'a':'a' } ], $comment:'successful MongoDB injection'",
|
|
158
|
+
"tags": ["nosql", "mongodb", "or-injection"],
|
|
159
|
+
"expected_block": true,
|
|
160
|
+
"severity_hint": "critical",
|
|
161
|
+
"notes": "MongoDB $or injection with comment",
|
|
162
|
+
"category": "Injection"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"id": "nosql-019",
|
|
166
|
+
"payload": "{\"username\":\"admin\", \"password\":{\"$gt\":\"\"}}",
|
|
167
|
+
"tags": ["nosql", "mongodb", "auth-bypass", "json"],
|
|
168
|
+
"expected_block": true,
|
|
169
|
+
"severity_hint": "critical",
|
|
170
|
+
"notes": "Target admin with $gt empty string",
|
|
171
|
+
"category": "Injection"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"id": "nosql-020",
|
|
175
|
+
"payload": "{\"username\":{\"$in\":[\"Admin\", \"admin\", \"root\", \"administrator\"]},\"password\":{\"$gt\":\"\"}}",
|
|
176
|
+
"tags": ["nosql", "mongodb", "auth-bypass", "in"],
|
|
177
|
+
"expected_block": true,
|
|
178
|
+
"severity_hint": "critical",
|
|
179
|
+
"notes": "NoSQL auth bypass targeting multiple admin accounts",
|
|
180
|
+
"category": "Injection"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"id": "nosql-021",
|
|
184
|
+
"payload": "[$ne]=1",
|
|
185
|
+
"tags": ["nosql", "mongodb", "operator"],
|
|
186
|
+
"expected_block": true,
|
|
187
|
+
"severity_hint": "high",
|
|
188
|
+
"notes": "Simple $ne operator injection",
|
|
189
|
+
"category": "Injection"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"id": "nosql-022",
|
|
193
|
+
"payload": "{$gt: ''}",
|
|
194
|
+
"tags": ["nosql", "mongodb", "operator"],
|
|
195
|
+
"expected_block": true,
|
|
196
|
+
"severity_hint": "high",
|
|
197
|
+
"notes": "Simple $gt operator injection",
|
|
198
|
+
"category": "Injection"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"id": "nosql-023",
|
|
202
|
+
"payload": "{ $ne: 1 }",
|
|
203
|
+
"tags": ["nosql", "mongodb", "operator"],
|
|
204
|
+
"expected_block": true,
|
|
205
|
+
"severity_hint": "high",
|
|
206
|
+
"notes": "Simple $ne with spaces",
|
|
207
|
+
"category": "Injection"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"id": "nosql-024",
|
|
211
|
+
"payload": "\";return(true);var xyz='a",
|
|
212
|
+
"tags": ["nosql", "mongodb", "js-injection"],
|
|
213
|
+
"expected_block": true,
|
|
214
|
+
"severity_hint": "critical",
|
|
215
|
+
"notes": "MongoDB JavaScript injection - return true",
|
|
216
|
+
"category": "Injection"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"id": "nosql-025",
|
|
220
|
+
"payload": "0;return true",
|
|
221
|
+
"tags": ["nosql", "mongodb", "js-injection"],
|
|
222
|
+
"expected_block": true,
|
|
223
|
+
"severity_hint": "critical",
|
|
224
|
+
"notes": "MongoDB JavaScript - numeric prefix return true",
|
|
225
|
+
"category": "Injection"
|
|
226
|
+
}
|
|
227
|
+
]
|