Debian Codegraph @

hub1/scenarios/baudneo/zoneminder_cve-2022-39291.yaml

raw symbols SCIP
1 type: leaky
2 format: 2.0
3 #debug: true
4 # __csrf_magic=key%3A85866fbcb6a1d7325544a55aa63fb534677f34ca%2C1665102411&request=log&task=create&level=ERR&message=Trenches%20of%20IT%20PoC&browser%5Bname%5D=Chrome&browser%5Bversion%5D=101.0.4951.41&browser%5Bplatform%5D=Windows&file=line=800&view=request HTTP/1.1
5 name: baudneo/zoneminder_cve-2022-39291
6 description: "Detect cve-2022-39291 exploitation attempts"
7 filter: |
8 evt.Meta.log_type in ["http_access-log", "http_error-log"]
9 and
10 (
11 ( Upper(evt.Meta.http_verb) == "POST" and
12 Upper(evt.Meta.http_path) matches Upper('^(?P<path>/.*index.php)?.*(?P<view>view=request|request=log|task=create)+.*(?P<request_query>view=request|request=log|task=create)+.*(?P<task_query>view=request|request=log|task=create)+.*')
13
14 )
15 or
16 Upper(evt.Parsed.rawrequest) matches Upper('^(?P<verb>POST) (?P<path>/.*index.php)?.*(?P<view>view=request|request=log|task=create)+.*(?P<request_query>view=request|request=log|task=create)+.*(?P<task_query>view=request|request=log|task=create)+.*')
17 )
18 groupby: "evt.Meta.source_ip"
19 capacity: 10
20 leakspeed: "10s"
21 blackhole: 2m
22 labels:
23 service: zoneminder
24 type: exploit
25 remediation: true