CVE-2021-41419
published 2022-07-18CVE-2021-41419: QVIS NVR DVR before 2021-12-13 is vulnerable to Remote Code Execution via Java deserialization.
PriorityP184critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
6.81%
93.2th percentile
QVIS NVR DVR before 2021-12-13 is vulnerable to Remote Code Execution via Java deserialization.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| qvis | dvr_firmware | < 2021-12-13 | 2021-12-13 |
| qvis | nvr_firmware | < 2021-12-13 | 2021-12-13 |
Detection & IOCsextracted from sources · hover to see the quote
- →Exploit targets POST to /qvisdvr/index.faces with a serialized Java payload in the javax.faces.ViewState parameter using the commons-collections3.1 gadget chain (base64-encoded). ↗
- →Successful exploitation results in an HTTP 500 response from the server; monitor for 500 status codes on POST requests to /qvisdvr/index.faces. ↗
- →Attacker performs an initial GET to /qvisdvr/ to harvest a JSESSIONID cookie, then replays it in the exploit POST — look for this two-step request pattern from the same source IP. ↗
- →Content-Type is application/x-www-form-urlencoded on the exploit POST; anomalous base64-encoded javax.faces.ViewState values in form bodies targeting QVIS DVR endpoints should be treated as suspicious. ↗
- →Out-of-band callback (OAST/interactsh) is used to confirm code execution; monitor for unexpected outbound HTTP/DNS from QVIS NVR/DVR devices. ↗
- ·The exploit uses the commons-collections3.1 Java deserialization gadget chain; the target device must have this library on its classpath for the payload to execute. ↗
- ·Vulnerability affects QVIS NVR DVR firmware versions before 2021-12-13 only; patched devices are not affected. ↗
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vulncheck9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-4m7c-hhxj-qr83: QVIS NVR DVR before 2021-12-13 is vulnerable to Remote Code Execution via Java deserialization
ghsa_unreviewed·2022-07-19
CVE-2021-41419 [CRITICAL] CWE-502 GHSA-4m7c-hhxj-qr83: QVIS NVR DVR before 2021-12-13 is vulnerable to Remote Code Execution via Java deserialization
QVIS NVR DVR before 2021-12-13 is vulnerable to Remote Code Execution via Java deserialization.
VulnCheck
qvis dvr Deserialization of Untrusted Data
vulncheck·2021·CVSS 9.8
CVE-2021-41419 [CRITICAL] qvis dvr Deserialization of Untrusted Data
qvis dvr Deserialization of Untrusted Data
QVIS NVR DVR before 2021-12-13 is vulnerable to Remote Code Execution via Java deserialization.
Affected: qvis dvr
Required Action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Exploitation References: https://tracker.crowdsec.net/cves/CVE-2021-41419
No detection rules found.
Nuclei
QVIS NVR/DVR - Remote Code Execution
nuclei·CVSS 9.8
CVE-2021-41419 [CRITICAL] QVIS NVR/DVR - Remote Code Execution
QVIS NVR/DVR - Remote Code Execution
QVIS NVR DVR before 2021-12-13 is vulnerable to Remote Code Execution via Java deserialization.
Template:
id: CVE-2021-41419
info:
name: QVIS NVR/DVR - Remote Code Execution
author: me9187
severity: critical
description: |
QVIS NVR DVR before 2021-12-13 is vulnerable to Remote Code Execution via Java deserialization.
impact: |
Attackers can execute arbitrary code remotely, potentially leading to full system compromise.
remediation: |
Update to the latest version or apply security patches provided by the vendor.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2021-41419
- https://gist.github.com/Meeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee/712ac36c8a08e2698e875169442a23a4
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-scor
No writeups or analysis indexed.
https://gist.github.com/Meeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee/712ac36c8a08e2698e875169442a23a4https://github.com/projectdiscovery/nuclei-templates/blob/master/iot/qvisdvr-deserialization-rce.yamlhttps://twitter.com/Me9187/status/1414904314368348163https://gist.github.com/Meeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee/712ac36c8a08e2698e875169442a23a4https://github.com/projectdiscovery/nuclei-templates/blob/master/iot/qvisdvr-deserialization-rce.yamlhttps://twitter.com/Me9187/status/1414904314368348163
2022-07-18
Published
Exploited in the wild