dd-trace 5.98.0 → 5.99.1
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-3rdparty.csv +0 -1
- package/ext/tags.js +1 -0
- package/index.d.ts +9 -1
- package/package.json +68 -47
- package/packages/datadog-instrumentations/src/crypto.js +45 -0
- package/packages/datadog-instrumentations/src/cypress-config.js +122 -16
- package/packages/datadog-instrumentations/src/dns.js +24 -56
- package/packages/datadog-instrumentations/src/graphql.js +1 -1
- package/packages/datadog-instrumentations/src/helpers/callback-instrumentor.js +74 -0
- package/packages/datadog-instrumentations/src/helpers/check-require-cache.js +4 -1
- package/packages/datadog-instrumentations/src/helpers/hooks.js +2 -0
- package/packages/datadog-instrumentations/src/helpers/rewriter/compiler.js +10 -3
- package/packages/datadog-instrumentations/src/helpers/rewriter/instrumentations/index.js +1 -0
- package/packages/datadog-instrumentations/src/helpers/rewriter/instrumentations/modelcontextprotocol-sdk.js +59 -0
- package/packages/datadog-instrumentations/src/helpers/rewriter/transforms.js +11 -2
- package/packages/datadog-instrumentations/src/jest.js +5 -5
- package/packages/datadog-instrumentations/src/modelcontextprotocol-sdk.js +7 -0
- package/packages/datadog-instrumentations/src/pino.js +4 -28
- package/packages/datadog-instrumentations/src/playwright-browser-scripts.js +27 -0
- package/packages/datadog-instrumentations/src/playwright.js +5 -17
- package/packages/datadog-instrumentations/src/stripe.js +38 -24
- package/packages/datadog-instrumentations/src/vitest.js +32 -4
- package/packages/datadog-instrumentations/src/zlib.js +29 -0
- package/packages/datadog-plugin-aws-sdk/src/base.js +1 -2
- package/packages/datadog-plugin-azure-event-hubs/src/producer.js +8 -15
- package/packages/datadog-plugin-azure-service-bus/src/producer.js +4 -9
- package/packages/datadog-plugin-cucumber/src/index.js +2 -2
- package/packages/datadog-plugin-cypress/src/cypress-plugin.js +5 -5
- package/packages/datadog-plugin-cypress/src/source-map-utils.js +48 -1
- package/packages/datadog-plugin-dd-trace-api/src/index.js +1 -1
- package/packages/datadog-plugin-graphql/src/utils.js +2 -2
- package/packages/datadog-plugin-http/src/server.js +11 -11
- package/packages/datadog-plugin-jest/src/index.js +2 -2
- package/packages/datadog-plugin-memcached/src/index.js +1 -1
- package/packages/datadog-plugin-mocha/src/index.js +1 -2
- package/packages/datadog-plugin-modelcontextprotocol-sdk/src/index.js +24 -0
- package/packages/datadog-plugin-modelcontextprotocol-sdk/src/tracing.js +55 -0
- package/packages/datadog-plugin-mongodb-core/src/index.js +1 -6
- package/packages/datadog-plugin-playwright/src/index.js +2 -3
- package/packages/datadog-plugin-vitest/src/index.js +14 -6
- package/packages/datadog-plugin-ws/src/close.js +2 -0
- package/packages/datadog-plugin-ws/src/producer.js +2 -0
- package/packages/datadog-plugin-ws/src/receiver.js +1 -0
- package/packages/dd-trace/src/aiguard/channels.js +8 -0
- package/packages/dd-trace/src/aiguard/index.js +7 -3
- package/packages/dd-trace/src/aiguard/sdk.js +44 -0
- package/packages/dd-trace/src/aiguard/tags.js +1 -0
- package/packages/dd-trace/src/appsec/blocking.js +18 -6
- package/packages/dd-trace/src/appsec/graphql.js +7 -7
- package/packages/dd-trace/src/appsec/index.js +9 -11
- package/packages/dd-trace/src/appsec/rasp/command_injection.js +4 -5
- package/packages/dd-trace/src/appsec/rasp/lfi.js +8 -4
- package/packages/dd-trace/src/appsec/rasp/sql_injection.js +5 -10
- package/packages/dd-trace/src/appsec/rasp/ssrf.js +5 -6
- package/packages/dd-trace/src/appsec/recommended.json +2438 -13
- package/packages/dd-trace/src/appsec/reporter.js +6 -5
- package/packages/dd-trace/src/appsec/sdk/user_blocking.js +4 -8
- package/packages/dd-trace/src/appsec/store.js +50 -0
- package/packages/dd-trace/src/appsec/waf/index.js +3 -5
- package/packages/dd-trace/src/baggage.js +16 -13
- package/packages/dd-trace/src/ci-visibility/early-flake-detection/get-known-tests.js +2 -2
- package/packages/dd-trace/src/ci-visibility/exporters/agentless/coverage-writer.js +2 -2
- package/packages/dd-trace/src/ci-visibility/exporters/agentless/di-logs-writer.js +2 -2
- package/packages/dd-trace/src/ci-visibility/exporters/agentless/writer.js +2 -2
- package/packages/dd-trace/src/ci-visibility/exporters/ci-visibility-exporter.js +1 -1
- package/packages/dd-trace/src/ci-visibility/exporters/git/git_metadata.js +3 -4
- package/packages/dd-trace/src/ci-visibility/intelligent-test-runner/get-skippable-suites.js +2 -2
- package/packages/dd-trace/src/ci-visibility/log-submission/log-submission-plugin.js +4 -5
- package/packages/dd-trace/src/ci-visibility/requests/fs-cache.js +3 -4
- package/packages/dd-trace/src/ci-visibility/requests/get-library-configuration.js +6 -6
- package/packages/dd-trace/src/ci-visibility/requests/upload-coverage-report.js +2 -2
- package/packages/dd-trace/src/ci-visibility/test-management/get-test-management-tests.js +2 -2
- package/packages/dd-trace/src/config/config-types.d.ts +0 -4
- package/packages/dd-trace/src/config/defaults.js +10 -10
- package/packages/dd-trace/src/config/generated-config-types.d.ts +39 -38
- package/packages/dd-trace/src/config/index.js +29 -39
- package/packages/dd-trace/src/config/parsers.js +26 -9
- package/packages/dd-trace/src/config/supported-configurations.json +46 -78
- package/packages/dd-trace/src/debugger/config.js +2 -0
- package/packages/dd-trace/src/debugger/devtools_client/send.js +25 -5
- package/packages/dd-trace/src/dogstatsd.js +5 -8
- package/packages/dd-trace/src/encode/0.4.js +4 -5
- package/packages/dd-trace/src/exporter.js +1 -1
- package/packages/dd-trace/src/exporters/agent/index.js +0 -1
- package/packages/dd-trace/src/exporters/agent/writer.js +1 -2
- package/packages/dd-trace/src/exporters/agentless/writer.js +3 -3
- package/packages/dd-trace/src/exporters/common/util.js +2 -2
- package/packages/dd-trace/src/git_metadata_tagger.js +1 -1
- package/packages/dd-trace/src/id.js +2 -0
- package/packages/dd-trace/src/index.js +2 -5
- package/packages/dd-trace/src/lambda/handler.js +1 -3
- package/packages/dd-trace/src/llmobs/constants/tags.js +3 -0
- package/packages/dd-trace/src/llmobs/plugins/{anthropic.js → anthropic/index.js} +5 -63
- package/packages/dd-trace/src/llmobs/plugins/anthropic/util.js +106 -0
- package/packages/dd-trace/src/llmobs/plugins/langchain/handlers/chain.js +3 -2
- package/packages/dd-trace/src/llmobs/plugins/langchain/handlers/chat_model.js +3 -2
- package/packages/dd-trace/src/llmobs/plugins/langchain/handlers/embedding.js +2 -1
- package/packages/dd-trace/src/llmobs/plugins/langchain/handlers/index.js +0 -49
- package/packages/dd-trace/src/llmobs/plugins/langchain/handlers/vectorstore.js +2 -1
- package/packages/dd-trace/src/llmobs/plugins/langchain/messages.js +76 -0
- package/packages/dd-trace/src/llmobs/plugins/langgraph/index.js +1 -26
- package/packages/dd-trace/src/llmobs/plugins/modelcontextprotocol-sdk/index.js +68 -0
- package/packages/dd-trace/src/llmobs/plugins/modelcontextprotocol-sdk/utils.js +57 -0
- package/packages/dd-trace/src/llmobs/sdk.js +23 -3
- package/packages/dd-trace/src/llmobs/span_processor.js +14 -1
- package/packages/dd-trace/src/llmobs/writers/base.js +7 -1
- package/packages/dd-trace/src/llmobs/writers/spans.js +1 -1
- package/packages/dd-trace/src/openfeature/eval-metrics-hook.js +103 -0
- package/packages/dd-trace/src/openfeature/flagging_provider.js +3 -0
- package/packages/dd-trace/src/opentelemetry/logs/index.js +6 -6
- package/packages/dd-trace/src/opentelemetry/logs/otlp_http_log_exporter.js +3 -2
- package/packages/dd-trace/src/opentelemetry/metrics/index.js +7 -7
- package/packages/dd-trace/src/opentelemetry/metrics/otlp_http_metric_exporter.js +3 -2
- package/packages/dd-trace/src/opentelemetry/otlp/otlp_http_exporter_base.js +19 -66
- package/packages/dd-trace/src/opentelemetry/trace/index.js +11 -16
- package/packages/dd-trace/src/opentelemetry/trace/otlp_http_trace_exporter.js +11 -3
- package/packages/dd-trace/src/opentelemetry/trace/otlp_transformer.js +51 -41
- package/packages/dd-trace/src/opentelemetry/tracer.js +9 -11
- package/packages/dd-trace/src/opentracing/propagation/text_map.js +30 -23
- package/packages/dd-trace/src/opentracing/span.js +2 -2
- package/packages/dd-trace/src/opentracing/tracer.js +12 -5
- package/packages/dd-trace/src/plugin_manager.js +6 -6
- package/packages/dd-trace/src/plugins/index.js +1 -0
- package/packages/dd-trace/src/plugins/log_plugin.js +1 -1
- package/packages/dd-trace/src/plugins/util/test.js +128 -7
- package/packages/dd-trace/src/plugins/util/url.js +2 -1
- package/packages/dd-trace/src/profiling/profilers/event_plugins/crypto.js +32 -0
- package/packages/dd-trace/src/profiling/profilers/event_plugins/zlib.js +19 -0
- package/packages/dd-trace/src/profiling/profilers/events.js +35 -0
- package/packages/dd-trace/src/proxy.js +8 -14
- package/packages/dd-trace/src/runtime_metrics/runtime_metrics.js +2 -2
- package/packages/dd-trace/src/service-naming/schemas/v0/web.js +4 -0
- package/packages/dd-trace/src/service-naming/schemas/v1/web.js +4 -0
- package/packages/dd-trace/src/span_processor.js +1 -2
- package/packages/dd-trace/src/tagger.js +2 -2
- package/packages/dd-trace/src/telemetry/send-data.js +5 -7
- package/packages/dd-trace/src/tracer.js +2 -2
- package/vendor/dist/ignore/LICENSE +0 -21
- package/vendor/dist/ignore/index.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "2.2",
|
|
3
3
|
"metadata": {
|
|
4
|
-
"rules_version": "1.
|
|
4
|
+
"rules_version": "1.18.0"
|
|
5
5
|
},
|
|
6
6
|
"rules": [
|
|
7
7
|
{
|
|
@@ -2456,6 +2456,9 @@
|
|
|
2456
2456
|
{
|
|
2457
2457
|
"parameters": {
|
|
2458
2458
|
"inputs": [
|
|
2459
|
+
{
|
|
2460
|
+
"address": "server.request.body.filenames"
|
|
2461
|
+
},
|
|
2459
2462
|
{
|
|
2460
2463
|
"address": "server.request.headers.no_cookies",
|
|
2461
2464
|
"key_path": [
|
|
@@ -2473,6 +2476,24 @@
|
|
|
2473
2476
|
"key_path": [
|
|
2474
2477
|
"x-file-name"
|
|
2475
2478
|
]
|
|
2479
|
+
},
|
|
2480
|
+
{
|
|
2481
|
+
"address": "server.request.headers.no_cookies",
|
|
2482
|
+
"key_path": [
|
|
2483
|
+
"content-disposition"
|
|
2484
|
+
]
|
|
2485
|
+
},
|
|
2486
|
+
{
|
|
2487
|
+
"address": "server.request.headers.no_cookies",
|
|
2488
|
+
"key_path": [
|
|
2489
|
+
"upload-filename"
|
|
2490
|
+
]
|
|
2491
|
+
},
|
|
2492
|
+
{
|
|
2493
|
+
"address": "server.request.headers.no_cookies",
|
|
2494
|
+
"key_path": [
|
|
2495
|
+
"filename"
|
|
2496
|
+
]
|
|
2476
2497
|
}
|
|
2477
2498
|
],
|
|
2478
2499
|
"list": [
|
|
@@ -2521,6 +2542,9 @@
|
|
|
2521
2542
|
{
|
|
2522
2543
|
"parameters": {
|
|
2523
2544
|
"inputs": [
|
|
2545
|
+
{
|
|
2546
|
+
"address": "server.request.body.filenames"
|
|
2547
|
+
},
|
|
2524
2548
|
{
|
|
2525
2549
|
"address": "server.request.headers.no_cookies",
|
|
2526
2550
|
"key_path": [
|
|
@@ -2544,6 +2568,24 @@
|
|
|
2544
2568
|
"key_path": [
|
|
2545
2569
|
"x-file-name"
|
|
2546
2570
|
]
|
|
2571
|
+
},
|
|
2572
|
+
{
|
|
2573
|
+
"address": "server.request.headers.no_cookies",
|
|
2574
|
+
"key_path": [
|
|
2575
|
+
"content-disposition"
|
|
2576
|
+
]
|
|
2577
|
+
},
|
|
2578
|
+
{
|
|
2579
|
+
"address": "server.request.headers.no_cookies",
|
|
2580
|
+
"key_path": [
|
|
2581
|
+
"upload-filename"
|
|
2582
|
+
]
|
|
2583
|
+
},
|
|
2584
|
+
{
|
|
2585
|
+
"address": "server.request.headers.no_cookies",
|
|
2586
|
+
"key_path": [
|
|
2587
|
+
"filename"
|
|
2588
|
+
]
|
|
2547
2589
|
}
|
|
2548
2590
|
],
|
|
2549
2591
|
"regex": ".*\\.(?:php\\d*|phtml)\\..*$",
|
|
@@ -3144,7 +3186,7 @@
|
|
|
3144
3186
|
"address": "graphql.server.resolver"
|
|
3145
3187
|
}
|
|
3146
3188
|
],
|
|
3147
|
-
"regex": "\\bon(?:
|
|
3189
|
+
"regex": "\\bon(?:abort|afterprint|afterscriptexecute|animationcancel|animationend|animationiteration|animationstart|auxclick|beforeinput|beforematch|beforeprint|beforescriptexecute|beforeunload|beforexrselect|blur|canplay|canplaythrough|change|click|compositionend|compositionstart|compositionupdate|contentvisibilityautostatechange|contextmenu|copy|cut|dblclick|DOMActivate|DOMMouseScroll|drag|dragend|dragenter|dragleave|dragover|dragstart|drop|durationchange|ended|error|focus|focusin|focusout|fullscreenchange|fullscreenerror|gesturechange|gestureend|gesturestart|gotpointercapture|hashchange|input|invalid|keydown|keypress|keyup|load|loadeddata|loadedmetadata|loadstart|lostpointercapture|message|mousedown|mouseenter|mouseleave|mousemove|mouseout|mouseover|mouseup|mousewheel|MozMousePixelScroll|offline|online|pagehide|pageshow|paste|pause|play|playing|pointercancel|pointerdown|pointerenter|pointerleave|pointermove|pointerout|pointerover|pointerrawupdate|pointerup|progress|ratechange|reset|resize|scroll|scrollend|scrollsnapchange|scrollsnapchanging|search|securitypolicyviolation|seeked|seeking|select|show|stalled|submit|suspend|timeupdate|toggle|touchcancel|touchend|touchmove|touchstart|transitioncancel|transitionend|transitionrun|transitionstart|unload|volumechange|waiting|webkitmouseforcechanged|webkitmouseforcedown|webkitmouseforceup|webkitmouseforcewillbegin|wheel)[\\s\\x0B\\x09\\x0C\\x3B\\x2C\\x28\\x3B]*?=[^=]",
|
|
3148
3190
|
"options": {
|
|
3149
3191
|
"min_length": 8
|
|
3150
3192
|
}
|
|
@@ -4528,6 +4570,81 @@
|
|
|
4528
4570
|
"lowercase"
|
|
4529
4571
|
]
|
|
4530
4572
|
},
|
|
4573
|
+
{
|
|
4574
|
+
"id": "crs-944-140",
|
|
4575
|
+
"name": "Java Injection Attack: Java Script File Upload Found",
|
|
4576
|
+
"tags": {
|
|
4577
|
+
"type": "unrestricted_file_upload",
|
|
4578
|
+
"crs_id": "944140",
|
|
4579
|
+
"category": "attack_attempt",
|
|
4580
|
+
"cwe": "434",
|
|
4581
|
+
"capec": "1000/152/242",
|
|
4582
|
+
"confidence": "1",
|
|
4583
|
+
"module": "waf"
|
|
4584
|
+
},
|
|
4585
|
+
"conditions": [
|
|
4586
|
+
{
|
|
4587
|
+
"parameters": {
|
|
4588
|
+
"inputs": [
|
|
4589
|
+
{
|
|
4590
|
+
"address": "server.request.body.filenames"
|
|
4591
|
+
},
|
|
4592
|
+
{
|
|
4593
|
+
"address": "server.request.headers.no_cookies",
|
|
4594
|
+
"key_path": [
|
|
4595
|
+
"x-filename"
|
|
4596
|
+
]
|
|
4597
|
+
},
|
|
4598
|
+
{
|
|
4599
|
+
"address": "server.request.headers.no_cookies",
|
|
4600
|
+
"key_path": [
|
|
4601
|
+
"x_filename"
|
|
4602
|
+
]
|
|
4603
|
+
},
|
|
4604
|
+
{
|
|
4605
|
+
"address": "server.request.headers.no_cookies",
|
|
4606
|
+
"key_path": [
|
|
4607
|
+
"x.filename"
|
|
4608
|
+
]
|
|
4609
|
+
},
|
|
4610
|
+
{
|
|
4611
|
+
"address": "server.request.headers.no_cookies",
|
|
4612
|
+
"key_path": [
|
|
4613
|
+
"x-file-name"
|
|
4614
|
+
]
|
|
4615
|
+
},
|
|
4616
|
+
{
|
|
4617
|
+
"address": "server.request.headers.no_cookies",
|
|
4618
|
+
"key_path": [
|
|
4619
|
+
"content-disposition"
|
|
4620
|
+
]
|
|
4621
|
+
},
|
|
4622
|
+
{
|
|
4623
|
+
"address": "server.request.headers.no_cookies",
|
|
4624
|
+
"key_path": [
|
|
4625
|
+
"upload-filename"
|
|
4626
|
+
]
|
|
4627
|
+
},
|
|
4628
|
+
{
|
|
4629
|
+
"address": "server.request.headers.no_cookies",
|
|
4630
|
+
"key_path": [
|
|
4631
|
+
"filename"
|
|
4632
|
+
]
|
|
4633
|
+
}
|
|
4634
|
+
],
|
|
4635
|
+
"regex": "\\.(?:jsp[fx]?|[jw]ar|class|do|action|tagx?|tld|js[fv])\\.?$",
|
|
4636
|
+
"options": {
|
|
4637
|
+
"case_sensitive": false,
|
|
4638
|
+
"min_length": 5
|
|
4639
|
+
}
|
|
4640
|
+
},
|
|
4641
|
+
"operator": "match_regex"
|
|
4642
|
+
}
|
|
4643
|
+
],
|
|
4644
|
+
"transformers": [
|
|
4645
|
+
"removeNulls"
|
|
4646
|
+
]
|
|
4647
|
+
},
|
|
4531
4648
|
{
|
|
4532
4649
|
"id": "crs-944-260",
|
|
4533
4650
|
"name": "Remote Command Execution: Malicious class-loading payload",
|
|
@@ -5564,6 +5681,167 @@
|
|
|
5564
5681
|
],
|
|
5565
5682
|
"transformers": []
|
|
5566
5683
|
},
|
|
5684
|
+
{
|
|
5685
|
+
"id": "dog-920-100",
|
|
5686
|
+
"name": "File upload with double extension",
|
|
5687
|
+
"tags": {
|
|
5688
|
+
"type": "http_protocol_violation",
|
|
5689
|
+
"category": "attack_attempt",
|
|
5690
|
+
"cwe": "434",
|
|
5691
|
+
"capec": "1000/255/153/267/71",
|
|
5692
|
+
"confidence": "0",
|
|
5693
|
+
"module": "waf"
|
|
5694
|
+
},
|
|
5695
|
+
"conditions": [
|
|
5696
|
+
{
|
|
5697
|
+
"parameters": {
|
|
5698
|
+
"inputs": [
|
|
5699
|
+
{
|
|
5700
|
+
"address": "server.request.body.filenames"
|
|
5701
|
+
},
|
|
5702
|
+
{
|
|
5703
|
+
"address": "server.request.headers.no_cookies",
|
|
5704
|
+
"key_path": [
|
|
5705
|
+
"x-filename"
|
|
5706
|
+
]
|
|
5707
|
+
},
|
|
5708
|
+
{
|
|
5709
|
+
"address": "server.request.headers.no_cookies",
|
|
5710
|
+
"key_path": [
|
|
5711
|
+
"x_filename"
|
|
5712
|
+
]
|
|
5713
|
+
},
|
|
5714
|
+
{
|
|
5715
|
+
"address": "server.request.headers.no_cookies",
|
|
5716
|
+
"key_path": [
|
|
5717
|
+
"x.filename"
|
|
5718
|
+
]
|
|
5719
|
+
},
|
|
5720
|
+
{
|
|
5721
|
+
"address": "server.request.headers.no_cookies",
|
|
5722
|
+
"key_path": [
|
|
5723
|
+
"x-file-name"
|
|
5724
|
+
]
|
|
5725
|
+
},
|
|
5726
|
+
{
|
|
5727
|
+
"address": "server.request.headers.no_cookies",
|
|
5728
|
+
"key_path": [
|
|
5729
|
+
"content-disposition"
|
|
5730
|
+
]
|
|
5731
|
+
},
|
|
5732
|
+
{
|
|
5733
|
+
"address": "server.request.headers.no_cookies",
|
|
5734
|
+
"key_path": [
|
|
5735
|
+
"upload-filename"
|
|
5736
|
+
]
|
|
5737
|
+
},
|
|
5738
|
+
{
|
|
5739
|
+
"address": "server.request.headers.no_cookies",
|
|
5740
|
+
"key_path": [
|
|
5741
|
+
"filename"
|
|
5742
|
+
]
|
|
5743
|
+
}
|
|
5744
|
+
],
|
|
5745
|
+
"regex": "\\w\\.[a-zA-Z0-9]{2,6}\\.[a-zA-Z0-9]+\\.?$",
|
|
5746
|
+
"options": {
|
|
5747
|
+
"case_sensitive": true,
|
|
5748
|
+
"min_length": 6
|
|
5749
|
+
}
|
|
5750
|
+
},
|
|
5751
|
+
"operator": "match_regex"
|
|
5752
|
+
}
|
|
5753
|
+
],
|
|
5754
|
+
"transformers": [
|
|
5755
|
+
"removeNulls"
|
|
5756
|
+
]
|
|
5757
|
+
},
|
|
5758
|
+
{
|
|
5759
|
+
"id": "dog-920-110",
|
|
5760
|
+
"name": "Zipslip Attack - Unsafe Zip extraction",
|
|
5761
|
+
"tags": {
|
|
5762
|
+
"type": "http_protocol_violation",
|
|
5763
|
+
"category": "attack_attempt",
|
|
5764
|
+
"cwe": "23",
|
|
5765
|
+
"capec": "1000/152/586",
|
|
5766
|
+
"confidence": "0",
|
|
5767
|
+
"module": "waf"
|
|
5768
|
+
},
|
|
5769
|
+
"conditions": [
|
|
5770
|
+
{
|
|
5771
|
+
"parameters": {
|
|
5772
|
+
"inputs": [
|
|
5773
|
+
{
|
|
5774
|
+
"address": "server.request.body.filenames"
|
|
5775
|
+
},
|
|
5776
|
+
{
|
|
5777
|
+
"address": "server.request.headers.no_cookies",
|
|
5778
|
+
"key_path": [
|
|
5779
|
+
"x-filename"
|
|
5780
|
+
]
|
|
5781
|
+
},
|
|
5782
|
+
{
|
|
5783
|
+
"address": "server.request.headers.no_cookies",
|
|
5784
|
+
"key_path": [
|
|
5785
|
+
"x_filename"
|
|
5786
|
+
]
|
|
5787
|
+
},
|
|
5788
|
+
{
|
|
5789
|
+
"address": "server.request.headers.no_cookies",
|
|
5790
|
+
"key_path": [
|
|
5791
|
+
"x.filename"
|
|
5792
|
+
]
|
|
5793
|
+
},
|
|
5794
|
+
{
|
|
5795
|
+
"address": "server.request.headers.no_cookies",
|
|
5796
|
+
"key_path": [
|
|
5797
|
+
"x-file-name"
|
|
5798
|
+
]
|
|
5799
|
+
},
|
|
5800
|
+
{
|
|
5801
|
+
"address": "server.request.headers.no_cookies",
|
|
5802
|
+
"key_path": [
|
|
5803
|
+
"content-disposition"
|
|
5804
|
+
]
|
|
5805
|
+
},
|
|
5806
|
+
{
|
|
5807
|
+
"address": "server.request.headers.no_cookies",
|
|
5808
|
+
"key_path": [
|
|
5809
|
+
"upload-filename"
|
|
5810
|
+
]
|
|
5811
|
+
},
|
|
5812
|
+
{
|
|
5813
|
+
"address": "server.request.headers.no_cookies",
|
|
5814
|
+
"key_path": [
|
|
5815
|
+
"filename"
|
|
5816
|
+
]
|
|
5817
|
+
}
|
|
5818
|
+
],
|
|
5819
|
+
"regex": "\\.(?:zip|(?:(?:tar\\.)?gz|bz2|7z|xz)|rar|tar)$",
|
|
5820
|
+
"options": {
|
|
5821
|
+
"case_sensitive": false,
|
|
5822
|
+
"min_length": 5
|
|
5823
|
+
}
|
|
5824
|
+
},
|
|
5825
|
+
"operator": "match_regex"
|
|
5826
|
+
},
|
|
5827
|
+
{
|
|
5828
|
+
"parameters": {
|
|
5829
|
+
"inputs": [
|
|
5830
|
+
{
|
|
5831
|
+
"address": "server.io.fs.file_write"
|
|
5832
|
+
}
|
|
5833
|
+
],
|
|
5834
|
+
"regex": "(?:^|[/\\\\])\\.\\.[/\\\\]",
|
|
5835
|
+
"options": {
|
|
5836
|
+
"case_sensitive": true,
|
|
5837
|
+
"min_length": 4
|
|
5838
|
+
}
|
|
5839
|
+
},
|
|
5840
|
+
"operator": "match_regex"
|
|
5841
|
+
}
|
|
5842
|
+
],
|
|
5843
|
+
"transformers": []
|
|
5844
|
+
},
|
|
5567
5845
|
{
|
|
5568
5846
|
"id": "dog-931-001",
|
|
5569
5847
|
"name": "RFI: URL Payload to well known RFI target",
|
|
@@ -5731,7 +6009,7 @@
|
|
|
5731
6009
|
"address": "graphql.server.resolver"
|
|
5732
6010
|
}
|
|
5733
6011
|
],
|
|
5734
|
-
"regex": "
|
|
6012
|
+
"regex": "<!DOCTYPE\\b.*<!ENTITY[^>]+SYSTEM\\s+[^>]+>",
|
|
5735
6013
|
"options": {
|
|
5736
6014
|
"case_sensitive": false,
|
|
5737
6015
|
"min_length": 24
|
|
@@ -8918,18 +9196,1757 @@
|
|
|
8918
9196
|
}
|
|
8919
9197
|
],
|
|
8920
9198
|
"transformers": []
|
|
8921
|
-
}
|
|
8922
|
-
],
|
|
8923
|
-
"rules_compat": [
|
|
9199
|
+
},
|
|
8924
9200
|
{
|
|
8925
|
-
"id": "
|
|
8926
|
-
"name": "
|
|
9201
|
+
"id": "strc-913-100",
|
|
9202
|
+
"name": "Found User-Agent associated with security scanner",
|
|
9203
|
+
"enabled": false,
|
|
8927
9204
|
"tags": {
|
|
8928
|
-
"type": "
|
|
8929
|
-
"
|
|
8930
|
-
"
|
|
8931
|
-
"module": "
|
|
8932
|
-
},
|
|
9205
|
+
"type": "security_scanner",
|
|
9206
|
+
"crs_id": "913100",
|
|
9207
|
+
"category": "attack_attempt",
|
|
9208
|
+
"module": "waf"
|
|
9209
|
+
},
|
|
9210
|
+
"conditions": [
|
|
9211
|
+
{
|
|
9212
|
+
"parameters": {
|
|
9213
|
+
"inputs": [
|
|
9214
|
+
{
|
|
9215
|
+
"address": "server.request.headers.no_cookies",
|
|
9216
|
+
"key_path": [
|
|
9217
|
+
"user-agent"
|
|
9218
|
+
]
|
|
9219
|
+
}
|
|
9220
|
+
],
|
|
9221
|
+
"list": [
|
|
9222
|
+
"(hydra)",
|
|
9223
|
+
"absinthe",
|
|
9224
|
+
"autogetcontent",
|
|
9225
|
+
"bilbo",
|
|
9226
|
+
"bfac",
|
|
9227
|
+
"cisco-torch",
|
|
9228
|
+
"core-project/1.0",
|
|
9229
|
+
"crimscanner/",
|
|
9230
|
+
"datacha0s",
|
|
9231
|
+
"domino hunter",
|
|
9232
|
+
"dotdotpwn",
|
|
9233
|
+
"email extractor",
|
|
9234
|
+
"fhscan core 1.",
|
|
9235
|
+
"floodgate",
|
|
9236
|
+
"f-secure radar",
|
|
9237
|
+
"get-minimal",
|
|
9238
|
+
"gootkit auto-rooter scanner",
|
|
9239
|
+
"grabber",
|
|
9240
|
+
"grendel-scan",
|
|
9241
|
+
"inspath",
|
|
9242
|
+
"internet ninja",
|
|
9243
|
+
"masscan",
|
|
9244
|
+
"morfeus fucking scanner",
|
|
9245
|
+
"mysqloit",
|
|
9246
|
+
"prog.customcrawler",
|
|
9247
|
+
"qqgamehall",
|
|
9248
|
+
"s.t.a.l.k.e.r.",
|
|
9249
|
+
"springenwerk",
|
|
9250
|
+
"sql power injector",
|
|
9251
|
+
"struts-pwn",
|
|
9252
|
+
"sysscan",
|
|
9253
|
+
"tbi-webscanner",
|
|
9254
|
+
"teh forest lobster",
|
|
9255
|
+
"toata dragostea",
|
|
9256
|
+
"uil2pn",
|
|
9257
|
+
"user-agent:",
|
|
9258
|
+
"vega/",
|
|
9259
|
+
"voideye",
|
|
9260
|
+
"webbandit",
|
|
9261
|
+
"webshag",
|
|
9262
|
+
"webvulnscan",
|
|
9263
|
+
"whatweb",
|
|
9264
|
+
"whcc/",
|
|
9265
|
+
"wordpress hash grabber",
|
|
9266
|
+
"xmlrpc exploit"
|
|
9267
|
+
]
|
|
9268
|
+
},
|
|
9269
|
+
"operator": "phrase_match"
|
|
9270
|
+
}
|
|
9271
|
+
],
|
|
9272
|
+
"transformers": [
|
|
9273
|
+
"lowercase"
|
|
9274
|
+
]
|
|
9275
|
+
},
|
|
9276
|
+
{
|
|
9277
|
+
"id": "strc-921-120",
|
|
9278
|
+
"name": "HTTP Response Splitting Attack",
|
|
9279
|
+
"enabled": false,
|
|
9280
|
+
"tags": {
|
|
9281
|
+
"type": "http_protocol_violation",
|
|
9282
|
+
"crs_id": "921120",
|
|
9283
|
+
"category": "attack_attempt",
|
|
9284
|
+
"module": "waf"
|
|
9285
|
+
},
|
|
9286
|
+
"conditions": [
|
|
9287
|
+
{
|
|
9288
|
+
"parameters": {
|
|
9289
|
+
"inputs": [
|
|
9290
|
+
{
|
|
9291
|
+
"address": "server.request.query"
|
|
9292
|
+
},
|
|
9293
|
+
{
|
|
9294
|
+
"address": "server.request.body"
|
|
9295
|
+
},
|
|
9296
|
+
{
|
|
9297
|
+
"address": "server.request.path_params"
|
|
9298
|
+
},
|
|
9299
|
+
{
|
|
9300
|
+
"address": "graphql.server.all_resolvers"
|
|
9301
|
+
},
|
|
9302
|
+
{
|
|
9303
|
+
"address": "graphql.server.resolver"
|
|
9304
|
+
}
|
|
9305
|
+
],
|
|
9306
|
+
"regex": "[\\r\\n]\\W*?(?:content-(?:type|length)|set-cookie|location):\\s*\\w",
|
|
9307
|
+
"options": {
|
|
9308
|
+
"case_sensitive": true,
|
|
9309
|
+
"min_length": 11
|
|
9310
|
+
}
|
|
9311
|
+
},
|
|
9312
|
+
"operator": "match_regex"
|
|
9313
|
+
}
|
|
9314
|
+
],
|
|
9315
|
+
"transformers": [
|
|
9316
|
+
"lowercase"
|
|
9317
|
+
]
|
|
9318
|
+
},
|
|
9319
|
+
{
|
|
9320
|
+
"id": "strc-921-140",
|
|
9321
|
+
"name": "HTTP Header Injection Attack via headers",
|
|
9322
|
+
"enabled": false,
|
|
9323
|
+
"tags": {
|
|
9324
|
+
"type": "http_protocol_violation",
|
|
9325
|
+
"crs_id": "921140",
|
|
9326
|
+
"category": "attack_attempt",
|
|
9327
|
+
"capec": "1000/210/272/220/273",
|
|
9328
|
+
"cwe": "113",
|
|
9329
|
+
"module": "waf"
|
|
9330
|
+
},
|
|
9331
|
+
"conditions": [
|
|
9332
|
+
{
|
|
9333
|
+
"parameters": {
|
|
9334
|
+
"inputs": [
|
|
9335
|
+
{
|
|
9336
|
+
"address": "server.request.headers.no_cookies"
|
|
9337
|
+
}
|
|
9338
|
+
],
|
|
9339
|
+
"regex": "[\\n\\r]",
|
|
9340
|
+
"options": {
|
|
9341
|
+
"case_sensitive": true,
|
|
9342
|
+
"min_length": 1
|
|
9343
|
+
}
|
|
9344
|
+
},
|
|
9345
|
+
"operator": "match_regex"
|
|
9346
|
+
}
|
|
9347
|
+
],
|
|
9348
|
+
"transformers": []
|
|
9349
|
+
},
|
|
9350
|
+
{
|
|
9351
|
+
"id": "strc-930-101",
|
|
9352
|
+
"name": "Obfuscated Path Traversal Attack via URL encoding (/../)",
|
|
9353
|
+
"enabled": false,
|
|
9354
|
+
"tags": {
|
|
9355
|
+
"type": "lfi",
|
|
9356
|
+
"category": "attack_attempt",
|
|
9357
|
+
"cwe": "22",
|
|
9358
|
+
"capec": "1000/255/153/126",
|
|
9359
|
+
"module": "waf"
|
|
9360
|
+
},
|
|
9361
|
+
"conditions": [
|
|
9362
|
+
{
|
|
9363
|
+
"parameters": {
|
|
9364
|
+
"inputs": [
|
|
9365
|
+
{
|
|
9366
|
+
"address": "server.request.query"
|
|
9367
|
+
},
|
|
9368
|
+
{
|
|
9369
|
+
"address": "server.request.body"
|
|
9370
|
+
},
|
|
9371
|
+
{
|
|
9372
|
+
"address": "server.request.path_params"
|
|
9373
|
+
},
|
|
9374
|
+
{
|
|
9375
|
+
"address": "graphql.server.all_resolvers"
|
|
9376
|
+
},
|
|
9377
|
+
{
|
|
9378
|
+
"address": "graphql.server.resolver"
|
|
9379
|
+
}
|
|
9380
|
+
],
|
|
9381
|
+
"regex": "(?:%(?:c(?:0%(?:[2aq]f|5c|9v)|1%(?:[19p]c|8s|af))|2(?:5(?:c(?:0%25af|1%259c)|2f|5c)|%46|f)|(?:(?:f(?:8%8)?0%8|e)0%80%a|bg%q)f|%3(?:2(?:%(?:%6|4)6|F)|5%%63)|u(?:221[56]|002f|EFC8|F025)|1u|5c)|0x(?:2f|5c)|\\/|\\x5c)(?:%(?:(?:f(?:(?:c%80|8)%8)?0%8|e)0%80%ae|2(?:(?:5(?:c0%25a|2))?e|%45)|u(?:(?:002|ff0)e|2024)|%32(?:%(?:%6|4)5|E)|c0(?:%[256aef]e|\\.))|\\.(?:%0[01]|\\?)?|\\?\\.?|0x2e){2,3}(?:%(?:c(?:0%(?:[2aq]f|5c|9v)|1%(?:[19p]c|8s|af))|2(?:5(?:c(?:0%25af|1%259c)|2f|5c)|%46|f)|(?:(?:f(?:8%8)?0%8|e)0%80%a|bg%q)f|%3(?:2(?:%(?:%6|4)6|F)|5%%63)|u(?:221[56]|002f|EFC8|F025)|1u|5c)|0x(?:2f|5c)|\\/|\\x5c)",
|
|
9382
|
+
"options": {
|
|
9383
|
+
"min_length": 4
|
|
9384
|
+
}
|
|
9385
|
+
},
|
|
9386
|
+
"operator": "match_regex"
|
|
9387
|
+
}
|
|
9388
|
+
],
|
|
9389
|
+
"transformers": []
|
|
9390
|
+
},
|
|
9391
|
+
{
|
|
9392
|
+
"id": "strc-930-111",
|
|
9393
|
+
"name": "Simple Path Traversal Attack (/../)",
|
|
9394
|
+
"enabled": false,
|
|
9395
|
+
"tags": {
|
|
9396
|
+
"type": "lfi",
|
|
9397
|
+
"category": "attack_attempt",
|
|
9398
|
+
"cwe": "22",
|
|
9399
|
+
"capec": "1000/255/153/126",
|
|
9400
|
+
"module": "waf"
|
|
9401
|
+
},
|
|
9402
|
+
"conditions": [
|
|
9403
|
+
{
|
|
9404
|
+
"parameters": {
|
|
9405
|
+
"inputs": [
|
|
9406
|
+
{
|
|
9407
|
+
"address": "server.request.query"
|
|
9408
|
+
},
|
|
9409
|
+
{
|
|
9410
|
+
"address": "server.request.body"
|
|
9411
|
+
},
|
|
9412
|
+
{
|
|
9413
|
+
"address": "server.request.path_params"
|
|
9414
|
+
},
|
|
9415
|
+
{
|
|
9416
|
+
"address": "graphql.server.all_resolvers"
|
|
9417
|
+
},
|
|
9418
|
+
{
|
|
9419
|
+
"address": "graphql.server.resolver"
|
|
9420
|
+
}
|
|
9421
|
+
],
|
|
9422
|
+
"regex": "(?:(?:^|[\\x5c/])\\.{2,3}[\\x5c/]|[\\x5c/]\\.{2,3}(?:[\\x5c/]|$))",
|
|
9423
|
+
"options": {
|
|
9424
|
+
"case_sensitive": true,
|
|
9425
|
+
"min_length": 3
|
|
9426
|
+
}
|
|
9427
|
+
},
|
|
9428
|
+
"operator": "match_regex"
|
|
9429
|
+
}
|
|
9430
|
+
],
|
|
9431
|
+
"transformers": [
|
|
9432
|
+
"removeNulls"
|
|
9433
|
+
]
|
|
9434
|
+
},
|
|
9435
|
+
{
|
|
9436
|
+
"id": "strc-932-100",
|
|
9437
|
+
"name": "Remote Command Execution: Unix Command Injection",
|
|
9438
|
+
"enabled": false,
|
|
9439
|
+
"tags": {
|
|
9440
|
+
"type": "command_injection",
|
|
9441
|
+
"crs_id": "932100",
|
|
9442
|
+
"category": "attack_attempt",
|
|
9443
|
+
"module": "waf"
|
|
9444
|
+
},
|
|
9445
|
+
"conditions": [
|
|
9446
|
+
{
|
|
9447
|
+
"parameters": {
|
|
9448
|
+
"inputs": [
|
|
9449
|
+
{
|
|
9450
|
+
"address": "server.request.query"
|
|
9451
|
+
},
|
|
9452
|
+
{
|
|
9453
|
+
"address": "server.request.body"
|
|
9454
|
+
},
|
|
9455
|
+
{
|
|
9456
|
+
"address": "server.request.path_params"
|
|
9457
|
+
},
|
|
9458
|
+
{
|
|
9459
|
+
"address": "graphql.server.all_resolvers"
|
|
9460
|
+
},
|
|
9461
|
+
{
|
|
9462
|
+
"address": "graphql.server.resolver"
|
|
9463
|
+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'\\\"]*f[\\x5c'\\\"]*f|u)[\\x5c'\\\"]*(?:\\s|<|>).*|(?:m[\\x5c'\\\"]*e[\\x5c'\\\"]*s|p[\\x5c'\\\"]*k)[\\x5c'\\\"]*g|o[\\x5c'\\\"]*(?:a[\\x5c'\\\"]*s|n[\\x5c'\\\"]*e)|a[\\x5c'\\\"]*s[\\x5c'\\\"]*h)|j[\\x5c'\\\"]*(?:o[\\x5c'\\\"]*(?:u[\\x5c'\\\"]*r[\\x5c'\\\"]*n[\\x5c'\\\"]*a[\\x5c'\\\"]*l[\\x5c'\\\"]*c[\\x5c'\\\"]*t[\\x5c'\\\"]*l|b[\\x5c'\\\"]*s[\\x5c'\\\"]*(?:\\s|<|>).*)|a[\\x5c'\\\"]*v[\\x5c'\\\"]*a[\\x5c'\\\"]*(?:\\s|<|>).*|e[\\x5c'\\\"]*x[\\x5c'\\\"]*e[\\x5c'\\\"]*c)|k[\\x5c'\\\"]*(?:i[\\x5c'\\\"]*l[\\x5c'\\\"]*l[\\x5c'\\\"]*(?:a[\\x5c'\\\"]*l[\\x5c'\\\"]*l|(?:\\s|<|>).*)|s[\\x5c'\\\"]*h)|G[\\x5c'\\\"]*E[\\x5c'\\\"]*T[\\x5c'\\\"]*(?:\\s|<|>).*|7[\\x5c'\\\"]*z(?:[\\x5c'\\\"]*[ar])?)\\b",
|
|
9466
|
+
"options": {
|
|
9467
|
+
"case_sensitive": true,
|
|
9468
|
+
"min_length": 3
|
|
9469
|
+
}
|
|
9470
|
+
},
|
|
9471
|
+
"operator": "match_regex"
|
|
9472
|
+
}
|
|
9473
|
+
],
|
|
9474
|
+
"transformers": []
|
|
9475
|
+
},
|
|
9476
|
+
{
|
|
9477
|
+
"id": "strc-932-115",
|
|
9478
|
+
"name": "Remote Command Execution: Windows Command Injection",
|
|
9479
|
+
"enabled": false,
|
|
9480
|
+
"tags": {
|
|
9481
|
+
"type": "command_injection",
|
|
9482
|
+
"crs_id": "932115",
|
|
9483
|
+
"category": "attack_attempt",
|
|
9484
|
+
"module": "waf"
|
|
9485
|
+
},
|
|
9486
|
+
"conditions": [
|
|
9487
|
+
{
|
|
9488
|
+
"parameters": {
|
|
9489
|
+
"inputs": [
|
|
9490
|
+
{
|
|
9491
|
+
"address": "server.request.query"
|
|
9492
|
+
},
|
|
9493
|
+
{
|
|
9494
|
+
"address": "server.request.body"
|
|
9495
|
+
},
|
|
9496
|
+
{
|
|
9497
|
+
"address": "server.request.path_params"
|
|
9498
|
+
},
|
|
9499
|
+
{
|
|
9500
|
+
"address": "graphql.server.all_resolvers"
|
|
9501
|
+
},
|
|
9502
|
+
{
|
|
9503
|
+
"address": "graphql.server.resolver"
|
|
9504
|
+
}
|
|
9505
|
+
],
|
|
9506
|
+
"regex": "(?:[;\\n\\r`]|(?:$\\(|<)\\(|(?:\\|)?\\||\\(\\s*\\)|\\$[(?:{]|&?&|>\\|\\{)\\s*(?:(?:\\w+=(?:[^\\s]*|\\$.*|\\$.*|<.*|>.*|\\'.*\\'|\\\".*\\\")\\s+|(?:\\s*\\(|!)\\s*|\\{|\\$))*\\s*(?:['\\\"])*(?:[\\?\\*\\[\\]\\(\\)\\-\\|+\\w'\\\"\\./\\x5c]+/)?[\\x5c'\\\"]*(?:s[\\\"\\^]*(?:y[\\\"\\^]*s[\\\"\\^]*(?:t[\\\"\\^]*e[\\\"\\^]*m[\\\"\\^]*(?:p[\\\"\\^]*r[\\\"\\^]*o[\\\"\\^]*p[\\\"\\^]*e[\\\"\\^]*r[\\\"\\^]*t[\\\"\\^]*i[\\\"\\^]*e[\\\"\\^]*s[\\\"\\^]*(?:d[\\\"\\^]*a[\\\"\\^]*t[\\\"\\^]*a[\\\"\\^]*e[\\\"\\^]*x[\\\"\\^]*e[\\\"\\^]*c[\\\"\\^]*u[\\\"\\^]*t[\\\"\\^]*i[\\\"\\^]*o[\\\"\\^]*n[\\\"\\^]*p[\\\"\\^]*r[\\\"\\^]*e[\\\"\\^]*v[\\\"\\^]*e[\\\"\\^]*n[\\\"\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|<|>).*|e[\\\"\\^]*r[\\\"\\^]*i[\\\"\\^]*f[\\\"\\^]*y)|x[\\\"\\^]*c[\\\"\\^]*(?:a[\\\"\\^]*c[\\\"\\^]*l[\\\"\\^]*s|o[\\\"\\^]*p[\\\"\\^]*y)|z[\\\"\\^]*i[\\\"\\^]*p[\\\"\\^]*(?:[\\s,;]|\\.|/|<|>).*)",
|
|
9507
|
+
"options": {
|
|
9508
|
+
"min_length": 4
|
|
9509
|
+
}
|
|
9510
|
+
},
|
|
9511
|
+
"operator": "match_regex"
|
|
9512
|
+
}
|
|
9513
|
+
],
|
|
9514
|
+
"transformers": []
|
|
9515
|
+
},
|
|
9516
|
+
{
|
|
9517
|
+
"id": "strc-932-120",
|
|
9518
|
+
"name": "Remote Command Execution: Windows PowerShell Command Found",
|
|
9519
|
+
"enabled": false,
|
|
9520
|
+
"tags": {
|
|
9521
|
+
"type": "command_injection",
|
|
9522
|
+
"crs_id": "932120",
|
|
9523
|
+
"category": "attack_attempt"
|
|
9524
|
+
},
|
|
9525
|
+
"conditions": [
|
|
9526
|
+
{
|
|
9527
|
+
"parameters": {
|
|
9528
|
+
"inputs": [
|
|
9529
|
+
{
|
|
9530
|
+
"address": "server.request.query"
|
|
9531
|
+
},
|
|
9532
|
+
{
|
|
9533
|
+
"address": "server.request.body"
|
|
9534
|
+
},
|
|
9535
|
+
{
|
|
9536
|
+
"address": "server.request.path_params"
|
|
9537
|
+
},
|
|
9538
|
+
{
|
|
9539
|
+
"address": "graphql.server.all_resolvers"
|
|
9540
|
+
},
|
|
9541
|
+
{
|
|
9542
|
+
"address": "graphql.server.resolver"
|
|
9543
|
+
}
|
|
9544
|
+
],
|
|
9545
|
+
"options": {
|
|
9546
|
+
"enforce_word_boundary": true
|
|
9547
|
+
},
|
|
9548
|
+
"list": [
|
|
9549
|
+
"powershell",
|
|
9550
|
+
"add-computer",
|
|
9551
|
+
"add-content",
|
|
9552
|
+
"add-history",
|
|
9553
|
+
"add-jobtrigger",
|
|
9554
|
+
"add-localgroupmember",
|
|
9555
|
+
"add-member",
|
|
9556
|
+
"add-pssnapin",
|
|
9557
|
+
"add-type",
|
|
9558
|
+
"checkpoint-computer",
|
|
9559
|
+
"clear-content",
|
|
9560
|
+
"clear-eventlog",
|
|
9561
|
+
"clear-history",
|
|
9562
|
+
"clear-host",
|
|
9563
|
+
"clear-item",
|
|
9564
|
+
"clear-itemproperty",
|
|
9565
|
+
"clear-recyclebin",
|
|
9566
|
+
"clear-variable",
|
|
9567
|
+
"compare-object",
|
|
9568
|
+
"complete-transaction",
|
|
9569
|
+
"compress-archive",
|
|
9570
|
+
"connect-pssession",
|
|
9571
|
+
"connect-wsman",
|
|
9572
|
+
"convert-path",
|
|
9573
|
+
"convert-string",
|
|
9574
|
+
"convertfrom-csv",
|
|
9575
|
+
"convertfrom-json",
|
|
9576
|
+
"convertfrom-markdown",
|
|
9577
|
+
"convertfrom-sddlstring",
|
|
9578
|
+
"convertfrom-securestring",
|
|
9579
|
+
"convertfrom-string",
|
|
9580
|
+
"convertfrom-stringdata",
|
|
9581
|
+
"convertto-csv",
|
|
9582
|
+
"convertto-html",
|
|
9583
|
+
"convertto-json",
|
|
9584
|
+
"convertto-securestring",
|
|
9585
|
+
"convertto-xml",
|
|
9586
|
+
"copy-item",
|
|
9587
|
+
"copy-itemproperty",
|
|
9588
|
+
"debug-job",
|
|
9589
|
+
"debug-process",
|
|
9590
|
+
"debug-runspace",
|
|
9591
|
+
"disable-computerrestore",
|
|
9592
|
+
"disable-experimentalfeature",
|
|
9593
|
+
"disable-jobtrigger",
|
|
9594
|
+
"disable-localuser",
|
|
9595
|
+
"disable-psbreakpoint",
|
|
9596
|
+
"disable-psremoting",
|
|
9597
|
+
"disable-pssessionconfiguration",
|
|
9598
|
+
"disable-pstrace",
|
|
9599
|
+
"disable-pswsmancombinedtrace",
|
|
9600
|
+
"disable-runspacedebug",
|
|
9601
|
+
"disable-scheduledjob",
|
|
9602
|
+
"disable-wsmancredssp",
|
|
9603
|
+
"disable-wsmantrace",
|
|
9604
|
+
"disconnect-pssession",
|
|
9605
|
+
"disconnect-wsman",
|
|
9606
|
+
"enable-computerrestore",
|
|
9607
|
+
"enable-experimentalfeature",
|
|
9608
|
+
"enable-jobtrigger",
|
|
9609
|
+
"enable-localuser",
|
|
9610
|
+
"enable-psbreakpoint",
|
|
9611
|
+
"enable-psremoting",
|
|
9612
|
+
"enable-pssessionconfiguration",
|
|
9613
|
+
"enable-pstrace",
|
|
9614
|
+
"enable-pswsmancombinedtrace",
|
|
9615
|
+
"enable-runspacedebug",
|
|
9616
|
+
"enable-scheduledjob",
|
|
9617
|
+
"enable-wsmancredssp",
|
|
9618
|
+
"enable-wsmantrace",
|
|
9619
|
+
"enter-pshostprocess",
|
|
9620
|
+
"enter-pssession",
|
|
9621
|
+
"exit-pshostprocess",
|
|
9622
|
+
"exit-pssession",
|
|
9623
|
+
"expand-archive",
|
|
9624
|
+
"export-alias",
|
|
9625
|
+
"export-binarymilog",
|
|
9626
|
+
"export-clixml",
|
|
9627
|
+
"export-console",
|
|
9628
|
+
"export-counter",
|
|
9629
|
+
"export-csv",
|
|
9630
|
+
"export-formatdata",
|
|
9631
|
+
"export-modulemember",
|
|
9632
|
+
"export-odataendpointproxy",
|
|
9633
|
+
"export-pssession",
|
|
9634
|
+
"find-command",
|
|
9635
|
+
"find-dscresource",
|
|
9636
|
+
"find-module",
|
|
9637
|
+
"find-package",
|
|
9638
|
+
"find-packageprovider",
|
|
9639
|
+
"find-rolecapability",
|
|
9640
|
+
"find-script",
|
|
9641
|
+
"foreach-object",
|
|
9642
|
+
"format-custom",
|
|
9643
|
+
"format-hex",
|
|
9644
|
+
"format-list",
|
|
9645
|
+
"format-table",
|
|
9646
|
+
"format-wide",
|
|
9647
|
+
"get-acl",
|
|
9648
|
+
"get-alias",
|
|
9649
|
+
"get-authenticodesignature",
|
|
9650
|
+
"get-childitem",
|
|
9651
|
+
"get-cimassociatedinstance",
|
|
9652
|
+
"get-cimclass",
|
|
9653
|
+
"get-ciminstance",
|
|
9654
|
+
"get-cimsession",
|
|
9655
|
+
"get-clipboard",
|
|
9656
|
+
"get-cmsmessage",
|
|
9657
|
+
"get-command",
|
|
9658
|
+
"get-computerinfo",
|
|
9659
|
+
"get-computerrestorepoint",
|
|
9660
|
+
"get-content",
|
|
9661
|
+
"get-controlpanelitem",
|
|
9662
|
+
"get-counter",
|
|
9663
|
+
"get-credential",
|
|
9664
|
+
"get-date",
|
|
9665
|
+
"get-error",
|
|
9666
|
+
"get-event",
|
|
9667
|
+
"get-eventlog",
|
|
9668
|
+
"get-eventsubscriber",
|
|
9669
|
+
"get-executionpolicy",
|
|
9670
|
+
"get-experimentalfeature",
|
|
9671
|
+
"get-filehash",
|
|
9672
|
+
"get-formatdata",
|
|
9673
|
+
"get-help",
|
|
9674
|
+
"get-history",
|
|
9675
|
+
"get-host",
|
|
9676
|
+
"get-hotfix",
|
|
9677
|
+
"get-installedmodule",
|
|
9678
|
+
"get-installedscript",
|
|
9679
|
+
"get-isesnippet",
|
|
9680
|
+
"get-item",
|
|
9681
|
+
"get-itemproperty",
|
|
9682
|
+
"get-itempropertyvalue",
|
|
9683
|
+
"get-job",
|
|
9684
|
+
"get-jobtrigger",
|
|
9685
|
+
"get-localgroup",
|
|
9686
|
+
"get-localgroupmember",
|
|
9687
|
+
"get-localuser",
|
|
9688
|
+
"get-location",
|
|
9689
|
+
"get-logproperties",
|
|
9690
|
+
"get-markdownoption",
|
|
9691
|
+
"get-module",
|
|
9692
|
+
"get-operationvalidation",
|
|
9693
|
+
"get-psbreakpoint",
|
|
9694
|
+
"get-pscallstack",
|
|
9695
|
+
"get-psdrive",
|
|
9696
|
+
"get-pshostprocessinfo",
|
|
9697
|
+
"get-psprovider",
|
|
9698
|
+
"get-psreadlinekeyhandler",
|
|
9699
|
+
"get-psreadlineoption",
|
|
9700
|
+
"get-psrepository",
|
|
9701
|
+
"get-pssession",
|
|
9702
|
+
"get-pssessioncapability",
|
|
9703
|
+
"get-pssessionconfiguration",
|
|
9704
|
+
"get-pssnapin",
|
|
9705
|
+
"get-pssubsystem",
|
|
9706
|
+
"get-package",
|
|
9707
|
+
"get-packageprovider",
|
|
9708
|
+
"get-packagesource",
|
|
9709
|
+
"get-pfxcertificate",
|
|
9710
|
+
"get-process",
|
|
9711
|
+
"get-random",
|
|
9712
|
+
"get-runspace",
|
|
9713
|
+
"get-runspacedebug",
|
|
9714
|
+
"get-scheduledjob",
|
|
9715
|
+
"get-scheduledjoboption",
|
|
9716
|
+
"get-service",
|
|
9717
|
+
"get-timezone",
|
|
9718
|
+
"get-tracesource",
|
|
9719
|
+
"get-transaction",
|
|
9720
|
+
"get-typedata",
|
|
9721
|
+
"get-uiculture",
|
|
9722
|
+
"get-unique",
|
|
9723
|
+
"get-uptime",
|
|
9724
|
+
"get-variable",
|
|
9725
|
+
"get-verb",
|
|
9726
|
+
"get-wsmancredssp",
|
|
9727
|
+
"get-wsmaninstance",
|
|
9728
|
+
"get-winevent",
|
|
9729
|
+
"get-wmiobject",
|
|
9730
|
+
"group-object",
|
|
9731
|
+
"import-alias",
|
|
9732
|
+
"import-binarymilog",
|
|
9733
|
+
"import-clixml",
|
|
9734
|
+
"import-counter",
|
|
9735
|
+
"import-csv",
|
|
9736
|
+
"import-isesnippet",
|
|
9737
|
+
"import-localizeddata",
|
|
9738
|
+
"import-module",
|
|
9739
|
+
"import-pssession",
|
|
9740
|
+
"import-packageprovider",
|
|
9741
|
+
"import-powershelldatafile",
|
|
9742
|
+
"install-module",
|
|
9743
|
+
"install-package",
|
|
9744
|
+
"install-packageprovider",
|
|
9745
|
+
"install-script",
|
|
9746
|
+
"invoke-asworkflow",
|
|
9747
|
+
"invoke-cimmethod",
|
|
9748
|
+
"invoke-command",
|
|
9749
|
+
"invoke-expression",
|
|
9750
|
+
"invoke-history",
|
|
9751
|
+
"invoke-item",
|
|
9752
|
+
"invoke-operationvalidation",
|
|
9753
|
+
"invoke-restmethod",
|
|
9754
|
+
"invoke-wsmanaction",
|
|
9755
|
+
"invoke-webrequest",
|
|
9756
|
+
"invoke-wmimethod",
|
|
9757
|
+
"join-path",
|
|
9758
|
+
"join-string",
|
|
9759
|
+
"limit-eventlog",
|
|
9760
|
+
"measure-command",
|
|
9761
|
+
"measure-object",
|
|
9762
|
+
"move-item",
|
|
9763
|
+
"move-itemproperty",
|
|
9764
|
+
"new-alias",
|
|
9765
|
+
"new-ciminstance",
|
|
9766
|
+
"new-cimsession",
|
|
9767
|
+
"new-cimsessionoption",
|
|
9768
|
+
"new-event",
|
|
9769
|
+
"new-eventlog",
|
|
9770
|
+
"new-filecatalog",
|
|
9771
|
+
"new-guid",
|
|
9772
|
+
"new-isesnippet",
|
|
9773
|
+
"new-item",
|
|
9774
|
+
"new-itemproperty",
|
|
9775
|
+
"new-jobtrigger",
|
|
9776
|
+
"new-localgroup",
|
|
9777
|
+
"new-localuser",
|
|
9778
|
+
"new-module",
|
|
9779
|
+
"new-modulemanifest",
|
|
9780
|
+
"new-object",
|
|
9781
|
+
"new-psdrive",
|
|
9782
|
+
"new-psrolecapabilityfile",
|
|
9783
|
+
"new-pssession",
|
|
9784
|
+
"new-pssessionconfigurationfile",
|
|
9785
|
+
"new-pssessionoption",
|
|
9786
|
+
"new-pstransportoption",
|
|
9787
|
+
"new-psworkflowexecutionoption",
|
|
9788
|
+
"new-psworkflowsession",
|
|
9789
|
+
"new-scheduledjoboption",
|
|
9790
|
+
"new-scriptfileinfo",
|
|
9791
|
+
"new-service",
|
|
9792
|
+
"new-temporaryfile",
|
|
9793
|
+
"new-timespan",
|
|
9794
|
+
"new-variable",
|
|
9795
|
+
"new-wsmaninstance",
|
|
9796
|
+
"new-wsmansessionoption",
|
|
9797
|
+
"new-webserviceproxy",
|
|
9798
|
+
"new-winevent",
|
|
9799
|
+
"out-default",
|
|
9800
|
+
"out-file",
|
|
9801
|
+
"out-gridview",
|
|
9802
|
+
"out-host",
|
|
9803
|
+
"out-null",
|
|
9804
|
+
"out-printer",
|
|
9805
|
+
"out-string",
|
|
9806
|
+
"pop-location",
|
|
9807
|
+
"protect-cmsmessage",
|
|
9808
|
+
"publish-module",
|
|
9809
|
+
"publish-script",
|
|
9810
|
+
"push-location",
|
|
9811
|
+
"read-host",
|
|
9812
|
+
"receive-job",
|
|
9813
|
+
"receive-pssession",
|
|
9814
|
+
"register-argumentcompleter",
|
|
9815
|
+
"register-cimindicationevent",
|
|
9816
|
+
"register-engineevent",
|
|
9817
|
+
"register-objectevent",
|
|
9818
|
+
"register-psrepository",
|
|
9819
|
+
"register-pssessionconfiguration",
|
|
9820
|
+
"register-packagesource",
|
|
9821
|
+
"register-scheduledjob",
|
|
9822
|
+
"register-wmievent",
|
|
9823
|
+
"remove-alias",
|
|
9824
|
+
"remove-ciminstance",
|
|
9825
|
+
"remove-cimsession",
|
|
9826
|
+
"remove-computer",
|
|
9827
|
+
"remove-event",
|
|
9828
|
+
"remove-eventlog",
|
|
9829
|
+
"remove-item",
|
|
9830
|
+
"remove-itemproperty",
|
|
9831
|
+
"remove-job",
|
|
9832
|
+
"remove-jobtrigger",
|
|
9833
|
+
"remove-localgroup",
|
|
9834
|
+
"remove-localgroupmember",
|
|
9835
|
+
"remove-localuser",
|
|
9836
|
+
"remove-module",
|
|
9837
|
+
"remove-psbreakpoint",
|
|
9838
|
+
"remove-psdrive",
|
|
9839
|
+
"remove-psreadlinekeyhandler",
|
|
9840
|
+
"remove-pssession",
|
|
9841
|
+
"remove-pssnapin",
|
|
9842
|
+
"remove-service",
|
|
9843
|
+
"remove-typedata",
|
|
9844
|
+
"remove-variable",
|
|
9845
|
+
"remove-wsmaninstance",
|
|
9846
|
+
"remove-wmiobject",
|
|
9847
|
+
"rename-computer",
|
|
9848
|
+
"rename-item",
|
|
9849
|
+
"rename-itemproperty",
|
|
9850
|
+
"rename-localgroup",
|
|
9851
|
+
"rename-localuser",
|
|
9852
|
+
"reset-computermachinepassword",
|
|
9853
|
+
"resolve-path",
|
|
9854
|
+
"restart-computer",
|
|
9855
|
+
"restart-service",
|
|
9856
|
+
"restore-computer",
|
|
9857
|
+
"resume-job",
|
|
9858
|
+
"resume-service",
|
|
9859
|
+
"save-help",
|
|
9860
|
+
"save-module",
|
|
9861
|
+
"save-package",
|
|
9862
|
+
"save-script",
|
|
9863
|
+
"select-object",
|
|
9864
|
+
"select-string",
|
|
9865
|
+
"select-xml",
|
|
9866
|
+
"send-mailmessage",
|
|
9867
|
+
"set-acl",
|
|
9868
|
+
"set-alias",
|
|
9869
|
+
"set-authenticodesignature",
|
|
9870
|
+
"set-ciminstance",
|
|
9871
|
+
"set-clipboard",
|
|
9872
|
+
"set-content",
|
|
9873
|
+
"set-date",
|
|
9874
|
+
"set-executionpolicy",
|
|
9875
|
+
"set-item",
|
|
9876
|
+
"set-itemproperty",
|
|
9877
|
+
"set-jobtrigger",
|
|
9878
|
+
"set-localgroup",
|
|
9879
|
+
"set-localuser",
|
|
9880
|
+
"set-location",
|
|
9881
|
+
"set-logproperties",
|
|
9882
|
+
"set-markdownoption",
|
|
9883
|
+
"set-psbreakpoint",
|
|
9884
|
+
"set-psdebug",
|
|
9885
|
+
"set-psreadlinekeyhandler",
|
|
9886
|
+
"set-psreadlineoption",
|
|
9887
|
+
"set-psrepository",
|
|
9888
|
+
"set-pssessionconfiguration",
|
|
9889
|
+
"set-packagesource",
|
|
9890
|
+
"set-scheduledjob",
|
|
9891
|
+
"set-scheduledjoboption",
|
|
9892
|
+
"set-service",
|
|
9893
|
+
"set-strictmode",
|
|
9894
|
+
"set-timezone",
|
|
9895
|
+
"set-tracesource",
|
|
9896
|
+
"set-variable",
|
|
9897
|
+
"set-wsmaninstance",
|
|
9898
|
+
"set-wsmanquickconfig",
|
|
9899
|
+
"set-wmiinstance",
|
|
9900
|
+
"show-command",
|
|
9901
|
+
"show-controlpanelitem",
|
|
9902
|
+
"show-eventlog",
|
|
9903
|
+
"show-markdown",
|
|
9904
|
+
"sort-object",
|
|
9905
|
+
"split-path",
|
|
9906
|
+
"start-job",
|
|
9907
|
+
"start-process",
|
|
9908
|
+
"start-service",
|
|
9909
|
+
"start-sleep",
|
|
9910
|
+
"start-threadjob",
|
|
9911
|
+
"start-trace",
|
|
9912
|
+
"start-transaction",
|
|
9913
|
+
"stop-computer",
|
|
9914
|
+
"stop-job",
|
|
9915
|
+
"stop-process",
|
|
9916
|
+
"stop-service",
|
|
9917
|
+
"stop-trace",
|
|
9918
|
+
"stop-transcript",
|
|
9919
|
+
"suspend-job",
|
|
9920
|
+
"suspend-service",
|
|
9921
|
+
"switch-process",
|
|
9922
|
+
"tee-object",
|
|
9923
|
+
"test-computersecurechannel",
|
|
9924
|
+
"test-connection",
|
|
9925
|
+
"test-filecatalog",
|
|
9926
|
+
"test-json",
|
|
9927
|
+
"test-modulemanifest",
|
|
9928
|
+
"test-pssessionconfigurationfile",
|
|
9929
|
+
"test-path",
|
|
9930
|
+
"test-scriptfileinfo",
|
|
9931
|
+
"test-wsman",
|
|
9932
|
+
"trace-command",
|
|
9933
|
+
"unblock-file",
|
|
9934
|
+
"undo-transaction",
|
|
9935
|
+
"uninstall-module",
|
|
9936
|
+
"uninstall-package",
|
|
9937
|
+
"uninstall-script",
|
|
9938
|
+
"unprotect-cmsmessage",
|
|
9939
|
+
"unregister-event",
|
|
9940
|
+
"unregister-psrepository",
|
|
9941
|
+
"unregister-pssessionconfiguration",
|
|
9942
|
+
"unregister-packagesource",
|
|
9943
|
+
"unregister-scheduledjob",
|
|
9944
|
+
"update-formatdata",
|
|
9945
|
+
"update-help",
|
|
9946
|
+
"update-list",
|
|
9947
|
+
"update-module",
|
|
9948
|
+
"update-modulemanifest",
|
|
9949
|
+
"update-script",
|
|
9950
|
+
"update-scriptfileinfo",
|
|
9951
|
+
"update-typedata",
|
|
9952
|
+
"use-transaction",
|
|
9953
|
+
"wait-debugger",
|
|
9954
|
+
"wait-event",
|
|
9955
|
+
"wait-job",
|
|
9956
|
+
"wait-process",
|
|
9957
|
+
"where-object",
|
|
9958
|
+
"write-debug",
|
|
9959
|
+
"write-error",
|
|
9960
|
+
"write-eventlog",
|
|
9961
|
+
"write-host",
|
|
9962
|
+
"write-information",
|
|
9963
|
+
"write-output",
|
|
9964
|
+
"write-progress",
|
|
9965
|
+
"write-verbose",
|
|
9966
|
+
"write-warning"
|
|
9967
|
+
]
|
|
9968
|
+
},
|
|
9969
|
+
"operator": "phrase_match"
|
|
9970
|
+
}
|
|
9971
|
+
],
|
|
9972
|
+
"transformers": [
|
|
9973
|
+
"lowercase"
|
|
9974
|
+
]
|
|
9975
|
+
},
|
|
9976
|
+
{
|
|
9977
|
+
"id": "strc-932-130",
|
|
9978
|
+
"name": "Remote Command Execution: Unix Shell Expression Found",
|
|
9979
|
+
"enabled": false,
|
|
9980
|
+
"tags": {
|
|
9981
|
+
"type": "command_injection",
|
|
9982
|
+
"crs_id": "932130",
|
|
9983
|
+
"category": "attack_attempt",
|
|
9984
|
+
"module": "waf"
|
|
9985
|
+
},
|
|
9986
|
+
"conditions": [
|
|
9987
|
+
{
|
|
9988
|
+
"parameters": {
|
|
9989
|
+
"inputs": [
|
|
9990
|
+
{
|
|
9991
|
+
"address": "server.request.query"
|
|
9992
|
+
},
|
|
9993
|
+
{
|
|
9994
|
+
"address": "server.request.body"
|
|
9995
|
+
},
|
|
9996
|
+
{
|
|
9997
|
+
"address": "server.request.path_params"
|
|
9998
|
+
},
|
|
9999
|
+
{
|
|
10000
|
+
"address": "graphql.server.all_resolvers"
|
|
10001
|
+
},
|
|
10002
|
+
{
|
|
10003
|
+
"address": "graphql.server.resolver"
|
|
10004
|
+
}
|
|
10005
|
+
],
|
|
10006
|
+
"regex": "(?:\\$(?:\\((?:\\(.*\\)|.*)\\)|\\{.*})|\\/\\w*\\[!?.+\\]|[<>]\\(.*\\))",
|
|
10007
|
+
"options": {
|
|
10008
|
+
"case_sensitive": true,
|
|
10009
|
+
"min_length": 3
|
|
10010
|
+
}
|
|
10011
|
+
},
|
|
10012
|
+
"operator": "match_regex"
|
|
10013
|
+
}
|
|
10014
|
+
],
|
|
10015
|
+
"transformers": []
|
|
10016
|
+
},
|
|
10017
|
+
{
|
|
10018
|
+
"id": "strc-932-150",
|
|
10019
|
+
"name": "Remote Command Execution: Direct Unix Command Execution",
|
|
10020
|
+
"enabled": false,
|
|
10021
|
+
"tags": {
|
|
10022
|
+
"type": "command_injection",
|
|
10023
|
+
"crs_id": "932150",
|
|
10024
|
+
"category": "attack_attempt",
|
|
10025
|
+
"module": "waf"
|
|
10026
|
+
},
|
|
10027
|
+
"conditions": [
|
|
10028
|
+
{
|
|
10029
|
+
"parameters": {
|
|
10030
|
+
"inputs": [
|
|
10031
|
+
{
|
|
10032
|
+
"address": "server.request.query"
|
|
10033
|
+
},
|
|
10034
|
+
{
|
|
10035
|
+
"address": "server.request.body"
|
|
10036
|
+
},
|
|
10037
|
+
{
|
|
10038
|
+
"address": "server.request.path_params"
|
|
10039
|
+
},
|
|
10040
|
+
{
|
|
10041
|
+
"address": "graphql.server.all_resolvers"
|
|
10042
|
+
},
|
|
10043
|
+
{
|
|
10044
|
+
"address": "graphql.server.resolver"
|
|
10045
|
+
}
|
|
10046
|
+
],
|
|
10047
|
+
"regex": "(?:(?:^|=)\\s*(?:(?:\\w+=(?:[^\\s]*|\\$.*|\\$.*|<.*|>.*|\\'.*\\'|\\\".*\\\")\\s+|(?:\\s*\\(|!)\\s*|\\{|\\$))*\\s*(?:[\\\"'])*(?:[\\?\\*\\[\\]\\(\\)\\-\\|+\\w'\\\"\\./\\x5c]+/)?[\\x5c'\\\"]*(?:l[\\x5c'\\\"]*(?:z(?:[\\x5c'\\\"]*(?:m[\\x5c'\\\"]*(?:a(?:[\\x5c'\\\"]*(?:i[\\x5c'\\\"]*n[\\x5c'\\\"]*f[\\x5c'\\\"]*o|d[\\x5c'\\\"]*e[\\x5c'\\\"]*c))?|o[\\x5c'\\\"]*r[\\x5c'\\\"]*e)|(?:[ef][\\x5c'\\\"]*)?g[\\x5c'\\\"]*r[\\x5c'\\\"]*e[\\x5c'\\\"]*p|4(?:[\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]*s[\\x5c'\\\"]*h)|\\$[\\x5c'\\\"]*(?:\\{[\\x5c'\\\"]*S[\\x5c'\\\"]*H[\\x5c'\\\"]*E[\\x5c'\\\"]*L[\\x5c'\\\"]*L[\\x5c'\\\"]*}|S[\\x5c'\\\"]*H[\\x5c'\\\"]*E[\\x5c'\\\"]*L[\\x5c'\\\"]*L))[\\x5c'\\\"]*(?:\\s|;|\\||&|<|>)",
|
|
10048
|
+
"options": {
|
|
10049
|
+
"case_sensitive": true,
|
|
10050
|
+
"min_length": 3
|
|
10051
|
+
}
|
|
10052
|
+
},
|
|
10053
|
+
"operator": "match_regex"
|
|
10054
|
+
}
|
|
10055
|
+
],
|
|
10056
|
+
"transformers": []
|
|
10057
|
+
},
|
|
10058
|
+
{
|
|
10059
|
+
"id": "strc-933-110",
|
|
10060
|
+
"name": "PHP Injection Attack: PHP Script File Upload Found",
|
|
10061
|
+
"enabled": false,
|
|
10062
|
+
"tags": {
|
|
10063
|
+
"type": "php_code_injection",
|
|
10064
|
+
"crs_id": "933110",
|
|
10065
|
+
"category": "attack_attempt",
|
|
10066
|
+
"module": "waf"
|
|
10067
|
+
},
|
|
10068
|
+
"conditions": [
|
|
10069
|
+
{
|
|
10070
|
+
"parameters": {
|
|
10071
|
+
"inputs": [
|
|
10072
|
+
{
|
|
10073
|
+
"address": "server.request.headers.no_cookies",
|
|
10074
|
+
"key_path": [
|
|
10075
|
+
"x-filename"
|
|
10076
|
+
]
|
|
10077
|
+
},
|
|
10078
|
+
{
|
|
10079
|
+
"address": "server.request.headers.no_cookies",
|
|
10080
|
+
"key_path": [
|
|
10081
|
+
"x_filename"
|
|
10082
|
+
]
|
|
10083
|
+
},
|
|
10084
|
+
{
|
|
10085
|
+
"address": "server.request.headers.no_cookies",
|
|
10086
|
+
"key_path": [
|
|
10087
|
+
"x.filename"
|
|
10088
|
+
]
|
|
10089
|
+
},
|
|
10090
|
+
{
|
|
10091
|
+
"address": "server.request.headers.no_cookies",
|
|
10092
|
+
"key_path": [
|
|
10093
|
+
"x-file-name"
|
|
10094
|
+
]
|
|
10095
|
+
}
|
|
10096
|
+
],
|
|
10097
|
+
"regex": ".*\\.ph(?:p\\d*|tml|ar|ps|t|pt)\\.*$",
|
|
10098
|
+
"options": {
|
|
10099
|
+
"case_sensitive": true,
|
|
10100
|
+
"min_length": 4
|
|
10101
|
+
}
|
|
10102
|
+
},
|
|
10103
|
+
"operator": "match_regex"
|
|
10104
|
+
}
|
|
10105
|
+
],
|
|
10106
|
+
"transformers": [
|
|
10107
|
+
"lowercase"
|
|
10108
|
+
]
|
|
10109
|
+
},
|
|
10110
|
+
{
|
|
10111
|
+
"id": "strc-933-180",
|
|
10112
|
+
"name": "PHP Injection Attack: Direct Variable Function Call",
|
|
10113
|
+
"enabled": false,
|
|
10114
|
+
"tags": {
|
|
10115
|
+
"type": "php_code_injection",
|
|
10116
|
+
"crs_id": "933180",
|
|
10117
|
+
"category": "attack_attempt",
|
|
10118
|
+
"module": "waf"
|
|
10119
|
+
},
|
|
10120
|
+
"conditions": [
|
|
10121
|
+
{
|
|
10122
|
+
"parameters": {
|
|
10123
|
+
"inputs": [
|
|
10124
|
+
{
|
|
10125
|
+
"address": "server.request.query"
|
|
10126
|
+
},
|
|
10127
|
+
{
|
|
10128
|
+
"address": "server.request.body"
|
|
10129
|
+
},
|
|
10130
|
+
{
|
|
10131
|
+
"address": "server.request.path_params"
|
|
10132
|
+
},
|
|
10133
|
+
{
|
|
10134
|
+
"address": "graphql.server.all_resolvers"
|
|
10135
|
+
},
|
|
10136
|
+
{
|
|
10137
|
+
"address": "graphql.server.resolver"
|
|
10138
|
+
}
|
|
10139
|
+
],
|
|
10140
|
+
"regex": "\\$+(?:[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*|\\s*{.+})(?:\\s|\\[.+\\]|{.+}|/\\*.*\\*/|//.*|#.*)*\\(.*\\)",
|
|
10141
|
+
"options": {
|
|
10142
|
+
"case_sensitive": true,
|
|
10143
|
+
"min_length": 4
|
|
10144
|
+
}
|
|
10145
|
+
},
|
|
10146
|
+
"operator": "match_regex"
|
|
10147
|
+
}
|
|
10148
|
+
],
|
|
10149
|
+
"transformers": []
|
|
10150
|
+
},
|
|
10151
|
+
{
|
|
10152
|
+
"id": "strc-933-210",
|
|
10153
|
+
"name": "PHP Injection Attack: Indirect/Chained Function Call",
|
|
10154
|
+
"enabled": false,
|
|
10155
|
+
"tags": {
|
|
10156
|
+
"type": "php_code_injection",
|
|
10157
|
+
"crs_id": "933210",
|
|
10158
|
+
"category": "attack_attempt",
|
|
10159
|
+
"module": "waf"
|
|
10160
|
+
},
|
|
10161
|
+
"conditions": [
|
|
10162
|
+
{
|
|
10163
|
+
"parameters": {
|
|
10164
|
+
"inputs": [
|
|
10165
|
+
{
|
|
10166
|
+
"address": "server.request.query"
|
|
10167
|
+
},
|
|
10168
|
+
{
|
|
10169
|
+
"address": "server.request.body"
|
|
10170
|
+
},
|
|
10171
|
+
{
|
|
10172
|
+
"address": "server.request.path_params"
|
|
10173
|
+
},
|
|
10174
|
+
{
|
|
10175
|
+
"address": "graphql.server.all_resolvers"
|
|
10176
|
+
},
|
|
10177
|
+
{
|
|
10178
|
+
"address": "graphql.server.resolver"
|
|
10179
|
+
}
|
|
10180
|
+
],
|
|
10181
|
+
"regex": "(?:\\(.+\\)\\(.+\\)|\\(.+\\)['\\\"][a-zA-Z-_0-9]+['\\\"]\\(.+\\)|\\[\\d+\\]\\(.+\\)|\\{\\d+\\}\\(.+\\)|\\$[^(?:\\),.;\\x5c/]+\\(.+\\)|[\\\"'][a-zA-Z0-9-_\\x5c]+[\\\"']\\(.+\\)|\\([^\\)]*string[^\\)]*\\)[a-zA-Z-_0-9\\\"'.{}\\[\\]\\s]+\\([^\\)]*\\));",
|
|
10182
|
+
"options": {
|
|
10183
|
+
"case_sensitive": true,
|
|
10184
|
+
"min_length": 6
|
|
10185
|
+
}
|
|
10186
|
+
},
|
|
10187
|
+
"operator": "match_regex"
|
|
10188
|
+
}
|
|
10189
|
+
],
|
|
10190
|
+
"transformers": []
|
|
10191
|
+
},
|
|
10192
|
+
{
|
|
10193
|
+
"id": "strc-941-100",
|
|
10194
|
+
"name": "XSS Attack Detected via libinjection",
|
|
10195
|
+
"enabled": false,
|
|
10196
|
+
"tags": {
|
|
10197
|
+
"type": "xss",
|
|
10198
|
+
"crs_id": "941100",
|
|
10199
|
+
"category": "attack_attempt",
|
|
10200
|
+
"cwe": "79",
|
|
10201
|
+
"module": "waf"
|
|
10202
|
+
},
|
|
10203
|
+
"conditions": [
|
|
10204
|
+
{
|
|
10205
|
+
"parameters": {
|
|
10206
|
+
"inputs": [
|
|
10207
|
+
{
|
|
10208
|
+
"address": "server.request.headers.no_cookies",
|
|
10209
|
+
"key_path": [
|
|
10210
|
+
"user-agent"
|
|
10211
|
+
]
|
|
10212
|
+
},
|
|
10213
|
+
{
|
|
10214
|
+
"address": "server.request.headers.no_cookies",
|
|
10215
|
+
"key_path": [
|
|
10216
|
+
"referer"
|
|
10217
|
+
]
|
|
10218
|
+
},
|
|
10219
|
+
{
|
|
10220
|
+
"address": "server.request.query"
|
|
10221
|
+
},
|
|
10222
|
+
{
|
|
10223
|
+
"address": "server.request.body"
|
|
10224
|
+
},
|
|
10225
|
+
{
|
|
10226
|
+
"address": "server.request.path_params"
|
|
10227
|
+
},
|
|
10228
|
+
{
|
|
10229
|
+
"address": "grpc.server.request.message"
|
|
10230
|
+
},
|
|
10231
|
+
{
|
|
10232
|
+
"address": "graphql.server.all_resolvers"
|
|
10233
|
+
},
|
|
10234
|
+
{
|
|
10235
|
+
"address": "graphql.server.resolver"
|
|
10236
|
+
}
|
|
10237
|
+
]
|
|
10238
|
+
},
|
|
10239
|
+
"operator": "is_xss"
|
|
10240
|
+
}
|
|
10241
|
+
],
|
|
10242
|
+
"transformers": [
|
|
10243
|
+
"removeNulls"
|
|
10244
|
+
]
|
|
10245
|
+
},
|
|
10246
|
+
{
|
|
10247
|
+
"id": "strc-941-130",
|
|
10248
|
+
"name": "XSS Filter - Category 3: Attribute Vector",
|
|
10249
|
+
"enabled": false,
|
|
10250
|
+
"tags": {
|
|
10251
|
+
"type": "xss",
|
|
10252
|
+
"crs_id": "941130",
|
|
10253
|
+
"category": "attack_attempt",
|
|
10254
|
+
"module": "waf"
|
|
10255
|
+
},
|
|
10256
|
+
"conditions": [
|
|
10257
|
+
{
|
|
10258
|
+
"parameters": {
|
|
10259
|
+
"inputs": [
|
|
10260
|
+
{
|
|
10261
|
+
"address": "server.request.headers.no_cookies",
|
|
10262
|
+
"key_path": [
|
|
10263
|
+
"user-agent"
|
|
10264
|
+
]
|
|
10265
|
+
},
|
|
10266
|
+
{
|
|
10267
|
+
"address": "server.request.query"
|
|
10268
|
+
},
|
|
10269
|
+
{
|
|
10270
|
+
"address": "server.request.body"
|
|
10271
|
+
},
|
|
10272
|
+
{
|
|
10273
|
+
"address": "server.request.path_params"
|
|
10274
|
+
},
|
|
10275
|
+
{
|
|
10276
|
+
"address": "graphql.server.all_resolvers"
|
|
10277
|
+
},
|
|
10278
|
+
{
|
|
10279
|
+
"address": "graphql.server.resolver"
|
|
10280
|
+
}
|
|
10281
|
+
],
|
|
10282
|
+
"regex": "[\\s\\S](?:\\b(?:x(?:link:href|html|mlns)|data:text\\/html|pattern\\b.*?=|formaction)|!ENTITY\\s+(?:\\S+|%\\s+\\S+)\\s+(?:PUBLIC|SYSTEM)|;base64|@import)\\b",
|
|
10283
|
+
"options": {
|
|
10284
|
+
"min_length": 6
|
|
10285
|
+
}
|
|
10286
|
+
},
|
|
10287
|
+
"operator": "match_regex"
|
|
10288
|
+
}
|
|
10289
|
+
],
|
|
10290
|
+
"transformers": [
|
|
10291
|
+
"removeNulls"
|
|
10292
|
+
]
|
|
10293
|
+
},
|
|
10294
|
+
{
|
|
10295
|
+
"id": "strc-941-150",
|
|
10296
|
+
"name": "XSS Filter - Category 5: Disallowed HTML Attributes",
|
|
10297
|
+
"enabled": false,
|
|
10298
|
+
"tags": {
|
|
10299
|
+
"type": "xss",
|
|
10300
|
+
"crs_id": "941150",
|
|
10301
|
+
"category": "attack_attempt",
|
|
10302
|
+
"module": "waf"
|
|
10303
|
+
},
|
|
10304
|
+
"conditions": [
|
|
10305
|
+
{
|
|
10306
|
+
"parameters": {
|
|
10307
|
+
"inputs": [
|
|
10308
|
+
{
|
|
10309
|
+
"address": "server.request.headers.no_cookies",
|
|
10310
|
+
"key_path": [
|
|
10311
|
+
"user-agent"
|
|
10312
|
+
]
|
|
10313
|
+
},
|
|
10314
|
+
{
|
|
10315
|
+
"address": "server.request.query"
|
|
10316
|
+
},
|
|
10317
|
+
{
|
|
10318
|
+
"address": "server.request.body"
|
|
10319
|
+
},
|
|
10320
|
+
{
|
|
10321
|
+
"address": "server.request.path_params"
|
|
10322
|
+
},
|
|
10323
|
+
{
|
|
10324
|
+
"address": "graphql.server.all_resolvers"
|
|
10325
|
+
},
|
|
10326
|
+
{
|
|
10327
|
+
"address": "graphql.server.resolver"
|
|
10328
|
+
}
|
|
10329
|
+
],
|
|
10330
|
+
"regex": "\\b(?:s(?:tyle|rc)|href)\\b\\s*?=",
|
|
10331
|
+
"options": {
|
|
10332
|
+
"case_sensitive": true,
|
|
10333
|
+
"min_length": 4
|
|
10334
|
+
}
|
|
10335
|
+
},
|
|
10336
|
+
"operator": "match_regex"
|
|
10337
|
+
}
|
|
10338
|
+
],
|
|
10339
|
+
"transformers": [
|
|
10340
|
+
"removeNulls"
|
|
10341
|
+
]
|
|
10342
|
+
},
|
|
10343
|
+
{
|
|
10344
|
+
"id": "strc-941-160",
|
|
10345
|
+
"name": "NoScript XSS InjectionChecker: HTML Injection",
|
|
10346
|
+
"enabled": false,
|
|
10347
|
+
"tags": {
|
|
10348
|
+
"type": "xss",
|
|
10349
|
+
"crs_id": "941160",
|
|
10350
|
+
"category": "attack_attempt",
|
|
10351
|
+
"module": "waf"
|
|
10352
|
+
},
|
|
10353
|
+
"conditions": [
|
|
10354
|
+
{
|
|
10355
|
+
"parameters": {
|
|
10356
|
+
"inputs": [
|
|
10357
|
+
{
|
|
10358
|
+
"address": "server.request.headers.no_cookies",
|
|
10359
|
+
"key_path": [
|
|
10360
|
+
"user-agent"
|
|
10361
|
+
]
|
|
10362
|
+
},
|
|
10363
|
+
{
|
|
10364
|
+
"address": "server.request.headers.no_cookies",
|
|
10365
|
+
"key_path": [
|
|
10366
|
+
"referer"
|
|
10367
|
+
]
|
|
10368
|
+
},
|
|
10369
|
+
{
|
|
10370
|
+
"address": "server.request.query"
|
|
10371
|
+
},
|
|
10372
|
+
{
|
|
10373
|
+
"address": "server.request.body"
|
|
10374
|
+
},
|
|
10375
|
+
{
|
|
10376
|
+
"address": "server.request.path_params"
|
|
10377
|
+
},
|
|
10378
|
+
{
|
|
10379
|
+
"address": "graphql.server.all_resolvers"
|
|
10380
|
+
},
|
|
10381
|
+
{
|
|
10382
|
+
"address": "graphql.server.resolver"
|
|
10383
|
+
}
|
|
10384
|
+
],
|
|
10385
|
+
"regex": "(?:(?:<\\w[\\s\\S]*[\\s/]|['\\\"](?:[\\s\\S]*[\\s/])?)(?:on(?:d(?:e(?:vice(?:(?:orienta|mo)tion|proximity|found|light)|livery(?:success|error)|activate)|r(?:ag(?:e(?:n(?:ter|d)|xit)|(?:gestur|leav)e|start|drop|over)|op)|i(?:s(?:c(?:hargingtimechange|onnect(?:ing|ed))|abled)|aling)|ata(?:setc(?:omplete|hanged)|(?:availabl|chang)e|error)|urationchange|ownloading|blclick)|Moz(?:M(?:agnifyGesture(?:Update|Start)?|ouse(?:PixelScroll|Hittest))|S(?:wipeGesture(?:Update|Start|End)?|crolledAreaChanged)|(?:(?:Press)?TapGestur|BeforeResiz)e|EdgeUI(?:C(?:omplet|ancel)|Start)ed|RotateGesture(?:Update|Start)?|A(?:udioAvailable|fterPaint))|c(?:o(?:m(?:p(?:osition(?:update|start|end)|lete)|mand(?:update)?)|n(?:t(?:rolselect|extmenu)|nect(?:ing|ed))|py)|a(?:(?:llschang|ch)ed|nplay(?:through)?|rdstatechange)|h(?:(?:arging(?:time)?ch)?ange|ecking)|(?:fstate|ell)change|u(?:echange|t)|l(?:ick|ose))|s(?:t(?:a(?:t(?:uschanged|echange)|lled|rt)|k(?:sessione|comma)nd|op)|e(?:ek(?:complete|ing|ed)|(?:lec(?:tstar)?)?t|n(?:ding|t))|(?:peech|ound)(?:start|end)|u(?:ccess|spend|bmit)|croll|how)|m(?:o(?:z(?:(?:pointerlock|fullscreen)(?:change|error)|(?:orientation|time)change|network(?:down|up)load)|use(?:(?:lea|mo)ve|o(?:ver|ut)|enter|wheel|down|up)|ve(?:start|end)?)|essage|ark)|a(?:n(?:imation(?:iteration|start|end)|tennastatechange)|fter(?:(?:scriptexecu|upda)te|print)|udio(?:process|start|end)|d(?:apteradded|dtrack)|ctivate|lerting|bort)|b(?:e(?:fore(?:(?:(?:de)?activa|scriptexecu)te|u(?:nload|pdate)|p(?:aste|rint)|c(?:opy|ut)|editfocus)|gin(?:Event)?)|oun(?:dary|ce)|l(?:ocked|ur)|roadcast|usy)|DOM(?:Node(?:Inserted(?:IntoDocument)?|Removed(?:FromDocument)?)|(?:CharacterData|Subtree)Modified|A(?:ttrModified|ctivate)|Focus(?:Out|In)|MouseScroll)|r(?:e(?:s(?:u(?:m(?:ing|e)|lt)|ize|et)|adystatechange|pea(?:tEven)?t|movetrack|trieving|ceived)|ow(?:s(?:inserted|delete)|e(?:nter|xit))|atechange)|p(?:op(?:up(?:hid(?:den|ing)|show(?:ing|n))|state)|a(?:ge(?:hide|show)|(?:st|us)e|int)|ro(?:pertychange|gress)|lay(?:ing)?)|t(?:ouch(?:(?:lea|mo)ve|en(?:ter|d)|cancel|start)|ransition(?:cancel|end|run)|ime(?:update|out)|ext)|u(?:s(?:erproximity|sdreceived)|p(?:gradeneeded|dateready)|n(?:derflow|load))|f(?:o(?:rm(?:change|input)|cus(?:out|in)?)|i(?:lterchange|nish)|ailed)|l(?:o(?:ad(?:e(?:d(?:meta)?data|nd)|start)|secapture)|evelchange|y)|g(?:amepad(?:(?:dis)?connected|button(?:down|up)|axismove)|et)|e(?:n(?:d(?:Event|ed)?|abled|ter)|rror(?:update)?|mptied|xit)|i(?:cc(?:cardlockerror|infochange)|n(?:coming|valid|put))|o(?:(?:(?:ff|n)lin|bsolet)e|verflow(?:changed)?|pen)|SVG(?:(?:Unl|L)oad|Resize|Scroll|Abort|Error|Zoom)|h(?:e(?:adphoneschange|l[dp])|ashchange|olding)|v(?:o(?:lum|ic)e|ersion)change|w(?:a(?:it|rn)ing|heel)|key(?:press|down|up)|(?:AppComman|Loa)d|no(?:update|match)|Request|zoom)|s(?:tyle|rc)|background|formaction|lowsrc|ping)[\\s\\x08]*?=|<[^\\w<>]*(?:[^<>\\\"'\\s]*:)?[^\\w<>]*\\W*?(?:(?:a\\W*?(?:n\\W*?i\\W*?m\\W*?a\\W*?t\\W*?e|p\\W*?p\\W*?l\\W*?e\\W*?t|u\\W*?d\\W*?i\\W*?o)|b\\W*?(?:i\\W*?n\\W*?d\\W*?i\\W*?n\\W*?g\\W*?s|a\\W*?s\\W*?e|o\\W*?d\\W*?y)|i?\\W*?f\\W*?r\\W*?a\\W*?m\\W*?e|o\\W*?b\\W*?j\\W*?e\\W*?c\\W*?t|i\\W*?m\\W*?a?\\W*?g\\W*?e?|e\\W*?m\\W*?b\\W*?e\\W*?d|p\\W*?a\\W*?r\\W*?a\\W*?m|v\\W*?i\\W*?d\\W*?e\\W*?o|l\\W*?i\\W*?n\\W*?k)[^>\\w]|s\\W*?(?:c\\W*?r\\W*?i\\W*?p\\W*?t|t\\W*?y\\W*?l\\W*?e|e\\W*?t[^>\\w]|v\\W*?g)|m\\W*?(?:a\\W*?r\\W*?q\\W*?u\\W*?e\\W*?e|e\\W*?t\\W*?a[^>\\w])|f\\W*?o\\W*?r\\W*?m))",
|
|
10386
|
+
"options": {
|
|
10387
|
+
"min_length": 4
|
|
10388
|
+
}
|
|
10389
|
+
},
|
|
10390
|
+
"operator": "match_regex"
|
|
10391
|
+
}
|
|
10392
|
+
],
|
|
10393
|
+
"transformers": [
|
|
10394
|
+
"removeNulls"
|
|
10395
|
+
]
|
|
10396
|
+
},
|
|
10397
|
+
{
|
|
10398
|
+
"id": "strc-941-190",
|
|
10399
|
+
"name": "IE XSS Filters - Style Tag Injection",
|
|
10400
|
+
"enabled": false,
|
|
10401
|
+
"tags": {
|
|
10402
|
+
"type": "xss",
|
|
10403
|
+
"crs_id": "941190",
|
|
10404
|
+
"category": "attack_attempt",
|
|
10405
|
+
"module": "waf"
|
|
10406
|
+
},
|
|
10407
|
+
"conditions": [
|
|
10408
|
+
{
|
|
10409
|
+
"parameters": {
|
|
10410
|
+
"inputs": [
|
|
10411
|
+
{
|
|
10412
|
+
"address": "server.request.query"
|
|
10413
|
+
},
|
|
10414
|
+
{
|
|
10415
|
+
"address": "server.request.body"
|
|
10416
|
+
},
|
|
10417
|
+
{
|
|
10418
|
+
"address": "server.request.path_params"
|
|
10419
|
+
},
|
|
10420
|
+
{
|
|
10421
|
+
"address": "graphql.server.all_resolvers"
|
|
10422
|
+
},
|
|
10423
|
+
{
|
|
10424
|
+
"address": "graphql.server.resolver"
|
|
10425
|
+
}
|
|
10426
|
+
],
|
|
10427
|
+
"regex": "(?i:<style.*?>.*?(?:@[i\\x5c]|(?:[:=]|&#x?0*(?:58|3A|61|3D);?).*?(?:[(?:\\x5c]|&#x?0*(?:40|28|92|5C);?)))",
|
|
10428
|
+
"options": {
|
|
10429
|
+
"case_sensitive": true,
|
|
10430
|
+
"min_length": 9
|
|
10431
|
+
}
|
|
10432
|
+
},
|
|
10433
|
+
"operator": "match_regex"
|
|
10434
|
+
}
|
|
10435
|
+
],
|
|
10436
|
+
"transformers": [
|
|
10437
|
+
"removeNulls"
|
|
10438
|
+
]
|
|
10439
|
+
},
|
|
10440
|
+
{
|
|
10441
|
+
"id": "strc-941-250",
|
|
10442
|
+
"name": "IE XSS Filters - META HTTP-Equiv Injection",
|
|
10443
|
+
"enabled": false,
|
|
10444
|
+
"tags": {
|
|
10445
|
+
"type": "xss",
|
|
10446
|
+
"crs_id": "941250",
|
|
10447
|
+
"category": "attack_attempt",
|
|
10448
|
+
"module": "waf"
|
|
10449
|
+
},
|
|
10450
|
+
"conditions": [
|
|
10451
|
+
{
|
|
10452
|
+
"parameters": {
|
|
10453
|
+
"inputs": [
|
|
10454
|
+
{
|
|
10455
|
+
"address": "server.request.query"
|
|
10456
|
+
},
|
|
10457
|
+
{
|
|
10458
|
+
"address": "server.request.body"
|
|
10459
|
+
},
|
|
10460
|
+
{
|
|
10461
|
+
"address": "server.request.path_params"
|
|
10462
|
+
},
|
|
10463
|
+
{
|
|
10464
|
+
"address": "graphql.server.all_resolvers"
|
|
10465
|
+
},
|
|
10466
|
+
{
|
|
10467
|
+
"address": "graphql.server.resolver"
|
|
10468
|
+
}
|
|
10469
|
+
],
|
|
10470
|
+
"regex": "(?i:<META[\\s/+].*?http-equiv[\\s/+]*=[\\s/+]*[\\\"'`]?(?:(?:c|&#x?0*(?:67|43|99|63);?)|(?:r|&#x?0*(?:82|52|114|72);?)|(?:s|&#x?0*(?:83|53|115|73);?)))",
|
|
10471
|
+
"options": {
|
|
10472
|
+
"case_sensitive": true,
|
|
10473
|
+
"min_length": 18
|
|
10474
|
+
}
|
|
10475
|
+
},
|
|
10476
|
+
"operator": "match_regex"
|
|
10477
|
+
}
|
|
10478
|
+
],
|
|
10479
|
+
"transformers": [
|
|
10480
|
+
"removeNulls"
|
|
10481
|
+
]
|
|
10482
|
+
},
|
|
10483
|
+
{
|
|
10484
|
+
"id": "strc-941-260",
|
|
10485
|
+
"name": "IE XSS Filters - META Charset Injection",
|
|
10486
|
+
"enabled": false,
|
|
10487
|
+
"tags": {
|
|
10488
|
+
"type": "xss",
|
|
10489
|
+
"crs_id": "941260",
|
|
10490
|
+
"category": "attack_attempt",
|
|
10491
|
+
"module": "waf"
|
|
10492
|
+
},
|
|
10493
|
+
"conditions": [
|
|
10494
|
+
{
|
|
10495
|
+
"parameters": {
|
|
10496
|
+
"inputs": [
|
|
10497
|
+
{
|
|
10498
|
+
"address": "server.request.query"
|
|
10499
|
+
},
|
|
10500
|
+
{
|
|
10501
|
+
"address": "server.request.body"
|
|
10502
|
+
},
|
|
10503
|
+
{
|
|
10504
|
+
"address": "server.request.path_params"
|
|
10505
|
+
},
|
|
10506
|
+
{
|
|
10507
|
+
"address": "graphql.server.all_resolvers"
|
|
10508
|
+
},
|
|
10509
|
+
{
|
|
10510
|
+
"address": "graphql.server.resolver"
|
|
10511
|
+
}
|
|
10512
|
+
],
|
|
10513
|
+
"regex": "(?i:<META[\\s/+].*?charset[\\s/+]*=)",
|
|
10514
|
+
"options": {
|
|
10515
|
+
"case_sensitive": true,
|
|
10516
|
+
"min_length": 14
|
|
10517
|
+
}
|
|
10518
|
+
},
|
|
10519
|
+
"operator": "match_regex"
|
|
10520
|
+
}
|
|
10521
|
+
],
|
|
10522
|
+
"transformers": [
|
|
10523
|
+
"removeNulls"
|
|
10524
|
+
]
|
|
10525
|
+
},
|
|
10526
|
+
{
|
|
10527
|
+
"id": "strc-941-370",
|
|
10528
|
+
"name": "XSS Attack: JavaScript Global Variable Access",
|
|
10529
|
+
"enabled": false,
|
|
10530
|
+
"tags": {
|
|
10531
|
+
"type": "xss",
|
|
10532
|
+
"crs_id": "941370",
|
|
10533
|
+
"category": "attack_attempt",
|
|
10534
|
+
"module": "waf"
|
|
10535
|
+
},
|
|
10536
|
+
"conditions": [
|
|
10537
|
+
{
|
|
10538
|
+
"parameters": {
|
|
10539
|
+
"inputs": [
|
|
10540
|
+
{
|
|
10541
|
+
"address": "server.request.query"
|
|
10542
|
+
},
|
|
10543
|
+
{
|
|
10544
|
+
"address": "server.request.body"
|
|
10545
|
+
},
|
|
10546
|
+
{
|
|
10547
|
+
"address": "server.request.path_params"
|
|
10548
|
+
},
|
|
10549
|
+
{
|
|
10550
|
+
"address": "graphql.server.all_resolvers"
|
|
10551
|
+
},
|
|
10552
|
+
{
|
|
10553
|
+
"address": "graphql.server.resolver"
|
|
10554
|
+
}
|
|
10555
|
+
],
|
|
10556
|
+
"regex": "(?:self|document|this|top|window)\\s*(?:/\\*|[\\[)]).+?(?:\\]|\\*/)",
|
|
10557
|
+
"options": {
|
|
10558
|
+
"case_sensitive": true,
|
|
10559
|
+
"min_length": 6
|
|
10560
|
+
}
|
|
10561
|
+
},
|
|
10562
|
+
"operator": "match_regex"
|
|
10563
|
+
}
|
|
10564
|
+
],
|
|
10565
|
+
"transformers": []
|
|
10566
|
+
},
|
|
10567
|
+
{
|
|
10568
|
+
"id": "strc-941-380",
|
|
10569
|
+
"name": "XSS Attack: AngularJS Client-Side Template Injection",
|
|
10570
|
+
"enabled": false,
|
|
10571
|
+
"tags": {
|
|
10572
|
+
"type": "js_code_injection",
|
|
10573
|
+
"crs_id": "941380",
|
|
10574
|
+
"category": "attack_attempt",
|
|
10575
|
+
"module": "waf"
|
|
10576
|
+
},
|
|
10577
|
+
"conditions": [
|
|
10578
|
+
{
|
|
10579
|
+
"parameters": {
|
|
10580
|
+
"inputs": [
|
|
10581
|
+
{
|
|
10582
|
+
"address": "server.request.query"
|
|
10583
|
+
},
|
|
10584
|
+
{
|
|
10585
|
+
"address": "server.request.body"
|
|
10586
|
+
},
|
|
10587
|
+
{
|
|
10588
|
+
"address": "server.request.path_params"
|
|
10589
|
+
},
|
|
10590
|
+
{
|
|
10591
|
+
"address": "graphql.server.all_resolvers"
|
|
10592
|
+
},
|
|
10593
|
+
{
|
|
10594
|
+
"address": "graphql.server.resolver"
|
|
10595
|
+
}
|
|
10596
|
+
],
|
|
10597
|
+
"regex": "^{{[\\w\\s\\.]*[^\\w\\.\\s}][^}]*}}$",
|
|
10598
|
+
"options": {
|
|
10599
|
+
"case_sensitive": true,
|
|
10600
|
+
"min_length": 5
|
|
10601
|
+
}
|
|
10602
|
+
},
|
|
10603
|
+
"operator": "match_regex"
|
|
10604
|
+
}
|
|
10605
|
+
],
|
|
10606
|
+
"transformers": []
|
|
10607
|
+
},
|
|
10608
|
+
{
|
|
10609
|
+
"id": "strc-942-151",
|
|
10610
|
+
"name": "SQL Injection Attack: Common SQL Function Call",
|
|
10611
|
+
"enabled": false,
|
|
10612
|
+
"tags": {
|
|
10613
|
+
"type": "sql_injection",
|
|
10614
|
+
"crs_id": "942151",
|
|
10615
|
+
"category": "attack_attempt",
|
|
10616
|
+
"module": "waf"
|
|
10617
|
+
},
|
|
10618
|
+
"conditions": [
|
|
10619
|
+
{
|
|
10620
|
+
"parameters": {
|
|
10621
|
+
"inputs": [
|
|
10622
|
+
{
|
|
10623
|
+
"address": "server.request.query"
|
|
10624
|
+
},
|
|
10625
|
+
{
|
|
10626
|
+
"address": "server.request.body"
|
|
10627
|
+
},
|
|
10628
|
+
{
|
|
10629
|
+
"address": "server.request.path_params"
|
|
10630
|
+
},
|
|
10631
|
+
{
|
|
10632
|
+
"address": "graphql.server.all_resolvers"
|
|
10633
|
+
},
|
|
10634
|
+
{
|
|
10635
|
+
"address": "graphql.server.resolver"
|
|
10636
|
+
}
|
|
10637
|
+
],
|
|
10638
|
+
"regex": "\\b(?:s(?:q(?:lite_(?:compileoption_(?:used|get)|source_id)|rt)|t(?:d(?:dev_(?:sam|po)p)?|r(?:_to_date|cmp))|ub(?:str(?:ing(?:_index)?)?|(?:dat|tim)e)|e(?:ssion_user|c_to_time)|ys(?:tem_user|date)|ha[12]?|oundex|chema|pace|in)|c(?:o(?:n(?:v(?:ert(?:_tz)?)?|cat(?:_ws)?|nection_id)|(?:mpres)?s|ercibility|llation|alesce|t)|ur(?:rent_(?:time(?:stamp)?|date|user)|(?:dat|tim)e)|ha(?:racte)?r_length|iel(?:ing)?|r32)|i(?:s(?:_(?:ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull)|(?:free|used)_lock)|null)|n(?:et(?:6_(?:aton|ntoa)|_(?:aton|ntoa))|s(?:ert|tr)|terval)|fnull)|l(?:o(?:ca(?:ltimestamp|te)|g(?:10|2)|ad_file|wer)|i(?:kel(?:ihood|y)|nestring)|ast_(?:inser_id|day)|e(?:as|f)t|case|trim|pad)|d(?:a(?:t(?:e(?:_(?:format|add|sub)|diff)|abase)|y(?:of(?:month|week|year)|name))|e(?:s_(?:de|en)crypt|grees|code)|count|ump)|u(?:n(?:compress(?:ed_length)?|ix_timestamp|likely|hex)|tc_(?:time(?:stamp)?|date)|uid(?:_short)?|pdatexml|case)|t(?:ime(?:_(?:format|to_sec)|stamp(?:diff|add)?|diff)|o(?:(?:second|day)s|_base64|n?char)|r(?:uncate|im))|m(?:a(?:ke(?:_set|date)|ster_pos_wait)|ulti(?:po(?:lygon|int)|linestring)|i(?:crosecon)?d|onthname|d5)|g(?:e(?:t_(?:format|lock)|ometrycollection)|(?:r(?:oup_conca|eates)|tid_subse)t)|p(?:o(?:(?:siti|lyg)on|w)|eriod_(?:diff|add)|rocedure_analyse|g_sleep)|a(?:s(?:cii(?:str)?|in)|es_(?:de|en)crypt|dd(?:dat|tim)e|tan2?)|f(?:rom_(?:unixtime|base64|days)|i(?:el|n)d_in_set|ound_rows)|e(?:x(?:tract(?:value)?|p(?:ort_set)?)|nc(?:rypt|ode)|lt)|b(?:i(?:t_(?:length|count|x?or|and)|n_to_num)|enchmark)|r(?:a(?:wtohex|dians|nd)|elease_lock|ow_count|trim|pad)|o(?:(?:ld_passwo)?rd|ct(?:et_length)?)|we(?:ek(?:ofyear|day)|ight_string)|json(?:_(?:object|array))?|n(?:ame_const|ot_in|ullif)|var(?:_(?:sam|po)p|iance)|qu(?:arter|ote)|hex(?:toraw)?|yearweek|xmltype)\\W*\\(",
|
|
10639
|
+
"options": {
|
|
10640
|
+
"case_sensitive": false,
|
|
10641
|
+
"min_length": 4
|
|
10642
|
+
}
|
|
10643
|
+
},
|
|
10644
|
+
"operator": "match_regex"
|
|
10645
|
+
}
|
|
10646
|
+
],
|
|
10647
|
+
"transformers": []
|
|
10648
|
+
},
|
|
10649
|
+
{
|
|
10650
|
+
"id": "strc-942-170",
|
|
10651
|
+
"name": "SQL Injection: Benchmark and Sleep Timing Attack",
|
|
10652
|
+
"enabled": false,
|
|
10653
|
+
"tags": {
|
|
10654
|
+
"type": "sql_injection",
|
|
10655
|
+
"crs_id": "942170",
|
|
10656
|
+
"category": "attack_attempt",
|
|
10657
|
+
"module": "waf"
|
|
10658
|
+
},
|
|
10659
|
+
"conditions": [
|
|
10660
|
+
{
|
|
10661
|
+
"parameters": {
|
|
10662
|
+
"inputs": [
|
|
10663
|
+
{
|
|
10664
|
+
"address": "server.request.query"
|
|
10665
|
+
},
|
|
10666
|
+
{
|
|
10667
|
+
"address": "server.request.body"
|
|
10668
|
+
},
|
|
10669
|
+
{
|
|
10670
|
+
"address": "server.request.path_params"
|
|
10671
|
+
},
|
|
10672
|
+
{
|
|
10673
|
+
"address": "graphql.server.all_resolvers"
|
|
10674
|
+
},
|
|
10675
|
+
{
|
|
10676
|
+
"address": "graphql.server.resolver"
|
|
10677
|
+
}
|
|
10678
|
+
],
|
|
10679
|
+
"regex": "(?:select|;)\\s+(?:benchmark|sleep|if)\\s*?\\(\\s*?\\(?\\s*?\\w+",
|
|
10680
|
+
"options": {
|
|
10681
|
+
"min_length": 6
|
|
10682
|
+
}
|
|
10683
|
+
},
|
|
10684
|
+
"operator": "match_regex"
|
|
10685
|
+
}
|
|
10686
|
+
],
|
|
10687
|
+
"transformers": []
|
|
10688
|
+
},
|
|
10689
|
+
{
|
|
10690
|
+
"id": "strc-942-190",
|
|
10691
|
+
"name": "Detects MSSQL code execution and information gathering attempts",
|
|
10692
|
+
"enabled": false,
|
|
10693
|
+
"tags": {
|
|
10694
|
+
"type": "sql_injection",
|
|
10695
|
+
"crs_id": "942190",
|
|
10696
|
+
"category": "attack_attempt",
|
|
10697
|
+
"cwe": "89",
|
|
10698
|
+
"module": "waf"
|
|
10699
|
+
},
|
|
10700
|
+
"conditions": [
|
|
10701
|
+
{
|
|
10702
|
+
"parameters": {
|
|
10703
|
+
"inputs": [
|
|
10704
|
+
{
|
|
10705
|
+
"address": "server.request.query"
|
|
10706
|
+
},
|
|
10707
|
+
{
|
|
10708
|
+
"address": "server.request.body"
|
|
10709
|
+
},
|
|
10710
|
+
{
|
|
10711
|
+
"address": "server.request.path_params"
|
|
10712
|
+
},
|
|
10713
|
+
{
|
|
10714
|
+
"address": "grpc.server.request.message"
|
|
10715
|
+
},
|
|
10716
|
+
{
|
|
10717
|
+
"address": "graphql.server.all_resolvers"
|
|
10718
|
+
},
|
|
10719
|
+
{
|
|
10720
|
+
"address": "graphql.server.resolver"
|
|
10721
|
+
}
|
|
10722
|
+
],
|
|
10723
|
+
"regex": "(?:\\b(?:u(?:nion(?:[\\w(?:\\s]*?select|\\sselect\\s@)|ser\\s*?\\([^\\)]*?)|(?:c(?:onnection_id|urrent_user)|database)\\s*?\\([^\\)]*?|s(?:chema\\s*?\\([^\\)]*?|elect.*?\\w?user\\()|into[\\s+]+(?:dump|out)file\\s*?[\\\"'`]|from\\W+information_schema\\W|exec(?:ute)?\\s+master\\.)|[\\\"'`](?:;?\\s*?(?:union\\b\\s*?(?:(?:distin|sele)ct|all)|having|select)\\b\\s*?[^\\s]|\\s*?!\\s*?[\\\"'`\\w])|\\s*?exec(?:ute)?.*?\\Wxp_cmdshell|\\Wiif\\s*?\\()",
|
|
10724
|
+
"options": {
|
|
10725
|
+
"min_length": 3
|
|
10726
|
+
}
|
|
10727
|
+
},
|
|
10728
|
+
"operator": "match_regex"
|
|
10729
|
+
}
|
|
10730
|
+
],
|
|
10731
|
+
"transformers": []
|
|
10732
|
+
},
|
|
10733
|
+
{
|
|
10734
|
+
"id": "strc-942-230",
|
|
10735
|
+
"name": "Detects conditional SQL injection attempts",
|
|
10736
|
+
"enabled": false,
|
|
10737
|
+
"tags": {
|
|
10738
|
+
"type": "sql_injection",
|
|
10739
|
+
"crs_id": "942230",
|
|
10740
|
+
"category": "attack_attempt",
|
|
10741
|
+
"module": "waf"
|
|
10742
|
+
},
|
|
10743
|
+
"conditions": [
|
|
10744
|
+
{
|
|
10745
|
+
"parameters": {
|
|
10746
|
+
"inputs": [
|
|
10747
|
+
{
|
|
10748
|
+
"address": "server.request.query"
|
|
10749
|
+
},
|
|
10750
|
+
{
|
|
10751
|
+
"address": "server.request.body"
|
|
10752
|
+
},
|
|
10753
|
+
{
|
|
10754
|
+
"address": "server.request.path_params"
|
|
10755
|
+
},
|
|
10756
|
+
{
|
|
10757
|
+
"address": "graphql.server.all_resolvers"
|
|
10758
|
+
},
|
|
10759
|
+
{
|
|
10760
|
+
"address": "graphql.server.resolver"
|
|
10761
|
+
}
|
|
10762
|
+
],
|
|
10763
|
+
"regex": "(?:select.*?having\\s*?[^\\s]+\\s*?[^\\w\\s]|[\\s(?:)]case\\s+when.*?then|\\)\\s*?like\\s*?\\()",
|
|
10764
|
+
"options": {
|
|
10765
|
+
"case_sensitive": false,
|
|
10766
|
+
"min_length": 5
|
|
10767
|
+
}
|
|
10768
|
+
},
|
|
10769
|
+
"operator": "match_regex"
|
|
10770
|
+
}
|
|
10771
|
+
],
|
|
10772
|
+
"transformers": []
|
|
10773
|
+
},
|
|
10774
|
+
{
|
|
10775
|
+
"id": "strc-942-300",
|
|
10776
|
+
"name": "NoSQL Injection: Operator Injection Attack",
|
|
10777
|
+
"enabled": false,
|
|
10778
|
+
"tags": {
|
|
10779
|
+
"type": "nosql_injection",
|
|
10780
|
+
"category": "attack_attempt",
|
|
10781
|
+
"cwe": "943",
|
|
10782
|
+
"module": "waf"
|
|
10783
|
+
},
|
|
10784
|
+
"conditions": [
|
|
10785
|
+
{
|
|
10786
|
+
"parameters": {
|
|
10787
|
+
"inputs": [
|
|
10788
|
+
{
|
|
10789
|
+
"address": "server.request.query"
|
|
10790
|
+
},
|
|
10791
|
+
{
|
|
10792
|
+
"address": "server.request.body"
|
|
10793
|
+
},
|
|
10794
|
+
{
|
|
10795
|
+
"address": "server.request.path_params"
|
|
10796
|
+
},
|
|
10797
|
+
{
|
|
10798
|
+
"address": "graphql.server.all_resolvers"
|
|
10799
|
+
},
|
|
10800
|
+
{
|
|
10801
|
+
"address": "graphql.server.resolver"
|
|
10802
|
+
}
|
|
10803
|
+
],
|
|
10804
|
+
"regex": "^\\$(eq|ne|(l|g)te?|n?in|not|(n|x|)or|and|regex|where|expr|exists)$"
|
|
10805
|
+
},
|
|
10806
|
+
"operator": "match_regex"
|
|
10807
|
+
}
|
|
10808
|
+
],
|
|
10809
|
+
"transformers": [
|
|
10810
|
+
"keys_only"
|
|
10811
|
+
]
|
|
10812
|
+
},
|
|
10813
|
+
{
|
|
10814
|
+
"id": "strc-942-320",
|
|
10815
|
+
"name": "Detects MySQL and PostgreSQL stored procedure/function injections",
|
|
10816
|
+
"enabled": false,
|
|
10817
|
+
"tags": {
|
|
10818
|
+
"type": "sql_injection",
|
|
10819
|
+
"crs_id": "942320",
|
|
10820
|
+
"category": "attack_attempt",
|
|
10821
|
+
"module": "waf"
|
|
10822
|
+
},
|
|
10823
|
+
"conditions": [
|
|
10824
|
+
{
|
|
10825
|
+
"parameters": {
|
|
10826
|
+
"inputs": [
|
|
10827
|
+
{
|
|
10828
|
+
"address": "server.request.query"
|
|
10829
|
+
},
|
|
10830
|
+
{
|
|
10831
|
+
"address": "server.request.body"
|
|
10832
|
+
},
|
|
10833
|
+
{
|
|
10834
|
+
"address": "server.request.path_params"
|
|
10835
|
+
},
|
|
10836
|
+
{
|
|
10837
|
+
"address": "graphql.server.all_resolvers"
|
|
10838
|
+
},
|
|
10839
|
+
{
|
|
10840
|
+
"address": "graphql.server.resolver"
|
|
10841
|
+
}
|
|
10842
|
+
],
|
|
10843
|
+
"regex": "(?:create\\s+(?:procedure|function)\\s*?\\w+\\s*?\\(\\s*?\\)\\s*?-|;\\s*?(?:declare|open)\\s+[\\w-]+|procedure\\s+analyse\\s*?\\(|declare[^\\w]+[@#]\\s*?\\w+|exec\\s*?\\(\\s*?@)",
|
|
10844
|
+
"options": {
|
|
10845
|
+
"min_length": 6
|
|
10846
|
+
}
|
|
10847
|
+
},
|
|
10848
|
+
"operator": "match_regex"
|
|
10849
|
+
}
|
|
10850
|
+
],
|
|
10851
|
+
"transformers": []
|
|
10852
|
+
},
|
|
10853
|
+
{
|
|
10854
|
+
"id": "strc-942-350",
|
|
10855
|
+
"name": "Detects MySQL UDF injection and other data/structure manipulation attempts",
|
|
10856
|
+
"enabled": false,
|
|
10857
|
+
"tags": {
|
|
10858
|
+
"type": "sql_injection",
|
|
10859
|
+
"crs_id": "942350",
|
|
10860
|
+
"category": "attack_attempt",
|
|
10861
|
+
"module": "waf"
|
|
10862
|
+
},
|
|
10863
|
+
"conditions": [
|
|
10864
|
+
{
|
|
10865
|
+
"parameters": {
|
|
10866
|
+
"inputs": [
|
|
10867
|
+
{
|
|
10868
|
+
"address": "server.request.query"
|
|
10869
|
+
},
|
|
10870
|
+
{
|
|
10871
|
+
"address": "server.request.body"
|
|
10872
|
+
},
|
|
10873
|
+
{
|
|
10874
|
+
"address": "server.request.path_params"
|
|
10875
|
+
},
|
|
10876
|
+
{
|
|
10877
|
+
"address": "graphql.server.all_resolvers"
|
|
10878
|
+
},
|
|
10879
|
+
{
|
|
10880
|
+
"address": "graphql.server.resolver"
|
|
10881
|
+
}
|
|
10882
|
+
],
|
|
10883
|
+
"regex": "(?:;\\s*?(?:(?:(?:trunc|cre|upd)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|alter|load)\\b\\s*?[\\[(?:]?\\w{2,}|create\\s+function\\s.+\\sreturns)",
|
|
10884
|
+
"options": {
|
|
10885
|
+
"min_length": 7
|
|
10886
|
+
}
|
|
10887
|
+
},
|
|
10888
|
+
"operator": "match_regex"
|
|
10889
|
+
}
|
|
10890
|
+
],
|
|
10891
|
+
"transformers": []
|
|
10892
|
+
},
|
|
10893
|
+
{
|
|
10894
|
+
"id": "strc-944-240",
|
|
10895
|
+
"name": "Remote Command Execution: Java serialization (CVE-2015-4852)",
|
|
10896
|
+
"enabled": false,
|
|
10897
|
+
"tags": {
|
|
10898
|
+
"type": "java_code_injection",
|
|
10899
|
+
"crs_id": "944240",
|
|
10900
|
+
"category": "attack_attempt",
|
|
10901
|
+
"module": "waf"
|
|
10902
|
+
},
|
|
10903
|
+
"conditions": [
|
|
10904
|
+
{
|
|
10905
|
+
"parameters": {
|
|
10906
|
+
"inputs": [
|
|
10907
|
+
{
|
|
10908
|
+
"address": "server.request.query"
|
|
10909
|
+
},
|
|
10910
|
+
{
|
|
10911
|
+
"address": "server.request.body"
|
|
10912
|
+
},
|
|
10913
|
+
{
|
|
10914
|
+
"address": "server.request.path_params"
|
|
10915
|
+
},
|
|
10916
|
+
{
|
|
10917
|
+
"address": "graphql.server.all_resolvers"
|
|
10918
|
+
},
|
|
10919
|
+
{
|
|
10920
|
+
"address": "graphql.server.resolver"
|
|
10921
|
+
},
|
|
10922
|
+
{
|
|
10923
|
+
"address": "server.request.headers.no_cookies"
|
|
10924
|
+
}
|
|
10925
|
+
],
|
|
10926
|
+
"regex": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)",
|
|
10927
|
+
"options": {
|
|
10928
|
+
"case_sensitive": true,
|
|
10929
|
+
"min_length": 10
|
|
10930
|
+
}
|
|
10931
|
+
},
|
|
10932
|
+
"operator": "match_regex"
|
|
10933
|
+
}
|
|
10934
|
+
],
|
|
10935
|
+
"transformers": [
|
|
10936
|
+
"lowercase"
|
|
10937
|
+
]
|
|
10938
|
+
}
|
|
10939
|
+
],
|
|
10940
|
+
"rules_compat": [
|
|
10941
|
+
{
|
|
10942
|
+
"id": "api-001-100",
|
|
10943
|
+
"name": "JWT: No expiry is present",
|
|
10944
|
+
"tags": {
|
|
10945
|
+
"type": "jwt",
|
|
10946
|
+
"category": "api_security",
|
|
10947
|
+
"confidence": "0",
|
|
10948
|
+
"module": "business-logic"
|
|
10949
|
+
},
|
|
8933
10950
|
"min_version": "1.25.0",
|
|
8934
10951
|
"conditions": [
|
|
8935
10952
|
{
|
|
@@ -9318,6 +11335,414 @@
|
|
|
9318
11335
|
}
|
|
9319
11336
|
}
|
|
9320
11337
|
},
|
|
11338
|
+
{
|
|
11339
|
+
"id": "api-100-001",
|
|
11340
|
+
"name": "Stripe instrumentation: Payment creation",
|
|
11341
|
+
"tags": {
|
|
11342
|
+
"type": "ecommerce.payment.creation",
|
|
11343
|
+
"category": "business_logic",
|
|
11344
|
+
"module": "business-logic"
|
|
11345
|
+
},
|
|
11346
|
+
"min_version": "1.25.0",
|
|
11347
|
+
"conditions": [
|
|
11348
|
+
{
|
|
11349
|
+
"operator": "equals",
|
|
11350
|
+
"parameters": {
|
|
11351
|
+
"inputs": [
|
|
11352
|
+
{
|
|
11353
|
+
"address": "server.business_logic.payment.creation",
|
|
11354
|
+
"key_path": [
|
|
11355
|
+
"integration"
|
|
11356
|
+
]
|
|
11357
|
+
}
|
|
11358
|
+
],
|
|
11359
|
+
"type": "string",
|
|
11360
|
+
"value": "stripe"
|
|
11361
|
+
}
|
|
11362
|
+
}
|
|
11363
|
+
],
|
|
11364
|
+
"transformers": [],
|
|
11365
|
+
"output": {
|
|
11366
|
+
"event": false,
|
|
11367
|
+
"keep": true,
|
|
11368
|
+
"attributes": {
|
|
11369
|
+
"appsec.events.payments.track": {
|
|
11370
|
+
"value": true
|
|
11371
|
+
},
|
|
11372
|
+
"appsec.events.payments.rule_id": {
|
|
11373
|
+
"value": "api-100-001"
|
|
11374
|
+
},
|
|
11375
|
+
"appsec.events.payments.integration": {
|
|
11376
|
+
"address": "server.business_logic.payment.creation",
|
|
11377
|
+
"key_path": [
|
|
11378
|
+
"integration"
|
|
11379
|
+
]
|
|
11380
|
+
},
|
|
11381
|
+
"appsec.events.payments.creation.id": {
|
|
11382
|
+
"address": "server.business_logic.payment.creation",
|
|
11383
|
+
"key_path": [
|
|
11384
|
+
"id"
|
|
11385
|
+
]
|
|
11386
|
+
},
|
|
11387
|
+
"appsec.events.payments.creation.amount_total": {
|
|
11388
|
+
"address": "server.business_logic.payment.creation",
|
|
11389
|
+
"key_path": [
|
|
11390
|
+
"amount_total"
|
|
11391
|
+
]
|
|
11392
|
+
},
|
|
11393
|
+
"appsec.events.payments.creation.client_reference_id": {
|
|
11394
|
+
"address": "server.business_logic.payment.creation",
|
|
11395
|
+
"key_path": [
|
|
11396
|
+
"client_reference_id"
|
|
11397
|
+
]
|
|
11398
|
+
},
|
|
11399
|
+
"appsec.events.payments.creation.currency": {
|
|
11400
|
+
"address": "server.business_logic.payment.creation",
|
|
11401
|
+
"key_path": [
|
|
11402
|
+
"currency"
|
|
11403
|
+
]
|
|
11404
|
+
},
|
|
11405
|
+
"appsec.events.payments.creation.discounts.coupon": {
|
|
11406
|
+
"address": "server.business_logic.payment.creation",
|
|
11407
|
+
"key_path": [
|
|
11408
|
+
"discounts.coupon"
|
|
11409
|
+
]
|
|
11410
|
+
},
|
|
11411
|
+
"appsec.events.payments.creation.discounts.promotion_code": {
|
|
11412
|
+
"address": "server.business_logic.payment.creation",
|
|
11413
|
+
"key_path": [
|
|
11414
|
+
"discounts.promotion_code"
|
|
11415
|
+
]
|
|
11416
|
+
},
|
|
11417
|
+
"appsec.events.payments.creation.livemode": {
|
|
11418
|
+
"address": "server.business_logic.payment.creation",
|
|
11419
|
+
"key_path": [
|
|
11420
|
+
"livemode"
|
|
11421
|
+
]
|
|
11422
|
+
},
|
|
11423
|
+
"appsec.events.payments.creation.total_details.amount_discount": {
|
|
11424
|
+
"address": "server.business_logic.payment.creation",
|
|
11425
|
+
"key_path": [
|
|
11426
|
+
"total_details.amount_discount"
|
|
11427
|
+
]
|
|
11428
|
+
},
|
|
11429
|
+
"appsec.events.payments.creation.total_details.amount_shipping": {
|
|
11430
|
+
"address": "server.business_logic.payment.creation",
|
|
11431
|
+
"key_path": [
|
|
11432
|
+
"total_details.amount_shipping"
|
|
11433
|
+
]
|
|
11434
|
+
},
|
|
11435
|
+
"appsec.events.payments.creation.amount": {
|
|
11436
|
+
"address": "server.business_logic.payment.creation",
|
|
11437
|
+
"key_path": [
|
|
11438
|
+
"amount"
|
|
11439
|
+
]
|
|
11440
|
+
},
|
|
11441
|
+
"appsec.events.payments.creation.payment_method": {
|
|
11442
|
+
"address": "server.business_logic.payment.creation",
|
|
11443
|
+
"key_path": [
|
|
11444
|
+
"payment_method"
|
|
11445
|
+
]
|
|
11446
|
+
}
|
|
11447
|
+
}
|
|
11448
|
+
}
|
|
11449
|
+
},
|
|
11450
|
+
{
|
|
11451
|
+
"id": "api-100-002",
|
|
11452
|
+
"name": "Stripe instrumentation: Payment success",
|
|
11453
|
+
"tags": {
|
|
11454
|
+
"type": "ecommerce.payment.success",
|
|
11455
|
+
"category": "business_logic",
|
|
11456
|
+
"module": "business-logic"
|
|
11457
|
+
},
|
|
11458
|
+
"min_version": "1.25.0",
|
|
11459
|
+
"conditions": [
|
|
11460
|
+
{
|
|
11461
|
+
"operator": "equals",
|
|
11462
|
+
"parameters": {
|
|
11463
|
+
"inputs": [
|
|
11464
|
+
{
|
|
11465
|
+
"address": "server.business_logic.payment.success",
|
|
11466
|
+
"key_path": [
|
|
11467
|
+
"integration"
|
|
11468
|
+
]
|
|
11469
|
+
}
|
|
11470
|
+
],
|
|
11471
|
+
"type": "string",
|
|
11472
|
+
"value": "stripe"
|
|
11473
|
+
}
|
|
11474
|
+
}
|
|
11475
|
+
],
|
|
11476
|
+
"transformers": [],
|
|
11477
|
+
"output": {
|
|
11478
|
+
"event": false,
|
|
11479
|
+
"keep": true,
|
|
11480
|
+
"attributes": {
|
|
11481
|
+
"appsec.events.payments.track": {
|
|
11482
|
+
"value": true
|
|
11483
|
+
},
|
|
11484
|
+
"appsec.events.payments.rule_id": {
|
|
11485
|
+
"value": "api-100-002"
|
|
11486
|
+
},
|
|
11487
|
+
"appsec.events.payments.integration": {
|
|
11488
|
+
"address": "server.business_logic.payment.success",
|
|
11489
|
+
"key_path": [
|
|
11490
|
+
"integration"
|
|
11491
|
+
]
|
|
11492
|
+
},
|
|
11493
|
+
"appsec.events.payments.success.id": {
|
|
11494
|
+
"address": "server.business_logic.payment.success",
|
|
11495
|
+
"key_path": [
|
|
11496
|
+
"id"
|
|
11497
|
+
]
|
|
11498
|
+
},
|
|
11499
|
+
"appsec.events.payments.success.amount": {
|
|
11500
|
+
"address": "server.business_logic.payment.success",
|
|
11501
|
+
"key_path": [
|
|
11502
|
+
"amount"
|
|
11503
|
+
]
|
|
11504
|
+
},
|
|
11505
|
+
"appsec.events.payments.success.currency": {
|
|
11506
|
+
"address": "server.business_logic.payment.success",
|
|
11507
|
+
"key_path": [
|
|
11508
|
+
"currency"
|
|
11509
|
+
]
|
|
11510
|
+
},
|
|
11511
|
+
"appsec.events.payments.success.livemode": {
|
|
11512
|
+
"address": "server.business_logic.payment.success",
|
|
11513
|
+
"key_path": [
|
|
11514
|
+
"livemode"
|
|
11515
|
+
]
|
|
11516
|
+
},
|
|
11517
|
+
"appsec.events.payments.success.payment_method": {
|
|
11518
|
+
"address": "server.business_logic.payment.success",
|
|
11519
|
+
"key_path": [
|
|
11520
|
+
"payment_method"
|
|
11521
|
+
]
|
|
11522
|
+
}
|
|
11523
|
+
}
|
|
11524
|
+
}
|
|
11525
|
+
},
|
|
11526
|
+
{
|
|
11527
|
+
"id": "api-100-003",
|
|
11528
|
+
"name": "Stripe instrumentation: Payment failure",
|
|
11529
|
+
"tags": {
|
|
11530
|
+
"type": "ecommerce.payment.failure",
|
|
11531
|
+
"category": "business_logic",
|
|
11532
|
+
"module": "business-logic"
|
|
11533
|
+
},
|
|
11534
|
+
"min_version": "1.25.0",
|
|
11535
|
+
"conditions": [
|
|
11536
|
+
{
|
|
11537
|
+
"operator": "equals",
|
|
11538
|
+
"parameters": {
|
|
11539
|
+
"inputs": [
|
|
11540
|
+
{
|
|
11541
|
+
"address": "server.business_logic.payment.failure",
|
|
11542
|
+
"key_path": [
|
|
11543
|
+
"integration"
|
|
11544
|
+
]
|
|
11545
|
+
}
|
|
11546
|
+
],
|
|
11547
|
+
"type": "string",
|
|
11548
|
+
"value": "stripe"
|
|
11549
|
+
}
|
|
11550
|
+
}
|
|
11551
|
+
],
|
|
11552
|
+
"transformers": [],
|
|
11553
|
+
"output": {
|
|
11554
|
+
"event": false,
|
|
11555
|
+
"keep": true,
|
|
11556
|
+
"attributes": {
|
|
11557
|
+
"appsec.events.payments.track": {
|
|
11558
|
+
"value": true
|
|
11559
|
+
},
|
|
11560
|
+
"appsec.events.payments.rule_id": {
|
|
11561
|
+
"value": "api-100-003"
|
|
11562
|
+
},
|
|
11563
|
+
"appsec.events.payments.integration": {
|
|
11564
|
+
"address": "server.business_logic.payment.failure",
|
|
11565
|
+
"key_path": [
|
|
11566
|
+
"integration"
|
|
11567
|
+
]
|
|
11568
|
+
},
|
|
11569
|
+
"appsec.events.payments.failure.id": {
|
|
11570
|
+
"address": "server.business_logic.payment.failure",
|
|
11571
|
+
"key_path": [
|
|
11572
|
+
"id"
|
|
11573
|
+
]
|
|
11574
|
+
},
|
|
11575
|
+
"appsec.events.payments.failure.amount": {
|
|
11576
|
+
"address": "server.business_logic.payment.failure",
|
|
11577
|
+
"key_path": [
|
|
11578
|
+
"amount"
|
|
11579
|
+
]
|
|
11580
|
+
},
|
|
11581
|
+
"appsec.events.payments.failure.currency": {
|
|
11582
|
+
"address": "server.business_logic.payment.failure",
|
|
11583
|
+
"key_path": [
|
|
11584
|
+
"currency"
|
|
11585
|
+
]
|
|
11586
|
+
},
|
|
11587
|
+
"appsec.events.payments.failure.last_payment_error.code": {
|
|
11588
|
+
"address": "server.business_logic.payment.failure",
|
|
11589
|
+
"key_path": [
|
|
11590
|
+
"last_payment_error.code"
|
|
11591
|
+
]
|
|
11592
|
+
},
|
|
11593
|
+
"appsec.events.payments.failure.last_payment_error.decline_code": {
|
|
11594
|
+
"address": "server.business_logic.payment.failure",
|
|
11595
|
+
"key_path": [
|
|
11596
|
+
"last_payment_error.decline_code"
|
|
11597
|
+
]
|
|
11598
|
+
},
|
|
11599
|
+
"appsec.events.payments.failure.last_payment_error.payment_method.id": {
|
|
11600
|
+
"address": "server.business_logic.payment.failure",
|
|
11601
|
+
"key_path": [
|
|
11602
|
+
"last_payment_error.payment_method.id"
|
|
11603
|
+
]
|
|
11604
|
+
},
|
|
11605
|
+
"appsec.events.payments.failure.last_payment_error.payment_method.type": {
|
|
11606
|
+
"address": "server.business_logic.payment.failure",
|
|
11607
|
+
"key_path": [
|
|
11608
|
+
"last_payment_error.payment_method.type"
|
|
11609
|
+
]
|
|
11610
|
+
},
|
|
11611
|
+
"appsec.events.payments.failure.livemode": {
|
|
11612
|
+
"address": "server.business_logic.payment.failure",
|
|
11613
|
+
"key_path": [
|
|
11614
|
+
"livemode"
|
|
11615
|
+
]
|
|
11616
|
+
}
|
|
11617
|
+
}
|
|
11618
|
+
}
|
|
11619
|
+
},
|
|
11620
|
+
{
|
|
11621
|
+
"id": "api-100-004",
|
|
11622
|
+
"name": "Stripe instrumentation: Payment cancellation",
|
|
11623
|
+
"tags": {
|
|
11624
|
+
"type": "ecommerce.payment.cancellation",
|
|
11625
|
+
"category": "business_logic",
|
|
11626
|
+
"module": "business-logic"
|
|
11627
|
+
},
|
|
11628
|
+
"min_version": "1.25.0",
|
|
11629
|
+
"conditions": [
|
|
11630
|
+
{
|
|
11631
|
+
"operator": "equals",
|
|
11632
|
+
"parameters": {
|
|
11633
|
+
"inputs": [
|
|
11634
|
+
{
|
|
11635
|
+
"address": "server.business_logic.payment.cancellation",
|
|
11636
|
+
"key_path": [
|
|
11637
|
+
"integration"
|
|
11638
|
+
]
|
|
11639
|
+
}
|
|
11640
|
+
],
|
|
11641
|
+
"type": "string",
|
|
11642
|
+
"value": "stripe"
|
|
11643
|
+
}
|
|
11644
|
+
}
|
|
11645
|
+
],
|
|
11646
|
+
"transformers": [],
|
|
11647
|
+
"output": {
|
|
11648
|
+
"event": false,
|
|
11649
|
+
"keep": true,
|
|
11650
|
+
"attributes": {
|
|
11651
|
+
"appsec.events.payments.track": {
|
|
11652
|
+
"value": true
|
|
11653
|
+
},
|
|
11654
|
+
"appsec.events.payments.rule_id": {
|
|
11655
|
+
"value": "api-100-004"
|
|
11656
|
+
},
|
|
11657
|
+
"appsec.events.payments.integration": {
|
|
11658
|
+
"address": "server.business_logic.payment.cancellation",
|
|
11659
|
+
"key_path": [
|
|
11660
|
+
"integration"
|
|
11661
|
+
]
|
|
11662
|
+
},
|
|
11663
|
+
"appsec.events.payments.cancellation.id": {
|
|
11664
|
+
"address": "server.business_logic.payment.cancellation",
|
|
11665
|
+
"key_path": [
|
|
11666
|
+
"id"
|
|
11667
|
+
]
|
|
11668
|
+
},
|
|
11669
|
+
"appsec.events.payments.cancellation.amount": {
|
|
11670
|
+
"address": "server.business_logic.payment.cancellation",
|
|
11671
|
+
"key_path": [
|
|
11672
|
+
"amount"
|
|
11673
|
+
]
|
|
11674
|
+
},
|
|
11675
|
+
"appsec.events.payments.cancellation.cancellation_reason": {
|
|
11676
|
+
"address": "server.business_logic.payment.cancellation",
|
|
11677
|
+
"key_path": [
|
|
11678
|
+
"cancellation_reason"
|
|
11679
|
+
]
|
|
11680
|
+
},
|
|
11681
|
+
"appsec.events.payments.cancellation.currency": {
|
|
11682
|
+
"address": "server.business_logic.payment.cancellation",
|
|
11683
|
+
"key_path": [
|
|
11684
|
+
"currency"
|
|
11685
|
+
]
|
|
11686
|
+
},
|
|
11687
|
+
"appsec.events.payments.cancellation.livemode": {
|
|
11688
|
+
"address": "server.business_logic.payment.cancellation",
|
|
11689
|
+
"key_path": [
|
|
11690
|
+
"livemode"
|
|
11691
|
+
]
|
|
11692
|
+
}
|
|
11693
|
+
}
|
|
11694
|
+
}
|
|
11695
|
+
},
|
|
11696
|
+
{
|
|
11697
|
+
"id": "llm-001-000",
|
|
11698
|
+
"name": "LLM call",
|
|
11699
|
+
"tags": {
|
|
11700
|
+
"type": "llm.event",
|
|
11701
|
+
"category": "business_logic",
|
|
11702
|
+
"module": "business_logic"
|
|
11703
|
+
},
|
|
11704
|
+
"min_version": "1.25.0",
|
|
11705
|
+
"conditions": [
|
|
11706
|
+
{
|
|
11707
|
+
"parameters": {
|
|
11708
|
+
"inputs": [
|
|
11709
|
+
{
|
|
11710
|
+
"address": "server.business_logic.llm.event",
|
|
11711
|
+
"key_path": [
|
|
11712
|
+
"provider"
|
|
11713
|
+
]
|
|
11714
|
+
}
|
|
11715
|
+
]
|
|
11716
|
+
},
|
|
11717
|
+
"operator": "exists"
|
|
11718
|
+
}
|
|
11719
|
+
],
|
|
11720
|
+
"transformers": [],
|
|
11721
|
+
"output": {
|
|
11722
|
+
"event": false,
|
|
11723
|
+
"keep": true,
|
|
11724
|
+
"attributes": {
|
|
11725
|
+
"appsec.events.llm.call.track": {
|
|
11726
|
+
"value": true
|
|
11727
|
+
},
|
|
11728
|
+
"appsec.events.llm.call.rule_id": {
|
|
11729
|
+
"value": "llm-001-000"
|
|
11730
|
+
},
|
|
11731
|
+
"appsec.events.llm.call.provider": {
|
|
11732
|
+
"address": "server.business_logic.llm.event",
|
|
11733
|
+
"key_path": [
|
|
11734
|
+
"provider"
|
|
11735
|
+
]
|
|
11736
|
+
},
|
|
11737
|
+
"appsec.events.llm.call.model": {
|
|
11738
|
+
"address": "server.business_logic.llm.event",
|
|
11739
|
+
"key_path": [
|
|
11740
|
+
"model"
|
|
11741
|
+
]
|
|
11742
|
+
}
|
|
11743
|
+
}
|
|
11744
|
+
}
|
|
11745
|
+
},
|
|
9321
11746
|
{
|
|
9322
11747
|
"id": "ua0-600-551",
|
|
9323
11748
|
"name": "Datadog test scanner - scalar trace-tagging version: user-agent",
|