Debian Codegraph @

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

raw symbols SCIP
1 type: trigger
2 format: 2.0
3 #debug: true
4 # file=http%3A%2F%2F10.0.10.107%2Fzm%2F</td></tr><script src='/zm/?view=options%26tab=users%26action=delete%26markUids%5B%5D=6%26deleteBtn=Delete'</script>&line=70
5 name: baudneo/zoneminder_cve-2022-39285
6 description: "Detect cve-2022-39285 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<file_query>file=.*&lt;/td&gt;&lt;/tr(?P<payload>.*)&gt;)')
13 )
14 or
15 Upper(evt.Parsed.rawrequest) matches Upper('^(?P<verb>POST) (?P<path>/.*index.php)?.*(?P<file_query>file=.*&lt;/td&gt;&lt;/tr(?P<payload>.*)&gt;)')
16 )
17 groupby: "evt.Meta.source_ip"
18 blackhole: 2m
19 labels:
20 type: exploit
21 remediation: true