cbcvebase.
CVE-2021-21801
published 2021-07-16

CVE-2021-21801: This vulnerability is present in device_graph_page.php script, which is a part of the Advantech R-SeeNet web applications. A specially crafted URL by an…

PriorityP180medium6.1CVSS 3.1
AVNACLPRNUIRSCCLILAN
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
63.41%
99.1th percentile
This vulnerability is present in device_graph_page.php script, which is a part of the Advantech R-SeeNet web applications. A specially crafted URL by an attacker and visited by a victim can lead to arbitrary JavaScript code execution.

Affected

1 ranges
VendorProductVersion rangeFixed in
advantechr-seenet

Detection & IOCsextracted from sources · hover to see the quote

path/php/device_graph_page.php
url{{BaseURL}}/php/device_graph_page.php?graph=%22zlo%20onerror=alert(1)%20%22
  • Detect CVE-2021-21801 XSS probe: HTTP GET request to /php/device_graph_page.php with the 'graph' parameter containing the canary payload '%22zlo%20onerror=alert(1)%20%22'; response body should contain both '"zlo onerror=alert(1) "' and 'Device Status Graph' with a 200 status and text/html content-type.
  • The vulnerable parameter for CVE-2021-21801 is 'graph' in device_graph_page.php. Monitor HTTP requests to this script for unsanitized input reflected in the response body.
  • Use Shodan query 'http.html:"r-seenet"' or FOFA query 'body="r-seenet"' to identify exposed Advantech R-SeeNet instances potentially vulnerable to CVE-2021-21801.
  • ·CVE-2021-21801 affects Advantech R-SeeNet version 2.4.12 specifically. Verify the target version before concluding exploitability.
  • ·Exploitation requires user interaction (UI:R): a victim must visit the specially crafted URL for the XSS payload to execute. This is a reflected XSS, not stored.

CVSS provenance

nvdv3.16.1MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
nvdv3.09.6CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
vulncheck6.1MEDIUM
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.